Disable Vista Recycle Bin for Network Locations

I can't find anything on Google for this, so maybe I'm missing something.

We use folder redirection on our network for the Documents folder, Desktop, Favourites etc etc to a file server. A side effect seems to be that Vista's recycle bin is now located in each user profile rather than having one recycle bin per PC and files which are deleted from network locations are now stored in the Recycle bin, located in the redirected folders on the file server.

This is problematic, as users rarely empty their recycle bins and so the file server begins to fill up with these recycle bins full of deleted files. We use VSS and take snapshots of the server every hour, so we don't need each user having their own recycle bin on the server and can't rely on users to empty the bins. Is there any way we can disable this and still have files deleted locally go to the recycle bin on the local PC like it was with XP and previous systems?

If not, the only alternative is to disable the recycle bin for all users or restrict the size.

Thanks for any help
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

As you suspected, there does not appear to be a way around this other than to disable the recycle bin for all users on the server;


Though like you I have not come across much on the web about this issue - most results for a search on folder redirection and the recycle bin in Vista talk about corrupted files.

Sorry I can't do more than confirm your initial thought on the matter, though I would be very interested to hear if you do discover a workaround...


scottealamAuthor Commented:
Thanks for your comments James. Probably the most frustrating thing about this is that when you have a look at the properties of the recycle bin, you can see all of the locations that the recycle bin stores information. It's just lacking a remove or disable button for each location.

There must be some kind of registry hack that can be formulated to remove those locations. If I come up with anything before someone else, I'll post it here!

scottealamAuthor Commented:
Ok, I think I've got it sorted.

The registry keys are located at HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\KnownFolder

Underneith KnownFolder there are a bunch of keys each with a GUID for its name. Each key represents one of the folders in the list under Recycle bin properties. As far as I can tell, the GUIDs are the same for each user, which makes life a LOT easier. (i.e {FDD39AD0-238F-46AF-ADB4-6C85480369C7} represents the Documents Folder).

So then, in order to turn of the recycle bin for that folder you would set the DWORD value "NukeOnDelete" to 1.

i.e HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\KnownFolder\{FDD39AD0-238F-46AF-ADB4-6C85480369C7}
Value: NukeOnDelete
Data: 1

Recycle bin is now turned off for that particular folder. This allows you to choose which folders can or cannot use the recycle bin thus allowing you to disable the Recycle bin for network folders/drives, but still allowing its use for local drives.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Vista

From novice to tech pro — start learning today.