SCOM 2012 – Installing Pre-requisites for Web Console

Sometimes it takes time to install pre-requisites especially for the SCOM web console. There you need IIS, .NET Framework 3.5.1 and tons of IIS modules. There is a way to simplify. Use Powershell Smiley.

To get an overview what has been installed type:


If you want to see what IIS options has been installed, filter the data by typing:

Get-WindowsFeature Web*


Now on the most right column you also see the name of the module you would have to add.

To install SCOM 2012 web console requirements import first the ServerManager Module and then use Add-WindowsFeature to add all the modules SCOM 2012 web console needs as pre-requisite. It looks like this…

Import-Module ServerManager

Add-WindowsFeature NET-Framework-Core,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Asp-Net,Web-Http-Logging,Web-Request-Monitor,Web-Windows-Auth,Web-Filtering,Web-Stat-Compression,Web-Metabase,AS-Web-Support –restart

If you installed .NET 4 Framework before installing the IIS part then you have to register the .NET 4 Framework in IIS and also register the CGI and ISAPI filters. You can do this be typing these commands…

%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -r

c:\windows\system32\inetsrv\appcmd set config /section:isapiCgiRestriction /[path=`’C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll`’].allowed:True

If you are a smart kind of guy then you dump all these lines into a Powershell file and you will never ever have to go and select every single IIS module in the setup wizard Zwinkerndes Smiley.

5 Replies to “SCOM 2012 – Installing Pre-requisites for Web Console

  1. Thanks! This is an awesome post.
    1) It would be helpful to specify that you need to import the “ServerManager” module before you can even use “Get-WindowsFeature”.
    2) This command would not work in PS console. Had to use regular CMD.exe console.
    [ %WINDIR%Microsoft.NETFramework64v4.0.30319aspnet_regiis.exe -r ]
    3) This command wouldn’t work in CMD.exe console. (probably the backticks). Does worksin PS console.
    [ c:windowssystem32inetsrvappcmd set config /section:isapiCgiRestriction /[path=`’C:WindowsMicrosoft.NETFramework64v4.0.30319aspnet_isapi.dll`’].allowed:True ]

    1. HI Tyson

      Yes you are right. You Need to Import the Server Manager module first using Import-Module ServerManager.

      You could also call the cmd.exe within Powershell while calling the command.



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.