Windows 2016 TP5 Add-WindowsFeature Fails for SharePoint 2016 Prerequisite Installer


Add-WindowsFeature : The request to add or remove features on the specified server failed.

Installation of one or more roles, role services, or features failed.

 

prerequisiteinstaller log shows:

2016-09-29 12:17:36 - Install process returned (0X3E8=1000)

2016-09-29 12:17:36 - [In HRESULT format] (0X800703E8=-2147023896)

2016-09-29 12:17:36 - Last return code (0X3E8=1000)

2016-09-29 12:17:36 - Reading the following DWORD value/name...

 

Resolved by running command outside of SharePoint prerequisite installer and mounting Windows 2016 ISO and pass the -Source command

Add-WindowsFeature NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-Pipe-Activation45,NET-WCF-HTTP-Activation45,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Asp-Net45,Web-Net-Ext,Web-Net-Ext45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Xps-Viewer -Source d:\sources\sxs

 

Success Restart Needed Exit Code     Feature Result

------- -------------- ---------     --------------

True   No             Success       {ASP.NET 4.6, .NET Framework 3.5 (includes...

Comments (0)

Skip to main content