Solved

Microsoft, Server 2003, sp2, Active Directory

Posted on 2008-06-25
5
197 Views
Last Modified: 2010-04-21
Hello,
I need to change the local admin pswd and admin name in AD to all of our workstations. I have over 1000 workstaion. I want to be able to push it with AD, it is possible? Thanks
0
Comment
Question by:FonziM
5 Comments
 
LVL 8

Expert Comment

by:DenverRick
ID: 21868402
You can use Group Policy to rename the account, however, you will have to write a script to change the password as this cannot be done via GP.

Computer Configuration > Windows Settings > Security Settings > Local
Policies > Security Option you will find "Accounts: Rename administrator
account"

0
 
LVL 7

Accepted Solution

by:
txhockey26 earned 500 total points
ID: 21868568
Following is a script you can use to change the local admin password on the workstations in your network.

<This first line is the path in AD where all your workstations sit>
Set objOU = GetObject("LDAP://OU=Workstations, OU=ou, DC=domain, DC=local")  
objOU.Filter = Array("Computer")

For Each objItem in objOU
    strComputer = objItem.CN
    Set objUser = GetObject("WinNT://" & strComputer & "/<local admin name>")
    objUser.SetPassword("<put password here>")
Next
0
 
LVL 8

Expert Comment

by:DenverRick
ID: 21868640
Nice script tx.
DR
0
 
LVL 30

Expert Comment

by:LauraEHunterMVP
ID: 21868683
Another option is to deploy the Group Policy Preferences extensions, which will allow you to both rename and change passwords via policy:

http://www.windowsecurity.com/articles/Top5-Security-Settings-Group-Policy-Windows-Server-2008.html

Deployment caveat - requires you to use a Vista SP1 workstation to create/manage your GPOs. Good news is that it doesn't require 2008 AD, and there's down-level support for GP Preferences on XP and 2003.
0
 

Author Closing Comment

by:FonziM
ID: 31470686
Thanks. That work.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Mapping Drives using Group policy preferences Are you still using old scripts to map your network drives if so this article will show you how to get away for old scripts and move toward Group Policy Preference for mapping them. First things f…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question