Solved

How can I push out local machine admin passwords?

Posted on 2004-09-03
6
515 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now