The taskbar includes desktop peek button in the extreme right, and when you move your mouse over it or click on it, it shows your desktop by bringing it to the front. However, in Windows 10, the peek button is extremely narrow and can be difficult to use. Instead, you can create a Show Desktop shortcut and Pin it to the taskbar.
Pin "Show Desktop" Icon to Taskbar
Method 1: Using a Explorer shortcut to Show Desktop (toggle)
Create a shortcut to the following target:
Right-click on the shortcut and click Properties
Click Change icon
Select the desktop icon from shell32.dll. Rename the shortcut as Show Desktop, and right-click the shortcut and click Pin to taskbar.
Method 2: Using a Script to Show Desktop (toggle)
Copy these two lines to Notepad, and save as toggledesktop.vbs in a permanent location, like C:\Windows
dim oSh: set oSh = CreateObject("shell.application")
Create a shortcut to the script file, prefixing the shortcut target with WScript.exe. For example:
Customize the shortcut icon as in Method 1, and name the shortcut as Show Desktop.
Right-click the shortcut and click Pin to taskbar
You may now delete the desktop shortcut.
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and has a vast experience in the ITeS industry — delivering support for Microsoft's consumer products. He has been a Microsoft MVP [2003 to 2012] who contributes to various Windows support forums.