This tutorial will show you how to hide or show all desktop icons for your account, specific users, or all users in Windows 10 and Windows 11.
The desktop (Win+D) is your home screen and working space in Windows that contains the taskbar and any icons (ex: shortcuts, files, folders, etc...) you add to and arrange on the desktop.
Reference:
Show, hide, or resize desktop icons - Microsoft Support
When you hide desktop icons, the icons are still on your desktop, but just do not display.
Your desktop icons will still always show and be available in your %UserProfile%\Desktop and shell:desktop folders.
- Option One: Hide or Show Desktop Icons for Current User using Context Menu
- Option Two: Hide or Show Desktop Icons for Current User using BAT file
- Option Three: Hide and Disable All Items on the Desktop for All or Specific Users in Local Group Policy Editor
- Option Four: Hide and Disable All Items on the Desktop for All Users using REG file
1 Right click or press and hold on your desktop.
2 Click/tap on View, and click/tap on click/tap on Show desktop icons to check (show) or uncheck (hide). (see screenshot below)
1 Do step 2 (hide) or step 3 (show) below for what you want to do.
This is the default setting.
(contents of .bat file)
@echo off
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V HideIcons /T REG_DWORD /D 1 /F
taskkill /f /im explorer.exe
start explorer.exe
This is the default setting.
(contents of .bat file)
@echo off
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V HideIcons /T REG_DWORD /D 0 /F
taskkill /f /im explorer.exe
start explorer.exe
4 Save the .bat file to your desktop.
5 Save the ZIP file to your desktop.
6 Unblock the ZIP file.
7 Extract the BAT file from the ZIP file.
8 Run the BAT file.
9 If prompted by UAC, click/tap on Yes to approve.
10 You will now see a command prompt quickly open and close, and your screen flicker as the explorer process is restarted to apply the registry changes.
11 You can now delete the .bat file if you like.
Hide and Disable All Items on the Desktop for All or Specific Users in Local Group Policy Editor
You must be signed in as an administrator to use this option.
The Local Group Policy Editor is only available in the Windows 11 Pro, Enterprise, and Education editions.
All editions can use Option Four to configure the same policy.
1 Open the all users, specific users or groups, or all users except administrators Local Group Policy Editor for how you want this policy applied.
2 Navigate to the policy location below in the left pane of the Local Group Policy Editor. (see screenshot below)
3 In the right pane of Desktop, double click/tap on the Hide and disable all items on the desktop policy to edit it. (see screenshot above)
4 Do step 5 (hide) or step 6 (show) below for what you would like to do.
This will prevent using Option One and Option Two.
This will also disable the desktop context menu.
This is the default setting to allow using Option One and Option Two.
7 Close the Local Group Policy Editor.
8 Either restart the explorer process, sign out and sign in, or restart the computer to apply.
You must be signed in as an administrator to use this option.
1 Do step 2 (hide) or step 3 (show) below for what you would like to do.
This will prevent using Option One and Option Two.
This will also disable the desktop context menu.
(Contents of REG file for reference)
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDesktop"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDesktop"=dword:00000001
This is the default setting to allow using Option One and Option Two.
(Contents of REG file for reference)
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDesktop"=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDesktop"=-
4 Save the REG file to your desktop.
5 Double click/tap on the downloaded REG file to merge it.
6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.
7 Either restart the explorer process, sign out and sign in, or restart the computer to apply.
8 You can now delete the downloaded REG file if you like.
That's it,
Shawn Brink