Home > Common Problem > How to unpin all taskbar icons at once on Windows using a batch script

How to unpin all taskbar icons at once on Windows using a batch script

PHPz
Release: 2023-04-14 12:55:09
forward
2489 people have browsed it

If you are one of those people who clicks the Pin to taskbar option for almost every app you use, then you are now living with an overly cluttered taskbar that is too difficult to manage. Well, you are definitely looking for a way to organize your taskbar in the least time possible and in the most efficient way. So, is there any way that you can click somewhere and the click will magically clear your taskbar for you? Well, we're here to talk about that click!

In this article, we will explain how to organize your taskbar easily with the help of a simple batch script. Read on to learn how to master this simple trick.

Note: Please note that even if you follow this method, only user-pinned icons will be removed from the taskbar, and system-pinned icons such as Windows and Search) will still remain on the taskbar. Click here if you also want to remove the Search icon from the taskbar.

How to unpin all taskbar icons at once on Windows using a batch script

This method involves changing your registry settings. Incorrect registry settings can cause serious system problems. Therefore, it is recommended that you back up your registry settings before proceeding.

Unpin all taskbar icons

Step 1: Click the Search icon on the taskbar.

How to unpin all taskbar icons at once on Windows using a batch script

Step 2: In the search bar, enter notepad, then select from Best Match Section ClickNotepad Application.

How to unpin all taskbar icons at once on Windows using a batch script

Step 3: When Notepad opens, copy and paste the following code snippet to the top.

DEL /F /S /Q /A "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\*"REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband /Ftaskkill /F /IM explorer.exe & 启动资源管理器
Copy after login

How to unpin all taskbar icons at once on Windows using a batch script

Step 4: After copying the code, click on the File tab at the top and then click on Save as" option.

How to unpin all taskbar icons at once on Windows using a batch script

Step 5: In the "Save as" window, click the left window "Desktop" in the grid. Give your file

any name.

But make sure to specify the extension as .bat. Select

Save type

as All files (*). After completion, click the

Save

button to save the file.

How to unpin all taskbar icons at once on Windows using a batch script

Step 6

: Now go to the Desktop and double-click on the batch you created Handle script to execute it.

After executing the batch script, all user-pinned icons on the taskbar will be cleared. Only system icons and currently open application icons are retained. How to unpin all taskbar icons at once on Windows using a batch script

The above is the detailed content of How to unpin all taskbar icons at once on Windows using a batch script. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template