Solved

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

Posted on 2014-10-06
7
211 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
  • 4
  • 3
7 Comments
 
LVL 16

Accepted Solution

by:
Joshua Grantom earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:lianne143
Comment Utility
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
Comment Utility
no problem, let me know if it doesn't work. I'm sure there is a way.
0
 

Author Comment

by:lianne143
Comment Utility
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
Comment Utility
You can just add Domain Users to the guest group, or whatever  you have as the main group for students
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now