[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

A script that will change name of local admin from "1" to "something" for all the computers on the network

Posted on 2009-07-13
7
Medium Priority
?
172 Views
Last Modified: 2013-11-25
Hello Expert
I am trying to write a script that will change the name of the local admin from "1" to"something" for all the computers on the network.
Please help
0
Comment
Question by:jimmy1829
[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
  • 4
  • 3
7 Comments
 
LVL 85

Accepted Solution

by:
oBdA earned 2000 total points
ID: 24842513
You don't need a script, you can do that with a group policy:
To rename the Administrator account using the Group Policy Management Console
http://technet.microsoft.com/en-us/library/cc747484(WS.10).aspx
HOW TO: Rename the Administrator and Guest Account in Windows Server 2003
http://support.microsoft.com/kb/816109
0
 

Author Comment

by:jimmy1829
ID: 24842564
thanks oBdA.
is this going to apply to all the computers in the network?
Do the computers have to be restarted to make the change?
0
 
LVL 85

Expert Comment

by:oBdA
ID: 24842621
To which machines it applies is only depending on where you link the GPO with the "rename administrator" policy.
For starters, you can just link it to an OU with just a few test machines in it. Once you've made sure it's working as it should, apply it to the other OUs where the machines are  for which you want to have the administrator renamed.
The machines don't have to be restarted, but it might take up to 90 minutes to apply the setting by themselves (unless you run a "gpupdate /target:computer" on them).
0
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.

 

Author Comment

by:jimmy1829
ID: 24842832
thanks again
how about change the password as well?
0
 
LVL 85

Assisted Solution

by:oBdA
oBdA earned 2000 total points
ID: 24843016
That's not possible with a policy, but you can do that remotely, for example, with PsPassWd: http://technet.microsoft.com/en-us/sysinternals/bb897543.aspx.
0
 

Author Comment

by:jimmy1829
ID: 24843305
thanks, I will try them
0
 

Author Comment

by:jimmy1829
ID: 24849216
Thanks oBdA
it worked! Great solution!
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Suggested Courses

650 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