change local administrator password

HI,  I have a client that have a building where they have at least 100 pcs and he have a domain working in WIndows 2008 R2.

Now he needs to change the administrator local password of the computers because some users are using the local admininistrator.

How can I change the administrator password without going to one by one pc.

Regards
britholAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AaronCommented:
Please see the following article.  This can be accomplished through Group Policy Preferences.

http://www.windowsecurity.com/articles/Top5-Security-Settings-Group-Policy-Windows-Server-2008.html
FarWestCommented:
try this script (put it in .vbs) and run it

------------------
On Error Resume Next

Const ADS_SCOPE_SUBTREE = 2

Set objConnection = CreateObject("ADODB.Connection")
Set objCommand = CreateObject("ADODB.Command")
objConnection.Provider = "ADsDSOObject"
objConnection.Open "Active Directory Provider"

Set objCommand.ActiveConnection = objConnection
objCommand.CommandText = _
    "Select Name From 'LDAP://DC=company,DC=com,DC=sa' Where objectClass='computer'"
objCommand.Properties("Page Size") = 1000
objCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE
Set objRecordSet = objCommand.Execute
objRecordSet.MoveFirst

Do Until objRecordSet.EOF
    strComputer = objRecordSet.Fields("Name").Value

    Set objuser = GetObject("WinNT://" & strComputer & "/Administrator")

    Wscript.Echo strComputer & "\\"& objuser.Name
     objuser.SetPassword("KeoIoad123")
    objRecordSet.MoveNext
Loop
------------------------------

good luck
SandeshdubeySenior Server EngineerCommented:
Use this excellent tool which can change any local password which is connected to domain assuming you have admin rights on local PC.

account manager 2.10

http://www.softpedia.com/get/System/System-Miscellaneous/Account-Manager.shtml
Krzysztof PytkoSenior Active Directory EngineerCommented:
Just only to add.

You may be interested also with that VBScript which is written very good
http://gallery.technet.microsoft.com/ScriptCenter/3433d078-821b-4a9c-83af-038e9893c864/

Besides that all, I would use GPP for that. It's much easier in implementation

Regards,
Krzysztof

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AaronCommented:
Brithol, were you able to resolve this issue with GPP or one of the mentioned scripts?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.