+ Post New Thread
Results 1 to 5 of 5
Windows Thread, Deleting the RECYCLER folder from user home folders? in Technical; I've had a search through here and found some nice ways to empty user recycle bins. But I've noticed these ...
  1. #1

    Join Date
    Sep 2011
    Posts
    165
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Deleting the RECYCLER folder from user home folders?

    I've had a search through here and found some nice ways to empty user recycle bins. But I've noticed these do the same operation as if the user was right-clicking on the recycle bin and clicking Empty Recycle Bin.

    I've noticed, even when users do this, the RECYCLER hidden folder in their home folders sometimes still has a large size when right-clicking it and going to Properties. This takes up their space quotas and we get students walking in saying they've emptied their bin. We check their home folder's RECYCLER folder to find it is quite large. We delete it and their space is free again.

    Is there any way to run a script, either on user logon, or even just ourselves running a scheduled task, to delete all folders named RECYCLER in user home folders as defined in AD? I believe we would have to use %username% somewhere in the command but am not sure how or if this will work?

  2. #2

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    5,137
    Thank Post
    917
    Thanked 1,524 Times in 1,037 Posts
    Blog Entries
    47
    Rep Power
    655
    Not sure if it'd necessarily be a wise idea to do it - you can guarantee that on the day you do it, someone important will have sudden need of that file they deleted yesterday and open up the Recycle Bin to find it empty... I know it seems unlikely given how averse staff are to deleting and tidying, sometimes, but you never know!

    If it's not causing a constant and time consuming problem (an hour a day sort of level), I'd be inclined to leave it and just continue dealing with it ad hoc when it causes an issue - as, indeed, I do here.

  3. #3
    ricki's Avatar
    Join Date
    Jul 2005
    Location
    uk
    Posts
    1,475
    Thank Post
    20
    Thanked 164 Times in 157 Posts
    Rep Power
    52
    Hi Is this what you are after Enable/Disable Recycle Bin

    I also think you can do it in gpo here User Configuration > Policies > Administrative Templates > Windows Components > Windows Explorer and enable 'Do not move deleted files to the Recycle Bin but I have never done it.

    Please be careful this may break this.

    Lastly I think there was also a gpo where you could set the recycle bin size.

    Richard

    Richard

  4. #4
    DAZZD88's Avatar
    Join Date
    Apr 2009
    Location
    Sunderland, Tyne and Wear
    Posts
    788
    Thank Post
    163
    Thanked 77 Times in 66 Posts
    Rep Power
    48
    Quote Originally Posted by sonofsanta View Post
    I know it seems unlikely given how averse staff are to deleting and tidying, sometimes, but you never know!
    A few of our staff often try to tidy their work areas but then seem to use the Recycle Bin as extra storage. We once deleted the recycle bin folder for a number of staff to free up space and someone came in and said that a document was missing from their work area. We then asked where the file was located...it was in the recycle bin!!

  5. #5

    Join Date
    Sep 2011
    Posts
    165
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Thanks all.

    I've worked on a simple command and placed it into a batch file:

    rd /s /q "\\server\pathtohomefolder\%username%\recycler "


    ... and applied it into a GP as a logon script. Works great!

SHARE:
+ Post New Thread

Similar Threads

  1. Folder structure of user's home folders on the servers
    By Bruce123 in forum Windows Server 2000/2003
    Replies: 6
    Last Post: 30th September 2011, 10:59 AM
  2. User Home folders
    By DanW in forum Scripts
    Replies: 9
    Last Post: 26th January 2009, 10:01 PM
  3. Replies: 5
    Last Post: 9th March 2008, 12:15 AM
  4. Replies: 11
    Last Post: 30th November 2007, 11:43 AM
  5. delete same folder from all users home area
    By markcuk in forum How do you do....it?
    Replies: 27
    Last Post: 25th April 2007, 10:38 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •