Re: Create a .reg file to change local admin password

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: KM (konstmor_at_nospam_yahoo.com)
Date: 10/28/04


Date: Thu, 28 Oct 2004 15:48:36 -0700

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.

-- 
 Regards,
        KM, BSquare Corp.
> 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


Relevant Pages

  • Re: Long Nights Ahead
    ... workstations. ... The script works for English and French XP (all my systems are ... reset the admin password on all the networks that we support. ... to change the local admin password on all workstations as well. ...
    (microsoft.public.windows.server.sbs)
  • Re: Create a .reg file to change local admin password
    ... > I doubt you can do that with just a .reg file. ... > Please be aware of the security hole you may open if you have the admin password in a plain text file. ... >> the local admin password to what I want it to be. ...
    (microsoft.public.windowsxp.embedded)
  • Re: for local admin password (after leaving domain to workgroup)
    ... I believe the only local user ... >domain administrator login. ... >local admin password. ... >and then change the local admin password. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Change local admin passwords on all domain PCs
    ... I understand if you don't want to explain every last detail of what you do for security reasons. ... It seems when you setup and deploy a new machine in the domain, you have to assign a local administrator password on that machine. ... And once you accept that the PC has a local admin password, then, for IT management reasons, it seems you have three choices... ...
    (microsoft.public.windows.server.active_directory)
  • Cant change local admin password
    ... local admin password, i cant chage my local password ... policies, but i can change other policies. ... This started after i changed my admin password, ... i cant change the password after that.. ...
    (microsoft.public.windowsxp.security_admin)