The setup fails because it is unable to install windows server roles and features
Upgrading or installing IAS onto a server without connection to Windows Update service, the setup could fail with error message "Unable to install Windows Server 201X roles and features".
The setup is trying to install a windows role that is not already installed; this operation fails whenever the server has no connection to Windows Update service.
- Connect the machine to internet and retry will resolve the issue.
- Otherwise if you are upgrading the IAS, run the setup from command line with /FORCE option.
Select Yes when the setup ask "Unexpected error. Unable to install Windows Server 201X roles and features... You can skip this operation and continue anyway. Proceed?"
- If you are installing IAS, download the zip attachment.
In PowerShell (as Administrator) run the command (according to operating system version):
installRolesAndFeaturesOneByOne.ps1 -configurationFile .\rolesFeaturesWindowsServer2012R1.txt
installRolesAndFeaturesOneByOne.ps1 -configurationFile .\rolesFeaturesWindowsServer2012R2.txt
installRolesAndFeaturesOneByOne.ps1 -configurationFile .\rolesFeaturesWindowsServer2016.txt
and then run the setup from command line with /FORCE option.
This article was:
Thank you for your feedback!
|rolesAndFeaturesError.png (19 kb)|
|FeaturesAndRolesOneByOne.zip (2 kb)|
|Error "The platform specified using the command line...||Could not load file or assembly 'Ias.Web' or one of its...|