Solved

How can I push out local machine admin passwords?

Posted on 2004-09-03
6
519 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hardening guide / standard used on ATM machines 4 265
IE Plugin Issue 4 71
SSL certificate pack 6 158
How can we stop ransomware files from executing if it is downloaded?! 7 122
This is a guide to the following problem (not exclusive but here) on Windows: Users need our support and we supporters often use global administrative accounts to do this. Using these accounts safely is a real challenge. Any admin who takes se…
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

910 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

24 Experts available now in Live!

Get 1:1 Help Now