E-Mail:
Author Avatar

Disable The Recycle Bin In Vista

Normally when you delete a file, it goes to the Recycle Bin. The convenient thing about this is that you can easily recover files that you have accidentally deleted. You can permanently delete the contents of the Recycle Bin using the Empty Recycle Bin option.

You can make a small change to the registry and tell Vista to bypass the Recycle Bin. This means that when you delete a file, it is gone and permanently lost (of course this is not the case if you are using recovery software).

To configure Vista to bypass the Recycle Bin, navigate to the following registry key within the Registry Editor:

HKEY_LOCAL_MACHINE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket.

Double click the NukeOnDelete option and set the value to 1.

Tags: , ,

6 Comments

Disabling the Recycle Bin from within the registry might be a bit of an overkill. I mean who really wants to completely everything everytime and then have to depend on some 3rd party recovery tool when you realized that you might have inadvertently deleted an “importnant” file?

An alternative to completely disabling the Recycle Bin is just to disable it temporarily for specific delete operations. To accomplish this, just hold the SHIFT key down when deleting 1 or more files. Doing this will allow the user to bypass the Recycle Bin for that instance only. This a carryover from the Win95 era, and one of the few things that I am glad that kept with the advent of Vista.

I haven’t tried this yet in Vista, but in XP all you need to do is hold the shift key down when you hit delete and it’ll bypass the recycle bin too. This way, you still have that fall-back if you accidentally delete something using the normal method but when you really and truly want it gone, just hold the shift key.

I just checked and that registry key does not exist on my Vista system.

Do you have any documentation or a credible resource for this info? There’s no available info on MSDN or TechNet with regards to this functionality on XP…and definitely none for Vista…

Further analysis and contact w/ MS clearly shows that for Vista, this Registry key is no longer effective. For Vista, MS moved to a per-user, per-volume model for the BitBucket key, and hence the NukeOnDelete value.

Again, the following statement is incorrect:

“To configure Vista to bypass the Recycle Bin, navigate to the following registry key within the Registry Editor:

HKEY_LOCAL_MACHINE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket”

A quick test…set the value, reboot…clearly showed that this setting has no effect whatsoever.

Has anybody actually tried this in Vista? I’m working on some file-based software, and to test it, I need to create huge numbers of files. To test a second time, I need to delete them, create a new suite, and try again. I’m routinely purging one to two million files at a time from the recycle bin, and it’s taking ages.

When I hit the delete key, I get the results I expect. When I hold down shift while hitting delete, nothing happens…?

What Do You Think?

 


Anti-Spam Image

Want to Start a Blog Here for Free?

Are you an expert in one subject or another? If your goal is to help others and dispense hard-earned information back to the community, stake a claim on your very own Lockergnome blog today! You can write about anything - no matter the topic. Sign-up to start blogging!

Author Avatar
Favorite - Jul 25, 2008

MyHappyPlanet

Author Avatar
Deals - Jul 25, 2008

ASUS LCD Monitor And Webcam For $199.99

Author Avatar
Feedback - Jul 22, 2008

ScrapWalls: Web-Based Photo Collage Maker

Author Avatar
Press Release - Jul 18, 2008

New SanDisk SD Cards Retain Data For As Long As 100 Years