- Changing local Administrator account password
- Posted by Richard on December 22nd, 2005
All,
How can I change the local "Administrator" password on some 500+
workstations without having to visit each machine. Is there a script or
batch file that can be created and run via GPO in active directory? Or
third party tool? Your response is greatly appreciated.
- Posted by Pegasus \(MVP\) on December 22nd, 2005
"Richard" <rdumag@hotmail.com> wrote in message
news:OlKoUI0BGHA.4004@tk2msftngp13.phx.gbl...
> All,
>
> How can I change the local "Administrator" password on some 500+
> workstations without having to visit each machine. Is there a script or
> batch file that can be created and run via GPO in active directory? Or
> third party tool? Your response is greatly appreciated.
If the file c:\PCs.txt contains a list of every PC then
you can run this command from your own PC:
for /F %a in (c:\PCs.txt) do psexec \\%a net user admin NewPassword
psexec.exe is available from www.sysinternals.com.
- Posted by Richard on December 22nd, 2005
Thanks Pegasus! Will try this out and let you know.
"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:ebzX1Z0BGHA.1288@TK2MSFTNGP09.phx.gbl...
>
> "Richard" <rdumag@hotmail.com> wrote in message
> news:OlKoUI0BGHA.4004@tk2msftngp13.phx.gbl...
> > All,
> >
> > How can I change the local "Administrator" password on some 500+
> > workstations without having to visit each machine. Is there a script or
> > batch file that can be created and run via GPO in active directory? Or
> > third party tool? Your response is greatly appreciated.
>
> If the file c:\PCs.txt contains a list of every PC then
> you can run this command from your own PC:
>
> for /F %a in (c:\PCs.txt) do psexec \\%a net user admin NewPassword
>
> psexec.exe is available from www.sysinternals.com.
>
>