How do I change multi PC's (in Domain) local's administrator password

Comments

6 comments

  • Wei

    You can do it with PowerShell or setup Microsoft LAPS to rotate your local admin password.

    $Admin_Account = Get-LocalUser -Name "Your_local_admin"
    $Admin_Account | Set-LocalUser -Password $New_Password
    
    0
    Comment actions Permalink
  • Adrian Yhy

    There are reasons as to why we have PDQ deploy & PDQ inventory enterprise (licensed).....one of it is that there are logs.... Then also we can monitor which machines have changed.....

    To do remotely, how to set powershell commands for 12,000 machines ??

    0
    Comment actions Permalink
  • Wei

    Step 1, Create your code and test it locally Step 2, Build package with your code Step 3, Test your package with a small target list Step 4, If everything works out well, you can do the production roll out to all your 12k machines with a scheduled deployment in PDQ Deploy. https://support.pdq.com/knowledge-base/1518-tutorial-attaching-multiple-packages-to-schedule

    0
    Comment actions Permalink
  • Brad McClave

    I agree wit @Wei in that this should be done with LAPS. It's going to be far more secure than a one time set-it-and-forget-it. The passwords are regularly and randomly changed and recorded in Active Directory so only admins have access to them.

    https://blogs.msdn.microsoft.com/laps/

    1
    Comment actions Permalink
  • maki

    Just tested 4 phun freeware "NetWrix Bulk Password Reset" and changed 10 000 PC admin accounts

    0
    Comment actions Permalink
  • Wizz

    Yoh, i've created a post to do this, i hope it's not too late for you. Can help others.

    I present it for PDQ Inventory tools, but it's just a Powershell script.

    https://help.pdq.com/hc/en-us/community/posts/360054737412-Change-Remote-Local-Admin-s-Password

     

    Enjoy :)

    0
    Comment actions Permalink

Please sign in to leave a comment.