Continuing the BAT scripts tuts, in this post I will show you quick ways to reset the Windows 7 taskbar to its default state – removing all pinned items, toolbars, and clear all programs’ Jump lists. You can manually delete single items from each section by selecting them so I won’t go into that here. To bulk delete and reset, continue reading.
Remove Pinned Taskbar Items
When you pin an application or shortcut to the Windows 7 taskbar, it is saved in C:\Users\{user-name}\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
and along with it a registry entry is made at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband
.

This batch script will delete entries from both locations and remove all pinned icons in a jiffy:
DEL /F /S /Q /A "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\*" REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband /F taskkill /f /im explorer.exe start explorer.exe
Copy-paste the code to Notepad and save it as .bat script, or download the ready-made script below:
Download: Reset Windows 7 Pinned Apps
Remove All Programs’ Jump List Items

Script to reset all programs’ Jump List is similar to the above one. We just have to change path to the jump list locations.
del /F /Q %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations\* del /F /Q %APPDATA%\Microsoft\Windows\Recent\CustomDestinations\* taskkill /f /im explorer.exe start explorer.exe
Download: Reset Windows 7 Programs Jump Lists
Remove All Windows 7 Taskbar Toolbars
Taskbar toolbar includes folder toolbars and program toolbars like the one added by battery monitors, media players and as such. Most users may not have more than 2-3 taskbar toolbars, but still if you want a one click reset option, use the following script.
REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop /F taskkill /f /im explorer.exe start explorer.exe
Download: Reset Windows 7 Taskbar Toolbars
And finally, here’s the AIO taskbar reset script to reset the whole Windows 7 taskbar.
Download: Reset Windows 7 Taskbar