Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Renaming Computer...

Status
Not open for further replies.

nicknel9

Technical User
Dec 7, 2007
5
US
Hi all, Here is what I am trying to write a script for.. We have a new domain.. Out Techs will have to visit each computer and do these things can someone help with a script to do so..

1 Rename the Machine-
2 check for "admin" account if none add "admin" account make it part of administrators with the password of "tobad"
3 make sure rdp is turned on
4 join "CDS.local" domain
5 reboot

Is this task retarded or possible.. Any help including bits and pieces would help.. Thanks

Nic
 
You already have your rename script from another post though I would suggest you do that with a list of computers in Excel rather than an input box. Refer to my FAQ faq329-4871 for more info on how to do that.

Use the NETDOM resource kit utility which is easily scripted to join to the domain. From there you can add your admin ID using GPO and Restricted Groups. You can also turn on RDP via GPO.



I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top