The display behavior for the My Documents icon on the desktop is controlled by the Attributes Value Name, a REG_DWORD data type, at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\\{450D8FBA-AD25-11D0-98A8-0800361B1103\}\ShellFolder.
If the data value is hex 0xf0400174, the icon is displayed. If the data value is hex 0xf0500174, the icon is hidden.
To hide the My Documents icon
1. Copy / Paste the following to a HideMyDocs.reg file:REGEDIT4
\[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\\{450D8FBA-AD25-11D0-98A8-0800361B1103\}\ShellFolder\]
"Attributes"=dword:f0500174
2. Merge the HideMyDocs.reg file with the registry or run regedit /s HideMyDocs.reg.
3. If you right-click a blank area of the desktop and press Refresh, the icon will disappear.
To unhide the My Documents icon
1. Copy / Paste the following to a ShowMyDocs.reg file:REGEDIT4
\[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\\{450D8FBA-AD25-11D0-98A8-0800361B1103\}\ShellFolder\]
"Attributes"=dword:f0400174
2. Merge the ShowMyDocs.reg file with the registry or run regedit /s ShowMyDocs.reg.
3. If you right-click a blank area of the desktop and press Refresh, the icon will appear.