Solved

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

Posted on 2014-10-06
7
217 Views
Last Modified: 2014-11-18
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.
0
Comment
Question by:lianne143
[X]
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
7 Comments
 
LVL 16

Accepted Solution

by:
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

DUtoGuests.PNG
0
 

Author Comment

by:lianne143
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 .
0
 
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.
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:lianne143
ID: 40392880
Hi Joshua

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

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

Author Comment

by:lianne143
ID: 40406177
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
0
 
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
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

This article explains the steps required to use the default Photos screensaver to display branding/corporate images
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
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.

749 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