System Center 2012 Virtual Machine Manager SP1 service deployment fails with error 22011
This article helps you fix an issue where Virtual Machine Manager can't deploy services from the service templates configured to install Windows Server Roles and Features that require a double reboot.
Original product version: System Center 2012 Virtual Machine Manager Service Pack 1
Original KB number: 2798401
System Center 2012 Virtual Machine Manager (VMM) Service Pack 1 (SP1) isn't 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.
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 doesn't 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.
System Center 2012 Orchestrator or 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 2012.
The required Windows Server Roles and Features can be installed via Group Policy using a startup script. For more information, see Assign Computer Startup Scripts.
You can also create a custom script to install Windows Server Roles and Features after the VMM service is successfully deployed.