Delprof 2 all the way. Use it here and it works a treat.
Delprof2 1.6.0 Released
We use local profiles for users (would prefer to use roaming but don't ask!) - anyway, some of our machines only have 80GB hard drives that after a few hundred users logon the hard drives become full - we then need to reimage.
We'd like some kind of script that runs on log off to delete the users home directory and the associated registry key so that next time they logon they get a fresh profile copied from default, and all is good.
Anyone done this already and can provide assistance?
Heres the script we use to delete them.
This deletes any profile apart from mine and the administrator profile. (And the default windows ones of course)Code:\\server\share\software\delprof\delprof2.exe /ed:fairm010 /ed:administrator /q echo %ComputerName% Has deleted old user profiles. >> "\\server\share\software\delprof\log.txt"
fairm010 - so you have del prof running from a server rather than locally - does this work ok?
Delprof2 here - running from server
Isn't perfect but it is pretty good
Does delprof2 also get rid of the registry keys, not only the home directories?
I use the setting "delete profiles older than X days" computer/admintemp/system/userprofiles I've set mine to 3 days. I do not use roaming profiles.
Sorry, hadn't seen an update to this thread. Yes, it deletes the respective reg keys too and it runs here perfectly from the server.
Ok I'm struggling. I've got the script deleting profiles fine - I've then added this to group policy as a shutdown script - but it doesn't seem to be doing anything.
I can't find any error logs etc :S
There are currently 1 users browsing this thread. (0 members and 1 guests)