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.

    To activate the guest operating system:
    1. Right-click the virtual machine and click Convert to Virtual Machine.
    2. Log in to the guest operating system.
    3. Navigate to Start > Control Panel.
    4. Activate Windows 2008 R2 with a valid Microsoft Volume License key
    5. Click Start, right-click Computer, and click Properties.
    6. In the Properties window, verify that the operating system is now licensed.
    7. Shutdown the guest operating system.
    8. Right-click the virtual machine and click Convert to Template.
  • Reset SkipRearm in the guest operating system.

    To reset SkipRearm in the guest operating system:
    1. Right-click the virtual machine and click Convert to Virtual Machine.
    2. Log in to the guest operating system.
    3. Click Start > Run, type cmd, and click OK. The Command Prompt window opens.
    4. Run the cd\ command.
    5. Run this command to reset SkipRearm:

      c:\slmgr -rearm

      Note: slmgr.vbs can be located at C:\windows\system32.
       
    6. Click Start > Run, type %temp%, and click OK.
    7. Delete all contents in this directory.
    8. Shutdown the guest operating system.
    9. Right-click the virtual machine and click Convert to Template.

      Note: You now have 180 days, per Microsoft licensing, to use and deploy this template before it becomes unusable.