FAQ: All required IIS roles are not installed -OR- You are not logged in as an administrator

When using PortalGuard are you having a problem because all required IIS roles are not installed or you are not logged in as an administrator (on Windows 2008 R2).

Problem:

Launching the PortalGuard (64-bit) MSI and clicking “Next” on the “Welcome” dialog, results in the following error message:

All required IIS roles are not installed -OR- You are not logged in as an administrator

If you know that the logged in user does not have admin privileges, the next step is to launch the CMD prompt as an administrator:

CMD prompt as an administrator

From within the CMD dialog perform the following:

1.       Change Directory to the location of the PortalGuard MSI

2.       Run “msiexec.exe /I <name of the MSI>

S Solution:

If the logged in user does have the correct privileges, or running the MSI from the elevated CMD box returns the same error, perform the following steps:

  1. Open the Server Manager from Start->Administrative Tools->Server Manager
  2. Navigate to Server Manager->Roles->Web Server (IIS)
  3. Under the “Web Server (IIS)” pane on the right, scroll down to the “Role Services” section.Web Server(IIS) Role Services pane
  4. Click on the “Add Role Services” link
  5. Verify that the following three sections are all selected:Selection of Roles in PortalGuard
  6. Click “Next” and then “Install”.
  7. It will take some time for the new roles to be installed.
  8. Finally find the “Installation succeeded” message and click “Close”.
  9. Running the MSI should no longer result in that error message.
Main menu