Installing IIS on Windows Server Core

Last published : Aug 05, 2026
On Windows Server Core, you must install IIS in the order specified in this procedure.
To install IIS on Windows Server Core
  1. Type the following at the command prompt:
    C:\>start /w pkgmgr
    /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;
    IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;
    IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;
    IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;
    IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;
    IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;
    IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;
    IIS-BasicAuthentication;IIS-WindowsAuthentication;
    IIS-DigestAuthentication;
    IIS-ClientCertificateMappingAuthentication;
    IIS-IISCertificateMappingAuthentication;
    IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;
    IIS-Performance;IIS-HttpCompressionStatic;
    IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;
    IIS-ManagementScriptingTools;IIS-IIS6ManagementCompatibility;
    IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;
    IIS-FTPPublishingService;WAS-WindowsActivationService;
    IIS-FTPPublishingService;IIS-FTPServer
    1. Verify that all the components specified in the earlier step have successfully installed. Type the following at the command prompt:
    C:\>notepad C:\windows\logs\cbs\cbd.log
This opens the log file, cbd.log, in the Notepad text editor.
  1. Check the entries in the log file, cbd.log. The last log entry should resemble the following:
    Info CBS Pkgmgr: return code: 0x0
    This message indicates that all the components are installed successfully.
    1. Run the oclist command to verify that the following components are installed:
    IIS-WebServerRole; IIS-WebServer; IIS-IIS6ManagementCompatibility; IIS-Metabase; IIS-WMICompatibility; IIS-FTPPublishingService; WAS-WindowsActivationService; IIS-FTPPublishingService; IIS-FTPServer
    Type the following at the command prompt:
    C:\>oclist
  2. Repeat the steps on all the nodes where you want to configure the IIS service group.