Jump to content

Delete local profiles from Win 7 machine at log off/reboot - Best way?


Recommended Posts

Posted

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...

Posted
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...)
Posted
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...
Posted (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 by cromertech
  • Thanks 1
Posted
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

Posted
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 ...
Posted
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 .

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...