The Computer Oracle

Remove Show desktop button next to clock on Windows 10

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Dreaming in Puzzles

--

Chapters
00:00 Remove Show Desktop Button Next To Clock On Windows 10
00:45 Accepted Answer Score 11
01:10 Answer 2 Score 2
01:26 Answer 3 Score 8
01:53 Thank you

--

Full question
https://superuser.com/questions/1377628/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows10 #taskbar

#avk47



ACCEPTED ANSWER

Score 11


It is possible to remove the show-desktop slice using the free app 7+ Taskbar Tweaker

To install with Chocolatey: choco install 7-taskbar-tweaker

Use the tweak called Hide the “show desktop” button:

enter image description here




ANSWER 2

Score 8


Inspired by the answer by ChrisB, here is an AutoHotkey script that hides the button:

Control, Hide, , TrayShowDesktopButtonWClass1, ahk_class Shell_TrayWnd

If using AutoHotkey v2, the syntax is:

ControlHide("TrayShowDesktopButtonWClass1", "ahk_class Shell_TrayWnd")

(To use: Install AutoHotkey, save this to a .ahk file and doubleclick it. You can also add a shortcut to the startup folder in the start menu to have it run automatically on login.)




ANSWER 3

Score 2


I really don't like those precompiled closed-source tools so here is a simple AutoIt script that you can copy in your startup folder:

$hwnd = WinGetHandle("[CLASS:Shell_TrayWnd]", "")
ControlHide($hwnd, "", "TrayShowDesktopButtonWClass1")