Accidentally clicking or don't like the 'Show Desktop' button on the taskbar? Follow these simple steps to remove it from the taskbar.
The taskbar in Windows has a little button to the rightmost side of the screen. This button is called the Show Desktop button. As the name suggests, when you click on it, all the apps are minimized and you will be taken to the desktop. When on desktop, click on it again and the apps will be maximized and restored to their original order.
Generally, the show desktop button is pretty handy. In fact, I use it on a daily basis whenever I want to go to the desktop. Mainly because the button is so very easy to click when needed. That being said, if you don't the button or if you are constantly clicking it accidentally, you can completely remove it.
If that the case, follow the steps detailed below to remove or hide show desktop button on the taskbar.
Steps to Remove Show Desktop Button on Taskbar
Windows has no built-in option to remove the show desktop button on taskbar. However, we can still do it with third-party tools. I will show two methods, follow the one you like.
1] AutoHotKey Script to Remove Show Desktop Button
With AutoHotKey, you can use a single line command to remove the show desktop button on the taskbar. This is the most painless and easiest way to remove or restore the show desktop button. Install AutoHotKey and proceed to follow the below steps.
- Right-click on the desktop and select "New → Text document".
- Rename the file to "HideShowDesktopButton.ahk".
- Right-click on the file and select the "Edit script" option.
- Now, copy and paste the below code and press Ctrl + S to save.
Control, Hide, , TrayShowDesktopButtonWClass1, ahk_class Shell_TrayWnd
That is it. Close the file and double-click on it. The show desktop button should be hidden.
To restore the button on the taskbar, follow the same steps but use the below code in step 4. As you case see, all we did was replace
Control, Show, , TrayShowDesktopButtonWClass1, ahk_class Shell_TrayWnd
Note: After restoring the button, you might have to restart the system for it to work.
2] Using Taskbar Tweaker
If you don't like creating custom scripts, you can use the good old Taskbar Tweaker. This is a full-fledged free taskbar customization software with a ton of options.
- First, download the software from the official website.
- After downloading, install it.
- Next, open the installed application from the Start menu.
- In the Taskbar Tweaker window, select the "Hide the show desktop button" checkbox.
- Close the application.
That is it. It is that simple. There is no need to manually save changes. You can see the show desktop button is hidden on the taskbar.
To restore it, simply open the application and uncheck the option.
I hope that helps. If you are stuck or need some help, comment below and I will try to help as much as possible. If you like this article, do check out the best taskbar toolbars and widgets and how to center taskbar icons in Windows 10.