PC Review


Reply
Thread Tools Rate Thread

Change Local Administrator Password on 9000 WS via AD

 
 
=?Utf-8?B?bG9hZmNsb3Zlcg==?=
Guest
Posts: n/a
 
      5th Dec 2005
We need to change local administrator password on 9000 workstartion and was
wondering if this can be done by creating a script and deploying it by AD.

Can someone please help and advise. Any help would be grately appreciated.

Thanks
 
Reply With Quote
 
 
 
 
Rodney Buike [MVP - Directory Services]
Guest
Posts: n/a
 
      5th Dec 2005
http://www.vbskrypt.com/index.php?/a...Computers.html

That should help, or at least get you going in the right direction.

Rod

"loafclover" <(E-Mail Removed)> wrote in message
news:C4777484-8010-4166-8E85-(E-Mail Removed)...
> We need to change local administrator password on 9000 workstartion and
> was
> wondering if this can be done by creating a script and deploying it by AD.
>
> Can someone please help and advise. Any help would be grately appreciated.
>
> Thanks



 
Reply With Quote
 
=?Utf-8?B?bG9hZmNsb3Zlcg==?=
Guest
Posts: n/a
 
      5th Dec 2005
Hi Rodney,
Many thanks for your reply. I have had a look and have a
question for you. Would this be an automated process or manual as in do I
have to type the computer name individually for each client machine that
needs local admin password resetting ?

What I would ideally like to do is change local admin password on all the
9000 clients by implementing a group policy which will run this script.

Please advise.

Thanks.


"Rodney Buike [MVP - Directory Services]" wrote:

> http://www.vbskrypt.com/index.php?/a...Computers.html
>
> That should help, or at least get you going in the right direction.
>
> Rod
>
> "loafclover" <(E-Mail Removed)> wrote in message
> news:C4777484-8010-4166-8E85-(E-Mail Removed)...
> > We need to change local administrator password on 9000 workstartion and
> > was
> > wondering if this can be done by creating a script and deploying it by AD.
> >
> > Can someone please help and advise. Any help would be grately appreciated.
> >
> > Thanks

>
>
>

 
Reply With Quote
 
Rodney Buike [MVP - Directory Services]
Guest
Posts: n/a
 
      5th Dec 2005
That would do one at a time manually.

Try this

sPassword = "" ' put your static password here
sComputer = "."
Set oUser = GetObject("WinNT://" & sComputer & "/Administrator, user")
WScript.Echo "changing the password on " & sComputer & " to " & sPassword
oUser.SetPassword "'" & sPassword & "'"
oUser.SetInfo
If (err.Number <> 0) Then
MsgBox Err.Description,,"Error!"
Else
MsgBox "Password Change is complete",,"Completed"
End if


--
Rodney Buike
MVP Windows Server - Directory Services

http://thelazyadmin.com

"loafclover" <(E-Mail Removed)> wrote in message
news:6FC4779C-9F26-4126-B755-(E-Mail Removed)...
> Hi Rodney,
> Many thanks for your reply. I have had a look and have a
> question for you. Would this be an automated process or manual as in do I
> have to type the computer name individually for each client machine that
> needs local admin password resetting ?
>
> What I would ideally like to do is change local admin password on all the
> 9000 clients by implementing a group policy which will run this script.
>
> Please advise.
>
> Thanks.
>
>
> "Rodney Buike [MVP - Directory Services]" wrote:
>
>> http://www.vbskrypt.com/index.php?/a...Computers.html
>>
>> That should help, or at least get you going in the right direction.
>>
>> Rod
>>
>> "loafclover" <(E-Mail Removed)> wrote in message
>> news:C4777484-8010-4166-8E85-(E-Mail Removed)...
>> > We need to change local administrator password on 9000 workstartion and
>> > was
>> > wondering if this can be done by creating a script and deploying it by
>> > AD.
>> >
>> > Can someone please help and advise. Any help would be grately
>> > appreciated.
>> >
>> > Thanks

>>
>>
>>



 
Reply With Quote
 
Cary Shultz
Guest
Posts: n/a
 
      5th Dec 2005
This is a very common question in the AD news group. Look at cusrmgr.....

--
Cary W. Shultz
Roanoke, VA 24012
"loafclover" <(E-Mail Removed)> wrote in message
news:C4777484-8010-4166-8E85-(E-Mail Removed)...
> We need to change local administrator password on 9000 workstartion and
> was
> wondering if this can be done by creating a script and deploying it by AD.
>
> Can someone please help and advise. Any help would be grately appreciated.
>
> Thanks



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Local Administrator password Auto-Change Juan E. Gómez Windows XP Security 2 12th Dec 2008 09:59 PM
Change local administrator password for all PCs in the domain =?Utf-8?B?TGlzYQ==?= Microsoft Windows 2000 1 26th Oct 2005 08:25 PM
Logging as a domain administrator in a XP but I can't change the local administrator password Charles Windows XP Help 0 1st Apr 2004 07:50 PM
Logging as a domain administrator in a XP but I can't change the local administrator password Charles Windows XP Help 0 1st Apr 2004 07:43 PM
Loging as a domain administrator in a XP but I can't change the local administrator password. Charles Windows XP Security 0 1st Apr 2004 07:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:27 AM.