Daniel Petri is a world-known IT professional, technical trainer and creator of one of the world’s largest IT knowledge bases – www.petri.com. Daniel consults to leading global Fortune 1000 companies in Microsoft IT Infrastructure and Engineering strategies.

For his contribution to the IT Pro community Daniel has received the Microsoft Most Valuable Professional (MVP) award for the 14th time. Daniel’s professional certifications include Microsoft Certified Technology Specialist, Microsoft Certified Systems Engineer, Microsoft Certified System Administrator and Microsoft Certified Trainer.

While working for Microsoft, Daniel serves as a Senior Premier Field Engineer (PFE) specializing in Windows Server OS and Active Directory.
Daniel now works for ObserveIT, makers of the Insider Threat Detection software, where he holds the role of Senior Solutions Architect, where he manages large deployment projects and partner and customer training programs.

In his spare time, Daniel rides a 1200cc 2015 model Ducati Multistrada 1200S bike and manages the Israeli Bikers forum.

You can contact Daniel at daniel-at-petri-dot-co-dot-il.

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.

Related Articles

Got a question? Post it on our Windows Vista Forums!

Related Topics:

  • Windows Vista
  • BECOME A PETRI MEMBER:

    Don't have a login but want to join the conversation? Sign up for a Petri Account

    Register