How to Remove Default Desktop Icons (162170)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows NT Workstation 4.0
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows 95

This article was previously published under Q162170
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SUMMARY

This article explains how to remove and restore the default Desktop icons such as Inbox, Windows Internet Explorer, and Recycle Bin.

MORE INFORMATION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To Remove Icons from the Desktop

In Windows NT 4.0 or Windows 95

  1. Start Registry Editor (Regedit.exe or Regedt32.exe).
  2. Select the HKEY_LOCAL_MACHINE key.
  3. Navigate to the following location under the HKEY_LOCAL_MACHINE key:
    Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpa

    You see several hexadecimal strings called CLSIDs. Select each one in turn, and the right pane will show you which icon is being selected.
  4. When you have the appropriate icon entry selected for the icon you want to remove from the desktop, export the key by using the Export Registry File command on the Registry menu. You need to choose a path and file name under which to save the file.
  5. After the key has been exported, you can delete the icon entry to remove it from the desktop. Click Yes in the confirmation box to complete the icon deletion process.
  6. Quit Registry Editor, log off, and then log back on to the computer.
When you log on again, the icon will have been removed from the desktop.

In Windows 2000

  1. In Internet Explorer, click Internet Options on the Tools menu.
  2. On the Advanced tab, click to clear the Show Internet Explorer on the Desktop check box under Browsing, and then click OK.
NOTE: The registry change described in this article does not work in Windows 2000.

To Restore Icons to the Desktop in Windows NT 4.0 or Windows 95

  1. Start Registry Editor (Regedit.exe or Regedt32.exe).
  2. Select the HKEY_LOCAL_MACHINE key.
  3. Navigate to following location under the HKEY_LOCAL_MACHINE key:
    Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpac
  4. Select NameSpace.
  5. On the Registry menu, click Import Registry File, and type the path to the location of the registry file that was exported in the preceding procedure.
  6. Select the file name to which the registry key was saved, click Open, and then click OK.
  7. Quit Registry Editor, log off, and then log back on to the computer.
When you log on again, the icon will have been replaced back onto the desktop.

Modification Type:MajorLast Reviewed:6/3/2003
Keywords:kbhowto kbnetwork KB162170