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.


  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.NET\Framework64\v4.0.30319\aspnet_regiis.exe -r ]
    3) This command wouldn’t work in CMD.exe console. (probably the backticks). Does worksin PS console.
    [ c:\windows\system32\inetsrv\appcmd set config /section:isapiCgiRestriction /[path=`’C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll`’].allowed:True ]

  2. Pingback: Installing Pre-reqs for SCOM 2012 RTM Web Console « Systemcenterblogs

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s