General discussion


Recycle Bin

By jthibodeau ·
Is there a group policy that I can set so that the Recycle Bin will get emptied every time a user logs out?


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by lowlands In reply to Recycle Bin

There is no direct setting, you could however do it with a logoff script.

Collapse -

by BFilmFan In reply to Recycle Bin

This script will perform that function:

var bin = new ActiveXObject("BinManager.RecycleBin");

// Report the contents of the recycle bin.
function Report(){
WScript.Echo("Recycle Bin Holds\n" + bin.NumItems
+ " items\n" + bin.Size + " bytes\n");


// Permanently delete items recycled more than two days ago.
// Note, the argument is full calendar days, so specifying
// zero would delete all items older than today.

// Permanently delete all recycled items.

Collapse -

by BFilmFan In reply to
Collapse -

by jthibodeau In reply to Recycle Bin

This question was closed by the author

Related Discussions

Related Forums