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

x
?
Solved

Renaming computers in domain

Posted on 2011-03-01
2
Medium Priority
?
924 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 2000 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

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

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

Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

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