Link to home
Start Free TrialLog in
Avatar of lianne143
lianne143Flag for United States of America

asked on

Users profile is getting populated in windows 7 network PCs with Local profile

Hi

We use windows 2012DCs and recently we migrated from XP to Windows7
When we had XP, We are using local profiles in our network,

We are still using local profile system for all the students after we migrated to windows 7. When the users log into a PC, a freshly Profile is created under their name.

When we were having XP we had a GPO which was applied under all the ICT OUs. When this shutdown scripts was running from this policy it was deleting all the profiles and the C drive was maintained from running out of space and also a fresh profile is was created without any errors , when students log in after the PC was restarted.

Now after we migrated to windows 7, the profile doesn’t get deleted  for some reasons and I can see the profiles are getting populated on the C:\users\

If I delete a  profile the profile in Win7 and when the  users log in again, they will get a message on the  system tray  “Windows cannot find the local profile and is logging you on with a temporary profile” and normally I do some registry tweaks to make it work.

http://support.microsoft.com/kb/947215

Is there a way of setting this up in a different way.Our users Hard disk are 60GB and can run out of space very soon please suggest.

Thanks  and any help much appreciated.
ASKER CERTIFIED SOLUTION
Avatar of Joshua Grantom
Joshua Grantom
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lianne143

ASKER

In windows 7 If their profiles are deleted  and if the same user logs into the same PC next day , will he not get the following message.

“Windows cannot find the local profile and is logging you on with a temporary profile”
I dont want this message to pop up .
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Joshua

I will try this asap and will post you the results.

thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi

I tried adding a couple of users to the local Guest group and still the profiles are not getting deleted.

Please see the attached VBS Delete profile Script which i apply to the GPO (Computer configuration-policies- windows settings-Scripts-shutdown) and please go through the script if i am making any mistake.

Will it be possible to create the script so that we need not add the users to Local guest group.
I have more that 600 users  and adding them to local guest group on each PC will be complicated.
Thanks
DeleteProfile.txt
You can just add Domain Users to the guest group, or whatever  you have as the main group for students