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
Solved

Creating a script to change local administrator account in all computers on startup

Posted on 2009-03-29
4
404 Views
Last Modified: 2012-05-06
Hi everybody.

My platform consists of a Windows Server 2003 R2 domain, with several member servers, and 400 desktops/laptops computers.

Each computer runs Windows 2000 (server & professional), XP, Vista, 2003 (server).

The local administrator account had been renamed to meet corporate IT security policies.

I need to create a GPO to run a Startup or Logon script as a way to guarantee that the local admin account on each workstation or member server change as Security Officer request.

We don't want to use utilities like PDPASSWD because we want to guarantee that all machines change password independly their are online or offline.

Can you suggest me an alternative.

Thanks a lot..!
0
Comment
Question by:goltrek
  • 2
  • 2
4 Comments
 
LVL 54

Expert Comment

by:McKnife
ID: 24013635
You say, "it had been renamed" - so what task is left, then? There are GPOs to rename that account, it's at computer config - windows settings - security settings - local policies - security options.
0
 

Author Comment

by:goltrek
ID: 24013702
Sorry, I mean: "It has been renamed". All local administrator accounts are renamed manually before the computers are delivered to users.
0
 

Author Comment

by:goltrek
ID: 24013711
And additionally I miss a phrase: That we need is to change all local administrator passwords remotely and automatically.
0
 
LVL 54

Accepted Solution

by:
McKnife earned 500 total points
ID: 24013754
Take a domain startup script that goes
net user administrator newpassword
net user newadminname newpassword
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

Suggested Solutions

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

829 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