Solved

How can I push out local machine admin passwords?

Posted on 2004-09-03
6
521 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

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…
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

785 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