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.