Hey,
Please see the following link:
https://social.technet.microsoft.com/wiki/contents/articles/4683.how-to-change-a-local-administrator-password-with-group-policy.aspx
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi Experts,
Is there any way so I can reset the local Administrator Password of my domain-joined computers from a single script or window?
Hey,
Please see the following link:
https://social.technet.microsoft.com/wiki/contents/articles/4683.how-to-change-a-local-administrator-password-with-group-policy.aspx
Hi there,
The Reset-ComputerMachinePassword cmdlet changes the computer account password that the computers use to authenticate to the domain controllers in the domain. You can use it to reset the password of the local computer.
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/reset-computermachinepassword?view=powershell-5.1
-----------------------------------------------------------------------------------------------------------------------
If the reply is helpful, please Upvote and Accept it as an answer
Hi,
You might want to look at installing Microsoft LAPS in your environment, it will increase the security of your environment and workstations, by moving the local password management to the AD, with automatic periodic password changes. You can also manually trigger the changing of the local admin password from your machine using a powershell command or GUI for your machine.
You can download here and the operation guide is included
https://www.microsoft.com/en-us/download/details.aspx?id=46899
Gary.