Solved

Microsoft, Server 2003, sp2, Active Directory

Posted on 2008-06-25
5
219 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Here's a look at newsworthy articles and community happenings during the last month.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

632 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