?
Solved

Reset Local Administrator password with Group Policy.

Posted on 2004-09-15
3
Medium Priority
?
6,987 Views
Last Modified: 2008-03-06
Hi
I would like to reset the Local Administrator's password on about 300 pc. Is it possible with an Group Policy??

Thank you

Tonie.
0
Comment
Question by:Tonie16
  • 2
3 Comments
 
LVL 58

Accepted Solution

by:
Pete Long earned 225 total points
ID: 12062248
Though GPO, Im not sure (I dont think so)

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 3

Author Comment

by:Tonie16
ID: 12063411
Thank you, it works nice.

Tonie
0
 
LVL 58

Expert Comment

by:Pete Long
ID: 12066392
ThanQ
0

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

To share tips on how to stay ALERT and avoid being the next victim - at least not due to your own poor cyber habits and hygiene!
It has been a full year since one of the worst ransomware attacks we have seen, the Wannacry attack last year. The attacks have changed.  The way we are addressing them has also changed, but maybe not enough.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

589 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