System Center 2012 Virtual Machine Manager SP1 Service Deployment fails with error 22011

Article ID: 2798401
Expand all | Collapse all

Symptoms

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: 

Error (22042)
The service (<ServiceName>) was not successfully deployed. Review the event log to determine the cause before you take corrective action. 
Recommended Action 
The deployment can be restarted by retrying the job.

Error (22011)
VMM failed to enable the specified server features (Web-Asp-Net;Web-ISAPI-Ext;PowerShell-ISE;Web-Server;Web-Dir-Browsing;Web-Client-Auth;AS-HTTP-Activation;Web-Filtering;Web-Dyn-Compression;Web-WebServer;Web-Request-Monitor;WAS-Process-Model;Web-Url-Auth;Backup-Tools;Web-IP-Security;AS-TCP-Activation;Web-Performance;Web-App-Dev;Web-Http-Errors;Web-Mgmt-Tools;NET-Framework-Core;NET-HTTP-Activation;Web-ISAPI-Filter;AS-Named-Pipes;AS-Web-Support;Web-WMI;Web-Mgmt-Compat;Web-Lgcy-Mgmt-Console;File-Services;Web-Metabase;AS-Dist-Transaction;AS-Ent-Services;Web-Cert-Auth;Web-Security;Web-Common-Http;Web-Mgmt-Service;WAS-Config-APIs;SNMP-Services;FS-FileServer;Ink-Handwriting;MSMQ-Server;Web-CGI;NET-Non-HTTP-Activ;AS-TCP-Port-Sharing;MSMQ-Services;WAS;Backup;MSMQ-DCOM;AS-Outgoing-Trans;Web-Http-Tracing;Web-Mgmt-Console;Web-Log-Libraries;Web-Windows-Auth;Web-Basic-Auth;WinRM-IIS-Ext;Web-ODBC-Logging;IH-Ink-Support;Web-Http-Redirect;Web-Health;AS-NET-Framework;Backup-Features;AS-MSMQ-Activation;WAS-NET-Environment;MSMQ-HTTP-Support;Web-Static-Cont) on the guest virtual machine (<VMNAME>). For more information, log on to the virtual machine and look in the event logs (). 

Recommended Action 
Log on to the virtual machine and look in the event logs.

Error (20400)
1 parallel subtasks failed during execution.

Error (21952)
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. 
Recommended Action 
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.

Cause

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.

Resolution

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. 

More information

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2798401 - Last Review: January 15, 2013 - Revision: 1.0
Keywords: 
KB2798401

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com