Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- ::Unpin all items from taskbar
- DEL /F /S /Q /A "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\Taskbar\*"
- REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband /f
- :: Use SYSPIN located in C:\Windows\System32 for Taskbar pinning
- :: Pin = c:5386
- :: Unpin = c:5387
- IF EXIST "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" (
- syspin "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" c:5386
- ) ELSE (
- syspin "C:\Program Files\Mozilla Firefox\firefox.exe" c:5386
- )
- syspin "C:\Program Files (x86)\Internet Explorer\iexplore.exe" c:5386
- syspin "C:\Windows\explorer.exe" c:5386
- ::Stop & restart Explorer
- taskkill /f /im explorer.exe
- start explorer.exe
Add Comment
Please, Sign In to add comment