In Windows 10 the show desktop icon was replaced by a thin invisible line on the far right of the task bar. To create a Windows 7 style "show desktop icon" instead follow the steps outlined below:
1.) Open up notepad (Start Menu > notepad) Enter the code below and save the file as "Show Desktop.scf"
[Shell] Command=2 IconFile=explorer.exe,3 [Taskbar] Command=ToggleDesktopOpen Notepad (Start Menu > notepad) and type the below code into it. Save the file with a .reg extension and then double click it to run the command.
[HKEY_CLASSES_ROOT*\shell\runas] @="Take ownership" "HasLUAShield"="" "NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT*\shell\runas\command] @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas] @="Take ownership" "HasLUAShield"="" "NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
Pro Tip: - If Icacls isn't a recognized command. (check you typed it correctly first)
Open Windows explorer (Start Menu > explorer). Right-click "My Computer" & select "Properties."
Click "Advanced/Advanced System Settings" tab.
Click "Environment Variables" button.
In the "System variables" box, scroll down to "PATH" and highlight it.
Click the "Edit" button.
In the "Variable value:" box, add to the very beginning of the text "C:\WINDOWS\system32;" without my quotation marks. (replace system32 with system depending on the location of icacls)
Make sure you include the semicolon.
Click OK three times.
Hit F8 to open CMD
Diskpart
Sel dis 0
Clean
Exit
Wpeutil reboot