Share via

A Request for A PowerShell Script for Configuration Manager 2403 Prerequisites

Marcel 60 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 Security | Intune | Configuration Manager | Deployment
0 comments No comments

Answer accepted by question author

AlexZhu-MSFT 6,596 Reputation points Moderator
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

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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