Do not keep files in Recycle Bin on home shares

Posted on 2012-09-03
Medium Priority
Last Modified: 2012-09-13

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!
Question by:jeliasson
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38363229
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

Author Comment

ID: 38363347
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.
LVL 35

Accepted Solution

Bembi earned 1050 total points
ID: 38363607
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.
LVL 16

Assisted Solution

ThinkPaper earned 450 total points
ID: 38364258
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.

Author Comment

ID: 38397795
Thank you!

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question