Author Posts

October 28, 2016 at 9:06 am

The case:
we gonna use software autodesk vault software, and a specific folde named Workingfolder must be cleaned / emptied every time the user is logged off from his pc. but to have a save fall back we want, that the data from the folder first is moved to the recycle bin and if it is possible configure then that the recycle bin is emptied every 7 days. 

The question:

Is it possible to create a oneliner / script to:
move data from a specific folder (like workingfolder on C:\) to the recycle bin and make sure that people cant empty the recycle bin by them self but it is emptied every 7 days?

October 28, 2016 at 12:05 pm

Can you show us your script so we can help you?

October 28, 2016 at 1:00 pm

If the AutoDesk Vault software requires that the WorkingFolder folder is emptied, then the software should clear it at Shutdown\Startup. If it's a manufacturer requirement or recommendation, I would talk to them versus scripting it.

Locking down the Recycle Bin, if possible, would be a policy (GPO). If you want to clear the Recycle Bin every 7 days, I would look at making a local scheduled task for that, but it's risky if a VP is working on slide deck for a week, accidentally deletes it and then you wipe the Recycle Bin. I've worked at places where users used the Temp directory as a working directory storing documents. I'd be careful implementing a forceful removal of something like the Recycle Bin.

October 31, 2016 at 8:11 am

I dont have started creating a script,

Because simply dont know where to start for this particaly question,
the question came from a colleague that is working with the autodesk vault