Solved

How can I push out local machine admin passwords?

Posted on 2004-09-03
6
523 Views
Last Modified: 2013-12-04
Hello all -

I am in a situation where the PCs in AD here all have different local passowrds for the Administrator account. Some may be set to <none>.

I want to find a way to push out to all PCs a local administrator password that I choose.

How can this be done?

Thanks in advance!

J
0
Comment
Question by:zeroiq01
  • 4
  • 2
6 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 11973285
Change All Local Admin Passwords


Change Local Administrator Password Remotely
 

Download the utility 'cryptpwd' from :
http://www.jsiinc.com/dl/cryptpwd.zip

Now just create a text file containing all your server names
(e.g. serverlist.txt) and then create a batch file with the following line :

FOR /F %%x in (serverlist.txt) do cryptpwd -m \\%%x -P newpassword

(where newpassword is the password you want to set as the
local administrator password on the servers.)

(You obviously need to have admin. rights to the servers in order
to change the password.)

This method changes the password immediately.


From http://infocenter.cramsession.com/TechLibrary/GetHtml.asp?ID=1373&CatID=267

For a VB Solution see http://www.experts-exchange.com/Security/Win_Security/Q_20946526.html
http://www.microsoft.com/technet/community/scriptcenter/user/scrug74.mspx

For a WMI Solution see http:Q_21098121.html#11852516

Also see
Program: ResetPW.EXE: Remote Password Change Utility
http://wettberg.home.texas.net/resetpw.htm
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 11973304
0
 

Author Comment

by:zeroiq01
ID: 11973607
OK - that helps, but I need more information.

I have about 60 machines I need to do this on, and I don't know of a way to push out AD computer names into a text file.
How does one do that?

In lieu of that, is their a Microsoft supported solution fo rdoing this?

Thanks.
J
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 57

Accepted Solution

by:
Pete Long earned 125 total points
ID: 11973711
in AD users and computers open the computer container, one of the options at the top lets you export them as a .csv file

you can then open the .csv file with either notepad or Excell and copy and pase the computernames out :)

you can the write a simple batch file using the resetPW.exe (link above) NOTE do this under an account with admin priveledges.

obviously you will need to arrange for all the PC's to be ON when you run it - if anyone fails then you can see the error level and it will tell you which machine you have missed
0
 

Author Comment

by:zeroiq01
ID: 11974147
Thanks!

J
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 11974153
No Probs......ThanQ
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, a new law in my state forced us to get a top-to-bottom analysis of all of our contract client's networks. While we have documentation, it was spotty at best for some - and in any event it needed to be checked against reality. That was m…
Users of Windows 10 Professional can disable automatic reboots using the policy editor. This tool is not included in the Windows home edition. But don't worry! Follow the instructions below to install (a Win7) policy editor on your Windows 10 Home e…

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question