Knowlege base

The setup fails because it is unable to install windows server roles and features

Article ID: 652
Last updated: 09 Mar, 2022
Applies from Application Suite 2019.1.1

Applies to

ApplicationSuite 2019.Winter.1

Description

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".

Cause

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. 

Solution

  1. Connect the machine to internet and retry will resolve the issue.
  2. 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?"
  3. 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 

or

installRolesAndFeaturesOneByOne.ps1 -configurationFile .\rolesFeaturesWindowsServer2012R2.txt

or

installRolesAndFeaturesOneByOne.ps1 -configurationFile .\rolesFeaturesWindowsServer2016.txt

and then run the setup from command line with /FORCE option.

Article ID: 652
Last updated: 09 Mar, 2022
Revision: 7
Views: 1278
Print Export to PDF Subscribe Share
This article was:  
Attached files
file rolesAndFeaturesError.png (19 kb)
file FeaturesAndRolesOneByOne.zip (2 kb)

Prev   Next
Error "The platform specified using the command line...     Could not load file or assembly 'Ias.Web' or one of its...