Create a .reg file to change local admin password

  • Thread starter Thread starter hustedj
  • Start date Start date
H

hustedj

I would like to create a .reg file that when you click on it, it will change
the local admin password to what I want it to be. Is this possible? We are
trying to change a bunch of computers local admin passwords and I am looking
for an easy way to do it instead of going through the motions.

Thanks
 
hustedj,

I doubt you can do that with just a .reg file.
But you can definitely do that with .bat file (or any script you prefer). With batch file use console user manager (cusrmgr.exe from
Resource Kit).
A command like:
cusrmgr.exe -u administrator -m \\<machine_name> -P new_pass
will do the job for you.

Take a look at this article: http://www.winitpro.com/Windows/Article/ArticleID/24210/24210.html

Please be aware of the security hole you may open if you have the admin password in a plain text file.
 
I doubt you can do that with just a .reg file.

If it was possible then I would become very worried.

Regards,
Slobodan
 
Back
Top