• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1485
  • Last Modified:

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
  • 2
1 Solution
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now