Solved

Remove local user

Posted on 2014-11-10
5
92 Views
Last Modified: 2014-11-12
We have Windows 7 image with three local admin accounts
After computer imaged,it is added to AD
Depending on branch,one out of three local admin accounts is used
How can I remove the other two accounts during adding to AD
0
Comment
Question by:Vadim Mikhal
  • 3
  • 2
5 Comments
 
LVL 13

Accepted Solution

by:
Gabriel Clifton earned 500 total points
ID: 40433289
Create a group policy to delete the other accounts. If the computer is in branch 1 ou user 2 and 3 are deleted.

computer configuration - Preferences -  Control Panel Settings - Local Users and Groups
New Local User - Action Delete
0
 

Author Comment

by:Vadim Mikhal
ID: 40433906
Perfect. Maybe you know how to delete user profile folders in a C:\Users ?
0
 
LVL 13

Expert Comment

by:Gabriel Clifton
ID: 40434000
That would be close to the same.

computer configuration -  preferences -  windows settings - folders
create new folder - Action delete.
0
 

Author Comment

by:Vadim Mikhal
ID: 40437271
Thank you
0
 
LVL 13

Expert Comment

by:Gabriel Clifton
ID: 40437353
No problem, glad to help.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

785 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