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

Posted on 2014-10-06
Last Modified: 2014-11-18

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.

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.
Question by:lianne143
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 16

Accepted Solution

Joshua Grantom earned 500 total points
ID: 40363697
If you add Domain Users (or if you want to create another security group in AD) to the local Guest group it will delete their profiles on logoff correctly. You could apply this with a group policy and push it out to all the computers you want.

Control Panel > User Accounts > Manage User Accounts > Add YOURDOMAIN\Domain Users to Guests


Author Comment

ID: 40363853
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 .
LVL 16

Assisted Solution

by:Joshua Grantom
Joshua Grantom earned 500 total points
ID: 40363857
Not if they are part of the guests, this happens because deleting the folder isn't enough. You also have to remove the Profile from the UserList in the registry. Using the guest group will properly delete the profile.
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.


Author Comment

ID: 40392880
Hi Joshua

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

LVL 16

Assisted Solution

by:Joshua Grantom
Joshua Grantom earned 500 total points
ID: 40392892
no problem, let me know if it doesn't work. I'm sure there is a way.

Author Comment

ID: 40406177

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

Expert Comment

by:Joshua Grantom
ID: 40449863
You can just add Domain Users to the guest group, or whatever  you have as the main group for students

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
A hard and fast method for reducing Active Directory Administrators members.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question