hotwired007 Posted February 15, 2011 Posted February 15, 2011 Ok... i've googled, i've binged and i've even yahoo'd this and come up with not a lot... What is the best way to get a computer to delete the user profiles on a machine when it restarts - ive seen the GP delete after X number of days - its configured to 1 day... there is also the advanced system settings and deleting each profile individually but on some of my machines there are 100-150 local profiles... basically i want something like delprof.exe to run after a student logs off to delete all the profiles...
localzuk Posted February 15, 2011 Posted February 15, 2011 I know this may not be any help, but my first question would be - why?
hotwired007 Posted February 15, 2011 Author Posted February 15, 2011 as everytime a student logs on it copies their account from the server to the local machine - i've changed a whole load of settings and the PCs even after a GPupdate still wil refer to the the local account - once the account is removed they can log on again and all the settings are correct - i just didn't fancy reinstalling all the compueters again! (Well reimaging them anyway...)
hotwired007 Posted February 15, 2011 Author Posted February 15, 2011 redirected folder paths... in group policy... even if you force the gpupdate makes no difference - deleting the profiles off and allowing them to be recreated makes the paths work fine...
cromertech Posted February 15, 2011 Posted February 15, 2011 (edited) I use delprof.exe set to run on a shutdown script because I was getting the same problem. I think the switches are /q /t 0 or something to delete all profile created on the day the script is run but I can pm the details if you want me to find them EDIT: I have PM'ed the relevant switches to you Edited February 15, 2011 by cromertech 1
hotwired007 Posted February 15, 2011 Author Posted February 15, 2011 i throught delprof wouldn't work on a windows 7 machine?
cromertech Posted February 15, 2011 Posted February 15, 2011 i throught delprof wouldn't work on a windows 7 machine? It works fine. Haven't had any issues yet. It looks in the registry to find the profilelist key which is the same as it has been since NT
Brpilot99 Posted February 15, 2011 Posted February 15, 2011 I had exactly that problem and from memory there is a setting in the group policy that cures it ... I'm not at school untill tommorrow and will check for you and report back then ...
altonPM Posted February 23, 2011 Posted February 23, 2011 I took a quick look at my GPOs and I'm not sure this is it exactly, but there is a policy called "At logoff, delete local copy of user's offline files" under Computer Configuration -> Policies -> Administrative Templates -> Network/Offline Files .
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