Microsoft has removed drag and drop support to pin icons on the Windows 11 Taskbar, but you can still pin or unpins icons to the Taskbar. However, Microsoft has not provided any option to unpin all taskbar icons at once in Windows 11 or Windows 10. That means, to remove all the pinned icons from the Taskbar, you’ll need to take the help of a third-party tool. But, without a third-party tool, it is possible to remove all pinned items from the Taskbar at once using a simple .bat file.
In this gearupwindows article, we will guide you on unpinning all Taskbar items from Windows 11 or 10 PC using a batch file.
How to Unpin all Taskbar icons at once in Windows 11 or 10?
To unpin all Taskbar icons at once in Windows 11/10, use the following steps:-
Step 1. Open the Notepad application on your computer.
To do that, launch the Run dialog box by hitting
In the Run box, type
Step 2. On the Notepad application, copy and paste the following texts:-
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
Step 3. Once done, click on the
Step 4. In the File Explorer window that opens, select a path where you want to save the file, enter a name with .bat or .cmd file extension, select
Step 5. Now, double-click on the batch file to run it.
You will see, Taskbar icons are reset automatically to default. Any apps or folders pinned manually by users will be removed from the taskbar. You can pin apps or folders to the Taskbar again if you need.
The command mentioned above is handy if you want to clean the Taskbar on many PCs.