Rename Virtual Machine Computer Name and Add into Domain.

Jun 10, 2009 at 7:26 PM

I have created a Base Virtual Machine and I am able to create the Copy of Base Virtual Machine with different VM Name using script , as it is creating copy from base, the Name of Computer is same as Base Virtual Machine. I want to change the Name of the computer (New Virtual Machine).

How I can change the “Computer Name” of newly created Virtual Machine and add that into Domain?

Thanks,

Pankaj

Coordinator
Jun 11, 2009 at 10:15 PM

In order to duplicate machines from a single image, you should read the Microsoft documentation on Sysprep for your version of Windows.  Sysprep will allow you to turn an installed operating system into a template for other systems.

http://technet.microsoft.com/en-us/library/bb457073.aspx

Make sure that you're syspreping your images before you make duplicates! 

For the computer name, and for joining a domain, you're going to want to use an unattended setup answer file (unattend.xml in Vista/2k8, sysprep.inf in earlier operating systems).

Jun 12, 2009 at 3:21 AM

Thanks for quick response, I will try with Sysprep, and I am sure it should solve my problem. Thanks again for perfect answer!

Pankaj