windows

Creating a VMware Template for Windows Server 2008R2 using the Windows AIK

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

Windows Activation Scripting

Activate Windows Offline


Uses the offline method to activate Windows. Requires a valid activation number

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colWindowsProducts = objWMIService.ExecQuery _
    ("Select * from Win32_WindowsProductActivation")

For Each objWindowsProduct in colWindowsProducts
    objWindowsProduct.ActivateOffline("1234-1234")
Next
	

Activate Windows Online


Deploying a Windows 2008 R2 template on vSphere operating system customization does not complete

 
To workaround this issue, try one of these options:
  • 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.

Deploying a Window Server 2008 R2 VMware Template and Joining It To A Domain

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.

Pages

Subscribe to RSS - windows