Solved

Renaming computers in domain

Posted on 2011-03-01
2
894 Views
Last Modified: 2012-06-22
I would like to use the below "single Line" command in a script to rename 100+ computers
but I would want it in a script so I would receive prompts for PASSWORD, OLD COMPUTER NAME and NEW COMPUTER NAME  I would also like to populate the AD/Computer table/Description as well. If the last one is not possible not a huge problem.

netdom renamecomputer Computername /newname:new_computername
/userd:domain\UserName /passwordd:password |* /usero:UserName
/passwordo:password |* /force /reboot:Time in seconds
0
Comment
Question by:jlspencer
2 Comments
 
LVL 3

Accepted Solution

by:
bull_dog9 earned 500 total points
ID: 35010746
Hi Here is an exemple of what you want to do using then netdom renamecomputer command with VBS.
http://www.wisesoft.co.uk/scripts/vbscript_rename_domain_computers_from_csv_file.aspx
hope this helps
0
 

Author Comment

by:jlspencer
ID: 35018230
That will not work as I will have to have them first join the domain via VPN. a CSV file assumes all computers are on the network.  I really don't mind doing them one at a time. So is it possible  to use a script for prompts and the netdom utility on Server 2003?

Thank you in advance.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Active Directory Automation 8 63
NTP Servers 4 42
Server 2008 Not services listed 23 44
Remote login in windows 7 8 28
IT certifications are a concrete representation of continual learning on the part of the candidate.  Continual learning is necessary for the long term success of an IT professional, but are IT certifications the right path for you?
Read about why it is more lucrative for an IT company to participate in government projects.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

685 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