Do not keep files in Recycle Bin on home shares


We've got several Windows Server 2008 R2's as file servers.
It's currently hosting both a common directory for each site and the user's home directories.
By GPO, we also have enabled Folder Redirection of My Documents to the file server and enabled Offline Sync of this directory.

When user deletes files or folders, the data are stored in a hidden Recycle Bin in their home directory rather than removing the files directly. As we have backup, I do not see the point of keeping it in the recycle bin.

1. How do we disable this?
2. Can I safely delete all of the Recycle bins?

Thank you!
Who is Participating?
BembiConnect With a Mentor CEOCommented:
You have to seperate the folders which your user can see....
One part, especially the Document, Pictures etc. folders are indexed offline available and linked into the Libraries folders.
These folders wil use the local recycle bin on the client.

All other network files don't use the recycle bin and can be restored (previous versions), according to the settings of the share and drive on your file server.

At least this behaviour makes sense due to offline file use, where the offline files act like local files.

Do not remove hidden recycle bins on the client, there are several symbolic links on different places, which are shown by windows. They are hidden not to accidently delete them.
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Right click the Recycle Bin icon on the Desktop and click [Properties]
Check the box for [Do Not Move Files to the Recycle Bin]
Click [Apply] and [OK]

- Rancy
jeliassonAuthor Commented:
Thank you Rancy, but are you sure this also applies to shadow Recycle Bin in all users home directory? The problem is also than when I'm opening their recycle bin - it's empty.
I belive it's trickier than just disable that in Windows default Recycle Bin.
ThinkPaperConnect With a Mentor IT ConsultantCommented:
You can disable the recycle bin via registry for all machines/servers:

NukeOnDelete (DWORD) = 1  

(Set to 1 to Permanently delete)

You can push this out via Group Policy.
jeliassonAuthor Commented:
Thank you!
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.

All Courses

From novice to tech pro — start learning today.