Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > script to change local machine administrator password?

script to change local machine administrator password?

Forum Windows 2000/NT : Windows 2000/NT General Discussion - script to change local machine administrator password?

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.de.german.win2000.active_directory,microsoft.public.de.german.win2000.networking,microsoft.public.win2000.setup (More info?)

 

I'm trying to find a script that I can use to change the LOCAL computers
administrator account password when a user logs on to the network so
that I don't have to visit 100+ computers and do it manually.

Any ideas or better solutions?

Thanks.

--
--
spamfree999@rrohio.com
(Remove 999 to reply to me)

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.de.german.win2000.active_directory,microsoft.public.de.german.win2000.networking,microsoft.public.win2000.setup (More info?)

 

Leythos wrote:

Did you notice "de.german" in the newsgoup names?

> I'm trying to find a script that I can use to change the LOCAL
> computers administrator account password when a user logs on to the
> network so that I don't have to visit 100+ computers and do it
> manually.
>
> Any ideas or better solutions?
>

Use psexec from www.sysinternals.com to call "net user" on the remote
machine.

Maybe you can use a NetBIOS browser query to obtain a machine list:

for /f "skip=3 tokens=2" %%a in ('browstat dumpnet') do (
for /f "tokens=1 skip=3 delims=\ " %%i in ('browstat view %%a') do (
psexec \\%%i net user Administrator NewPassword
))

--
Gruß Jörg

Reply to Anonymous
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > script to change local machine administrator password?
Go to:

There are 1007 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them