Solved

Renaming computers in domain

Posted on 2011-03-01
2
876 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now