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)
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?
>
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
))
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.