PC Review


Reply
Thread Tools Rate Thread

change local admin psw in AD

 
 
=?Utf-8?B?c3RlcGhlbiBKb2huc29u?=
Guest
Posts: n/a
 
      8th Mar 2007
We has someone leaving our Tech group so i need to change the admin name and
pswd.

I need to change the local admin psw on all our machines in AD. I'm an admin
in our OU and have an admin account on all the machines. I also have all the
current computer names.

I need to be able to change the admin pswd and admin name, and be able to
log successes and failures.
I belive this will change the local admin pswd but how do i change the name
and log the results.

On Error Resume Next
Set DomObj = GetObject("WinNT://Domain/Computer/Administrator,User")
DomObj.SetPassword "pswd"


any help would be appreciated
thanks

 
Reply With Quote
 
 
 
 
=?Utf-8?B?bmNhc2V5QG5vc3BhbS5wb3N0YWxpYXM=?=
Guest
Posts: n/a
 
      14th Mar 2007
To rename the “Local Adminstrator” ID on the computers create a new GPO.
Under “computer configuration” select Windows Settings, Security Settings,
Local Policies, Security Options: select “Accounts: Rename Administrator
Accounts” Enter new account name and select OK

Link the GPO to the OU where you have the computer accounts that you want
the local administrator account name changed.

Once that is done..to change the local administrator password:
you can type the following command: net user <user_name> <new_password>.
When you do so, the password changes without prompting you again. This
command also enables you to change passwords in a batch file.


"stephen Johnson" wrote:

> We has someone leaving our Tech group so i need to change the admin name and
> pswd.
>
> I need to change the local admin psw on all our machines in AD. I'm an admin
> in our OU and have an admin account on all the machines. I also have all the
> current computer names.
>
> I need to be able to change the admin pswd and admin name, and be able to
> log successes and failures.
> I belive this will change the local admin pswd but how do i change the name
> and log the results.
>
> On Error Resume Next
> Set DomObj = GetObject("WinNT://Domain/Computer/Administrator,User")
> DomObj.SetPassword "pswd"
>
>
> any help would be appreciated
> thanks
>

 
Reply With Quote
 
=?Utf-8?B?c3RlcGhlbiBKb2huc29u?=
Guest
Posts: n/a
 
      14th Mar 2007
thanks very much

"(E-Mail Removed)" wrote:

> To rename the “Local Adminstrator” ID on the computers create a new GPO.
> Under “computer configuration” select Windows Settings, Security Settings,
> Local Policies, Security Options: select “Accounts: Rename Administrator
> Accounts” Enter new account name and select OK
>
> Link the GPO to the OU where you have the computer accounts that you want
> the local administrator account name changed.
>
> Once that is done..to change the local administrator password:
> you can type the following command: net user <user_name> <new_password>.
> When you do so, the password changes without prompting you again. This
> command also enables you to change passwords in a batch file.
>
>
> "stephen Johnson" wrote:
>
> > We has someone leaving our Tech group so i need to change the admin name and
> > pswd.
> >
> > I need to change the local admin psw on all our machines in AD. I'm an admin
> > in our OU and have an admin account on all the machines. I also have all the
> > current computer names.
> >
> > I need to be able to change the admin pswd and admin name, and be able to
> > log successes and failures.
> > I belive this will change the local admin pswd but how do i change the name
> > and log the results.
> >
> > On Error Resume Next
> > Set DomObj = GetObject("WinNT://Domain/Computer/Administrator,User")
> > DomObj.SetPassword "pswd"
> >
> >
> > any help would be 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
How can I change the local admin password on 100's of PC's? Cyborg Windows XP General 5 24th Oct 2007 04:18 PM
local admin pwd change needed Jason Microsoft Windows 2000 Group Policy 4 22nd Mar 2004 08:08 PM
Change local admin password? Long Voong Microsoft Windows 2000 Group Policy 1 21st Jan 2004 03:00 AM
Change local admin/pass in W2k Pro/XP Carlos Microsoft Windows 2000 0 13th Nov 2003 03:41 PM
Change local admin pwd via GPO? john Microsoft Windows 2000 Group Policy 5 12th Sep 2003 05:41 PM


Features
 

Advertising
 

Newsgroups
 


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