Error DataBase-One Place all Solutions Forums Blog Glossary    Contact Us
Search  
   
Browse by Category
Error DataBase-One Place all Solutions .: Operating Systems .: Windows Operating Systems .: Windows VISTA .: How to Add "Remove Temporary Files" and "Run Disk Cleanup" to right-click menu

How to Add "Remove Temporary Files" and "Run Disk Cleanup" to right-click menu

Through several registry modifications, you can create an enhanced “right-click” menu for the Recycle Bin. The new options will allow you to delete the temporary files in the following two directories: %UserProfile%\AppData\Local\Temp and %SystemRoot%\Temp. Additionally, another menu will be created that will allow you to run the disk cleanup utility.

 

Please be aware that this change requires making a change to the Windows Vista registry.

Note: Editing the registry has the potential to cause serious (and unrecoverable) damage to your PC. If you are at all uncomfortable editing the registry, please do not attempt the following.

The first step is to create a registry file. You can do this by opening Notepad (Start >> All Programs >> Accessories >> Notepad) and copying and pasting the following:

Save the file with the name RecycleBin.reg and close Notepad.

Double-click RecycleBin.reg to add the changes to your registry.

If you did not Disable UAC, you will have to grant access, click Continue:

You will then be greeted with the following warning message, click Yes:

After the new registry values have successfully merged into your registry, you will be greeted with the following dialog, click Ok:

Right-click on the Recycle Bin and you see will now see two new options:

The two commands will require administrative privleges to run. When you click Remove Temp Files a Command Prompt window will appear briefly as the temp files are removed.


How helpful was this article to you?

Related Articles

article How to Automated cleanup of Temp files, Internet files, downloaded files, recycle bin using CLEANMGR.EXE Tool(XP)
Syntax CLEANMGR option Options ...

(No rating)  3-7-2008    Views: 376   
article How To Add and Remove Web Service Extension Files in IIS 6.0
SUMMARY This step-by-step article...

(No rating)  5-20-2008    Views: 91   
article VMware Disk Files
When using VMware, you will, at some point,...

(No rating)  4-21-2008    Views: 230   

User Comments

Add Comment
No comments have been posted.