The Recycle Bin does not appear on the Desktop (810869)



The information in this article applies to:

  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

SYMPTOMS

The Recycle Bin does not appear on the Desktop. Therefore, you cannot restore a file that was deleted.

CAUSE

This issue may occur if any of the following conditions is true:
  • A third-party program was used to hide the Recycle Bin.
  • The TweakUI program was used to hide the Recycle Bin.
  • The registry information for the Recycle Bin was deleted.
  • A Group Policy setting was used to hide the Recycle Bin.

    Note Windows XP Home Edition does not support Group Policy.

RESOLUTION

To resolve this issue, use one of the following methods.

Method 1: Use the program that removed the Recycle Bin to restore the Recycle Bin

If you used the TweakUI program to hide the Recycle Bin, follow these steps to restore the Recycle Bin to the desktop:
  1. Click Start, and then click Run.
  2. In the Open box, type regedit, and then click OK.
  3. Locate the following registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel

  4. In the right pane, right-click the following registry DWORD value, and then click Modify:

    {645FF040-5081-101B-9F08-00AA002F954E}

  5. In the Value data box, type 0, and then click OK. (The TweakUI utility sets this value to 1 to hide the Recycle Bin icon.)
  6. Quit Registry Editor.

Method 2: Edit the registry to restore the Recycle Bin

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Note This procedure does not work if the system administrator used a Group Policy setting to hide the Recycle Bin (or "All Icons") on the Desktop.

To edit the registry to make the Recycle Bin icon reappear on the desktop, follow these steps:
  1. Click Start, and then click Run.
  2. In the Open box, type regedit, and then click OK.
  3. Locate the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace

  4. Right-click the registry key that you located in step 3, point to New, and then click Key.
  5. Type {645FF040-5081-101B-9F08-00AA002F954E}, and then press ENTER.
  6. Click the new {645FF040-5081-101B-9F08-00AA002F954E} key that you created in step 5.
  7. In the right pane, double-click the (Default) entry.
  8. In the Edit String dialog box, type Recycle Bin in the Value data box, and then click OK.
  9. Quit Registry Editor.

Method 3: Use the Group Policy Object Editor to restore the Recycle Bin

If the system administrator used a Group Policy setting to hide the Recycle Bin or "All Icons" on the Desktop, you may have to contact the system administrator to restore the Recycle Bin icon.

Note The following procedures works only on Windows XP Professional.

The system administrator can either use the Group Policy Object Editor (GPEDIT.msc) or manually remove the registry information (that was created through the Group Policy Object Editor) for the Recycle Bin to restore the Recycle Bin icon to the Desktop.
  • To use the Group Policy Object Editor to restore the Recycle Bin:
    1. Click Start, click Run, type GPEDIT.MSC in the Open box, and then click OK.
    2. Under User Configuration, click Administrative Templates, and then double-click Desktop.
    3. Double-click Remove Recycle Bin icon from the desktop.
    4. Click the Setting tab, click Not Configured, and then click OK.
  • To use Registry Editor to restore the Recycle Bin:
    1. Click Start, and then click Run .
    2. In the Open box, type regedit, and then click OK.
    3. Locate the following registry key:

      HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\NonEnum

    4. Click the registry key that you located in step 3, and then in the right pane, click the following registry DWORD value:

      {645FF040-5081-101B-9F08-00AA002F954E}

    5. On the Edit menu, click Delete, and then click Yes.
    6. Quit Registry Editor.

      The Recycle Bin icon reappears on the Desktop.

WORKAROUND

If you cannot restore the Recycle Bin by using the resolutions that are listed in this article, work around this issue by creating a shortcut to the Recycle Bin:
  1. Click Start, and then click My Computer.
  2. On the Tools menu, click Folder Options.
  3. Click the View tab, and then click to clear the Hide protected operating system files (Recommended) check box.
  4. Click Yes when the warning message appears, and then click OK to close the Folder Options dialog box.
  5. Click Folders on the toolbar.

    Note If Folders is not visible on the toolbar, point to Toolbars on the View menu, and then click Standard Buttons.
  6. In the left pane, under Folders, locate the Recycle Bin folder, and then drag the Recycle Bin folder to the desktop.
  7. On the Tools menu, click Folder Options.
  8. Click the View tab, and then click to select the Hide protected operating system files (Recommended) check box. Click OK.
Note This procedure does not re-create the original icon. However, this procedure restores most of the features of the Recycle Bin, including the following:
  • Delete a file by dragging it to the Recycle Bin icon on your Desktop.
  • Retrieve a file that you deleted by double-clicking the Recycle Bin icon on your Desktop, right-clicking the file that you want to retrieve, and then clicking Restore.
  • Empty the Recycle Bin by right-clicking the Recycle Bin icon on your Desktop, and then clicking Empty Recycle Bin.
When you use these step to work around the problem, you cannot right-click the Recycle Bin shortcut to access the Recycle Bin Properties. To set properties for the Recycle Bin, follow these steps:
  1. Double-click the Recycle Bin shortcut on the Desktop. The Recycle Bin folder opens.
  2. In the upper left corner of the Recycle Bin folder, right-click the Recycle Bin icon, and then click Properties.

Modification Type:MinorLast Reviewed:1/11/2006
Keywords:kbhowto kbprb KB810869