Exchange 2016 Prerequisites AS-HTTP-Activation Missing

The below was an exercise in paying attention to detail for one of my customers.  They were in the middle of an Exchange 2010 to 2016 migration and were attempting to install the first Exchange 2016 server into the organisation. Windows Server 2016 was being used as the OS for these new servers.

However it was not going swimmingly.

As part of the pre-work they were installing the OS, applying Windows updates and finally installing the Exchange 2016 prerequisites.  The required prerequisites for Exchange 2016 are documented on TechNet.

They copied over the list of OS prequistes, and then executed the command in an elevated PowerShell session.  The command used was:

Install-WindowsFeature AS-HTTP-Activation, Server-Media-Foundation, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-ADDS

 

This did not end well.  Red text in PowerShell can be easily classified as “bad”.

Install-WindowsFeature : ArgumentNotValid: The role, role service, or feature name is not valid: 'AS-HTTP-Activation'

For make most glorious benefit search engines:

Install-WindowsFeature : ArgumentNotValid: The role, role service, or feature name is not valid: 'AS-HTTP-Activation'.
The name was not found.
At line:1 char:1
+ Install-WindowsFeature AS-HTTP-Activation, Server-Media-Foundation, N ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidArgument: (AS-HTTP-Activation:String) [Install-WindowsFeature], Exception
+ FullyQualifiedErrorId : NameDoesNotExist,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand

 

Did they make a typo in that first OS component?  Let’s check to see what it is called in Windows using the Get-WindowsFeature cmdlet.  The result of which is shown below: Where Art Thou - AS-HTTP-ACTIVATION

Hmm.  Nowhere to be found.  That’s a bit weird.

Why is TechNet telling them to install something that does not exist?

 

The Command Awakens

Well, actually it did not tell them to install a non-existent component.

The underlying issue was that they did not scroll enough to get to the prerequisites section for Windows Server 2016 and were trying to install the Windows 2012 R2 prerequisites onto Windows Server 2016.

Yes – that is what the paying attention to detail comment above refers to.  The prerequisite list of components which they should have used for Windows Server 2016 is:

Install-WindowsFeature NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-ADDS

 

Note that there is no AS-HTTP-ACTIVATION in that list.

As you may expect, using the correct list of features on the corresponding version of Windows completed successfully:Successfully Installed Windows Server 2016 Prerequisites For Exchange Server 2016

 

Bootnote

I like to add the –Restart parameter so that the system restarts automatically.

Launching setup for it to them say there is a pending restart is frustrating, so I always restart after installing the relevant components.

Install-WindowsFeature NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-ADDS  -Restart

 

Cheers,

Rhoderick



from TechNet Blogs http://ift.tt/2DpbKDM
via IFTTT
Exchange 2016 Prerequisites AS-HTTP-Activation Missing Exchange 2016 Prerequisites AS-HTTP-Activation Missing Reviewed by Unknown on March 13, 2018 Rating: 5

No comments:

Powered by Blogger.