The Recycle Bin does not appear on the desktop in Windows XP or in Windows Vista. Therefore, you cannot restore a file that was deleted.
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.
To resolve this issue in Windows Vista, follow these steps:
- Click Start, and then click Control Panel.
- Click Appearance and Personalization, click Personalization, and then click Change desktop icons.
- Click to select the Recycle Bin check box, and then click OK.
To resolve this issue in Windows XP, 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:
- Click Start, and then click Run.
- In the Open box, type regedit, and then click OK.
- Locate the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel
- In the right pane, right-click the following registry DWORD value, and then click Modify:
{645FF040-5081-101B-9F08-00AA002F954E}
- 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.)
- Quit Registry Editor.
Method 2: Edit the registry to restore the Recycle Bin
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows
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:
- Click Start, and then click Run.
- In the Open box, type regedit, and then click OK.
- Locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace
- Right-click the registry key that you located in step 3, point to New, and then click Key.
- Type {645FF040-5081-101B-9F08-00AA002F954E}, and then press ENTER.
- Click the new {645FF040-5081-101B-9F08-00AA002F954E} key that you created in step 5.
- In the right pane, double-click the (Default) entry.
- In the Edit String dialog box, type Recycle Bin in the Value data box, and then click OK.
- 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:
- Click Start, click Run, type GPEDIT.MSC in the Open box, and then click OK.
- Under User Configuration, click Administrative Templates, and then double-click Desktop.
- Double-click Remove Recycle Bin icon from the desktop.
- Click the Setting tab, click Not Configured, and then click OK.
- To use Registry Editor to restore the Recycle Bin:
- Click Start, and then click Run .
- In the Open box, type regedit, and then click OK.
- Locate the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\NonEnum
- 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}
- On the Edit menu, click Delete, and then click Yes.
- Quit Registry Editor.
The Recycle Bin icon reappears on the Desktop.
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:
- Click Start, and then click My Computer.
- On the Tools menu, click Folder Options.
- Click the View tab, and then click to clear the Hide protected operating system files (Recommended) check box.
- Click Yes when the warning message appears, and then click OK to close the Folder Options dialog box.
- 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. - In the left pane, under Folders, locate the Recycle Bin folder, and then drag the Recycle Bin folder to the desktop.
- On the Tools menu, click Folder Options.
- 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:
- Double-click the Recycle Bin shortcut on the Desktop. The Recycle Bin folder opens.
- In the upper left corner of the Recycle Bin folder, right-click the Recycle Bin icon, and then click Properties.