A batch file to Unpin all Taskbar items in one go. Works on Windows 11 and Windows 10.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|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|