How to Change Local Administrator Password with Group Policy
بسم الله الرحمن الرحيم
We will use Group Policy Preferences to set password on local user accounts.
- Click Start – All programs – Administrative Tools – Group Policy Management.
- Create or Edit Group Policy Objects.
- Expand Computer Configuration – Preferences – Control Panel Settings.
- Right click on Local Users and Groups – New – Local User.
Note: Group policy update will take 90 min (Default)
If you want change this time follow this method:
- Expand Computer Configuration – Administrative Templates –System – Group policy
- Enable Group policy refresh interval for computers and set any time you want (Recommended 5 – 10 min)
Or Run this command on clients gpupdate /force
Posted on September 12, 2011, in Group Policy, HOW TO ? and tagged group Policy, local administrator password. Bookmark the permalink. 5 Comments.
And if you don’t have W2k8 in your environment, you can use this small vbs script.
Make a GPO for computer account and run it at startup.
Of course, the downside is that the password will be in clear text, and can be seen with little effort.
“Set WshNetwork = WScript.CreateObject(“WScript.Network”)
strComputer = “.”
Set objUser = GetObject(“WinNT://” & strComputer & “/Administrator,user”)
objUser.SetPassword “blabla” ‘ Enter new password between brackets
objUser.SetInfo”
Hi Liviu,
Thanks for reply and sharing your information with us
if you don’t have W2k8, you could use this tutorial as well. Use GPMC via RSAT. A win2003 (or even win2000) DC is sufficient.
Thank you for comment
Pingback: Change Local Admin w/Group Policy « Dennis' Tech Talk