Cleanup Script for USERS folder
-
-
Oh, is it the nutter who got fired and then begged for service.... just do what's asked, don't worry about lost data.
-
This feels risky. Is there much chance of there being important files on the user's desktops?
-
What about instead of deleting the data, it was zipped up and send to the manager?
-
@Reid-Cooper Always.
He himself had a folder of old emails which totaled about 20GB. ON THEDESKTOP - Ugh.. Users. -
@Reid-Cooper
Uhm.. It's the Manager / Owner wanting to do the clean up. -
GPO to clean off profiles >2months old?
-
I have a work-in-progress power shell script that looks in specific locations and deletes the contents (some app data folders, desktop, documents, favourites etc) and resets the theme to default Windows theme.
The log file output doesn't work yet.
So it's more of a profile reset/clean up
-
@gjacobse said:
@Reid-Cooper
Uhm.. It's the Manager / Owner wanting to do the clean up.Put it in writing that if ANYONE sits down at his computer, even on accident, it will mean instant deletion of HIS files by HIS request.
-
I'm confused - You're using folder redirection, so the local copy of the data is only there for speed or network connectivity loss. So there should be nearly zero data loss if you delete the profile after the user logs out.
I'm not sure if there is a reg key on Windows Workstation OS, but there definitely is on Server OS for Remote Desktop Services.
This was something I've seen often turned on to keep the local storage needs of the RDS server from ballooning out of control from left over profiles.
User logs into RDS, downloads profile, user logs out - copy is pushed to the server and local directory is deleted.
Pretty standard practice.
I'd be surprised if this wasn't available on say Windows 7, etc.