How to Change Local Administrator Password with Group Policy


بسم الله الرحمن الرحيم

We will use Group Policy Preferences to set password on local user accounts.

  • Click StartAll programs – Administrative Tools – Group Policy Management.
  • Create or Edit Group Policy Objects.
  • Expand Computer ConfigurationPreferences – 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 ConfigurationAdministrative 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

About Mohamed Abd Elhamid

Microsoft System Administrator

Posted on September 12, 2011, in Group Policy, HOW TO ? and tagged , . Bookmark the permalink. 5 Comments.

  1. 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”

  2. Hi Liviu,
    Thanks for reply and sharing your information with us

  3. 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.

  1. Pingback: Change Local Admin w/Group Policy « Dennis' Tech Talk

Leave a comment