Saturday, May 12, 2018

Error Add-WindowsFeatures: The request to add or remove features on the specified server failed - Skype for business Prerequisites



Issue:


Hope this error most of them has been faced! but when we are in a tight schedule these kind of issues waste our time.





This error comes when you try prerequisites using PowerShell for Skype for Business deployment.


Add-WindowsFeature NET-Framework-Core, RSAT-ADDS, Windows-Identity-Foundation, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, Web-Asp-Net, Web-Net-Ext, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor, Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compression, Web-Dyn-Compression, NET-WCF-HTTP-Activation45, Web-Asp-Net45, Web-Mgmt-Tools, Web-Scripting-Tools, Server-Media-Foundation -Restart
Solution:


Add to few commands to the PowerShell script "-Source D:\sources\sxs"


Following will be the disk/ISO path, basically we pointing to the script exact location where sxs is available and you don't have to copy these files from ISO to local server.


Disk path if someone not clear on above





After changes script will be like this

Add-WindowsFeature NET-Framework-Core, RSAT-ADDS, Windows-Identity-Foundation, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, Web-Asp-Net, Web-Net-Ext, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor, Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compression, Web-Dyn-Compression, NET-WCF-HTTP-Activation45, Web-Asp-Net45, Web-Mgmt-Tools, Web-Scripting-Tools, Server-Media-Foundation -Restart -Source D:\Sources\sxs

This will solve the problem.

Enjoy!

Madushka Dias








1 comment:

  1. They're also very responsive, provide a lot of valuable feedback, and deliver on time.
    best UX design

    ReplyDelete

Teams dial pad missing due to Microsoft backend replication (The issue is due to RegistrarPool being Null after migrating users to Teams)

I had very interesting experience recently related to user migration from Skype for business to Teams direct routing.  Most common issue is ...