Solved

How can I push out local machine admin passwords?

Posted on 2004-09-03
6
527 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

In today's information driven age, entrepreneurs have so many great tools and options at their disposal to help turn good ideas into a thriving business. With cloud-based online services, such as Amazon's Web Services (AWS) or Microsoft's Azure, bus…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 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