I’ve been experimenting with creating a good Windows Server 2008 R2 template for VMware vSphere 4 and wondered just how many times Microsoft would allow an activation on the same MSDN license key (Multiple Activation) for the OS. I often deploy multiple servers at a time and am always fearful of activating since I don’t want the key to be shut off. Typically I only run these servers for short periods of time so not activating is no big deal, however in longer running projects I often have no choice but to either activate or destroy and redeploy. With information that I’ve come across on
Use the WMIC.EXE with an example command as below:
wmic.exe /interactive:off ComputerSystem Where “name = ‘%computername%’” call JoinDomainOrWorkgroup AccountOU=”OU=XP Workstations;DC=my;DC=domain;DC=com” FJoinOptions=1 Name=”my.domain.com” Password=”xyz” UserName=”email@example.com”
We had the same issue here. We solved it using the customization spezification with sysprep functionality to add the VM`s to a specific OU.
MAK activation is used for one-time activation through Microsoft’s hosted activation services, with no renewals required. For background information about MAK activation, see the Volume Activation 2.0 Planning Guide at http://technet.microsoft.com/en-us/library/cc303276.aspx.
- Activate the guest operating system with a valid Microsoft Volume License Key, so that the operating system is activated and can convert the virtual machine to a template.
Based on original articles located here: http://itnervecenter.com/content/deploying-window-server-2008-r2-vmware-template-and-joining-it-domain
and VMware communities article located here: http://communities.vmware.com/thread/251925
Can't get your Windows Server 2008 R2 virtual machine deployed from a vCenter template to join a Windows Active Directory domain. Try the following tips.
Unselect IPv6 from the properties of your NIC.
Under the regkey HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters, add a 32 bit DWORD with the name DisabledComponents and value 0xFFFFFFFF.
Reboot the machine.