Solved

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

Posted on 2009-03-29
4
396 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

There are many reasons a PC runs slower than when it was new, ranging from malicious software intended to mess things up to simple general Windows use.  Your PC performance may slowly degrade over time without you noticing but when you buy a PC from…
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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…

809 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