I have a large number of PCs that have moved from another location. These PC machine names are incorrect. They are in an Active Directory Domain under the old name. Is there a method or utility to quickly rename these computer accounts, or must they all be removed, renamed and rejoined to AD?

    Requires Free Membership to View

One way to do this would be through a script, and Microsoft has some details on how to rename a computer programmatically using VBScript. It ought to be possible to generate multiple copies of this script that do the renaming automatically, or (if you know someone savvy enough with scripting) have it look up the old names and replace them with the new ones from a matching .CSV or text file.

This was first published in October 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: