Solved

Renaming computers in domain

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
How many times a day do you open, acknowledge, or close an IT incident? What’s your process? Do you have a process depending on the incident, systems involved, and other factors? New Relic Alerts gives you options for how you interact with notifica…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
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…

734 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