jordymitch Posted January 16, 2015 Posted January 16, 2015 hi, i need help on scripts to delete user profiles on win 7 upon logging off the computer or if any of you have all-ready pre-set up scripts to help me out, anything is much appreciated, jordan
fairm010 Posted January 16, 2015 Posted January 16, 2015 (edited) I use delprof2. It is perfect for this. \\DMS-FILE-02\APPS$\software\delprof\delprof2.exe /ed:fairm010 /ed:administrator Linky: https://helgeklein.com/free-tools/delprof2-user-profile-deletion-tool/ Edited January 16, 2015 by fairm010 1
Oaktech Posted January 16, 2015 Posted January 16, 2015 Yeah... Delprof2, seconded. Runs as a scheduled task deployed by gpo every wednesday.
fairm010 Posted January 16, 2015 Posted January 16, 2015 Yeah... Delprof2, seconded. Runs as a scheduled task deployed by gpo every wednesday. I run it school wide every 'major' holiday (Summer, Easter etc, No half terms.) as it requires creating a new profile which increases login times slightly.
jordymitch Posted January 16, 2015 Author Posted January 16, 2015 thanks guys, i also work for a school , im new to the software operations side, we have delprof 2, but i want to run it every time a kid logs off by a script, just don't know how to create a script for this, we have roughly 400 computers so it obviously has to be automatically done, thanks Jordan
fairm010 Posted January 16, 2015 Posted January 16, 2015 You'd run my script and set it as a logoff script via GPO.
kevin_lane Posted January 25, 2015 Posted January 25, 2015 We use delprof2 which runs evey startup and shutdown we also combin that with a GPO policy that when a profile is over 2 days old it gets deleted
enjay Posted February 17, 2015 Posted February 17, 2015 How have you enabled it at Startup? I've tried creating a GPO which runs it as a Startup script, but it isn't working...
enjay Posted February 18, 2015 Posted February 18, 2015 Does the script work when ran manually? Yes, if I do so from an administrator Command Prompt.
enjay Posted February 18, 2015 Posted February 18, 2015 Just realised I did a Very Silly Thing . The script which I had added to the NetLogon folder wasn't the right one. I had an incorrect switch in it, which I had corrected in my test version but not copied back to the server. It now works as a startup script. I'm not sure if I'm more happy I've got it working or annoying I lost several hours to this error... 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now