A Request for A PowerShell Script for Configuration Manager 2403 Prerequisites

Marcel 40 Reputation points
2025-02-27T16:34:08.33+00:00

I require a PowerShell script for installing the necessary server roles for the Configuration Manager 2403 prerequisites, which I have used previously but can no longer locate.

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
1,045 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AlexZhu-MSFT 6,501 Reputation points Microsoft Vendor
    2025-02-28T01:46:13.7466667+00:00

    Hi,

    For a shorter one, you can refer to below

    # .NET Features
    
    Install-WindowsFeature -Name NET-Framework-Features
    
    Install-WindowsFeature -Name NET-Framework-Core
    
    Install-WindowsFeature -Name NET-Framework-45-Features
    
    Install-WindowsFeature -Name NET-Framework-45-Core
    
    Install-WindowsFeature -Name NET-Framework-45-ASPNET
    
    Install-WindowsFeature -Name NET-WCF-Services45
    
    Install-WindowsFeature -Name NET-WCF-HTTP-Activation45
    
    Install-WindowsFeature -Name NET-WCF-TCP-PortSharing45
    
     
    
    # Install IIS Web Server Role
    
    Install-WindowsFeature -Name Web-Server -IncludeManagementTools
    
    Install-WindowsFeature -Name Web-WebServer
    
     
    
    # Application Development
    
    Install-WindowsFeature -Name Web-ISAPI-Ext
    
     
    
    # Security
    
    Install-WindowsFeature -Name Web-Windows-Auth
    
     
    
    # Management Tools
    
    Install-WindowsFeature -Name Web-Mgmt-Tools
    
    Install-WindowsFeature -Name Web-Mgmt-Console
    
    Install-WindowsFeature -Name Web-Mgmt-Compat
    
    Install-WindowsFeature -Name Web-Metabase
    
    Install-WindowsFeature -Name Web-WMI
    
     
    
    # Install Background Intelligence Transfer Service (BITS)
    
    Install-WindowsFeature -Name BITS
    
    Install-WindowsFeature -Name BITS-IIS-Ext
    
    

     

    And for a full featured one, you can try this

    https://codeandkeep.com/PowerShell-SCCM-Offline-PreRequisites-Install/

     

     Also, as another option, you can try the prerequisites tool

    https://github.com/MSEndpointMgr/ConfigMgrPrerequisitesTool/releases/download/3.0.6/ConfigMgr.Prerequisites.Tool.3.0.6.zip

    Regards,

    Alex

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.