Solved

Remove local user

Posted on 2014-11-10
5
93 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

821 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