Article ID: 2798401
System Center 2012 Virtual Machine Manager SP1 (VMM) is not able to deploy services from the service templates that are configured to install Windows Server Roles and Features that require a double reboot. The VMM job fails with some or all of the following errors:
The service (<ServiceName>) was not successfully deployed. Review the event log to determine the cause before you take corrective action.
The deployment can be restarted by retrying the job.
Log on to the virtual machine and look in the event logs.
1 parallel subtasks failed during execution.
Application deployment failed for one or more tiers or application hosts in the service (<ServiceName>). Check job logs to get more information on the failed operation.
Check error messages and retry the operation if needed.
NOTE Some Windows Server Roles and Features that require a double reboot include, but are not limited to, the following: Desktop Experience, Ink and Handwriting Services, Media Foundation.
When the service is deployed, the Windows server Roles and Features are installed in bulk. If there is a Role or a Feature that requires a double reboot, Virtual Machine Manager does not have the ability to parse the results of the Roles and Features installation to know which ones require another reboot.
VMM cannot be used to deploy services that are configured to install Windows Server Roles or Features that require a double reboot, although there are other options available that can be used after the VMM service is successfully deployed.
1. System Center 2012 Orchestrator / System Center 2012 Orchestrator SP1: Orchestrator Runbooks can be used to install the Windows Server Roles and Features using the PowerShell cmdlets for Windows Server 2008 R2 or Windows Server 2012.
-Using Runbooks in System Center 2012 - Orchestrator - http://technet.microsoft.com/en-us/library/hh403791
-System Center 2012 Orchestrator–RunBook Basics - http://blogs.technet.com/b/meamcs/archive/2012/03/06/system-center-2012-orchestrator-runbook-basics.aspx
-Adding Server Roles and Features (Windows Server 2008 R2) - http://technet.microsoft.com/en-us/library/cc732263.aspx
-Adding Server Roles and Features (Windows Server 2012) - http://technet.microsoft.com/en-us/library/hh831809.aspx
2. The required Windows Server Roles and Features can be installed via Group Policy using a startup script See the following for more information:
-Assign Computer Startup Scripts - http://technet.microsoft.com/en-us/library/cc754995.aspx
3. You can also create a custom script to install Windows Server Roles and Features after the VMM service is successfully deployed.
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.
Article ID: 2798401 - Last Review: January 15, 2013 - Revision: 1.0