No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade
Knowledge Base

Resetting local administrator account for all user VMs

Publication Date:  2014-03-30  |   Views:  183  |   Downloads:  0  |   Author:  SU1001639244  |   Document ID:  EKB1000041099

Contents

Issue Description

customer want to reset the local admin account password for all user VMs automatically 

Alarm Information

None

Handling Process

this issue can be handled  using group policy :
-----------------------------------------------------------------
1- Launch Group Policy Management console :
 click Start, click Control Panel, click Administrative Tools, and then click Group Policy Management.
2- Right-click the OU you want to apply this policy to and select Create a GPO in this domain, and link it here…


3- Give the new policy a name. I named it Local Administrator Password Reset.


4- Next we need to edit the policy.
Right-click the new policy and select Edit.

5- Expand: Computer Configuration | Preferences | Control Panel Settings
Right-click on Local Users and Groups. Select New then Local User.


6- Fill in the following:
User Name: Administrator
Password: (whatever you want your password to be)
Confirm Password: (same as above)
Select: User cannot change password
Select: Account never expires
Then select OK to accept the settings.
Configure-New-Local-User-GPO

7- You are done configuring the policy.
To test it out, you can remote into a client computer and run gpupdpate in CMD prompt.

8- to test if thee password was restted or not :
Open a command prompt and type:
runas /user:administrator cmd
Type in the new password and press Enter.
If a new command window pops up and you see Administrator in the title bar of the command prompt, you verified the password has been changed.

Root Cause

None

Suggestions

none