I came across this error message today while installing an Exchange 2010 SP1 server.
Hub Transport Role
Failed
Error:
The following error was generated when "$error.Clear();
configure-WSManIISHosting -EnableKerberosModule;
" was run: "Failed to start WINRM service. Error: System.InvalidOperationException: Cannot start service winrm on computer ‘.’. —> System.ComponentModel.Win32Exception: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it
— End of inner exception stack trace —
at System.ServiceProcess.ServiceController.Start(String[] args)
at Microsoft.Exchange.Management.Deployment.ConfigureWSManIISHosting.ChangeWinrmServiceSettings()".
Failed to start WINRM service. Error: System.InvalidOperationException: Cannot start service winrm on computer ‘.’. —> System.ComponentModel.Win32Exception: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it
— End of inner exception stack trace —
at System.ServiceProcess.ServiceController.Start(String[] args)
at Microsoft.Exchange.Management.Deployment.ConfigureWSManIISHosting.ChangeWinrmServiceSettings()
Cannot start service winrm on computer ‘.’.
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it
Click here for help… http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.1.218.11&e;=ms.exch.err.Ex88D115&l;=0&cl;=cp
The culprit was IPv6, but the error wasn’t the usual “MSExchange Transport failed to reach status “running” on this server” explained here. The solution was the same though. If you have unchecked IPV6 in the NIC properties, then disable IPv6 fully using the registry, as explained here. If you have checked IPv6, make sure that it is not disabled in the registry.
In short, disable IPv6 fully or enable it fully for a successful Exchange 2010 installation.