Menu
CCMEXEC.COM – Enterprise Mobility
  • Home
  • General
  • Configuration Manager
  • Windows 10
  • Intune
  • GitHub
  • Windows 11
  • About the author
CCMEXEC.COM – Enterprise Mobility

Unattended installation of the ConfigMgr 2012 pre-reqs

Posted on April 5, 2012April 5, 2012 by Jörgen Nilsson

When it was time to rebuild my labb environment again I decided to write a little .CMD file that helps med in the future. I did it for SCCM 2007 but now there is not that much to configure now that Webdav is not needed anymore, but I did it anyway.
Yes, I could have written it in Powershell but I didn’t I like to keep it simple. The script will install:

  • .NET framework 4
  • Client Push Windows 2008 R2 server OS hotfix pre-req, KB2552033
  • Configure IIS
  • Install WDS, RDC, BITS

You can download .NET Framework 4 : http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17718

You can download KB2552033 here: http://support.microsoft.com/kb/2552033

Create a cmd file and copy the content below to it and place it in the same directory as the two downloaded files like this:

CM2012_pre

ServerManagerCmd -i Application-Server
ServerManagerCmd -i Web-Server
ServerManagerCmd -i Web-Asp-Net
ServerManagerCmd -i AS-Web-Support
ServerManagerCmd -i AS-TCP-Activation
ServerManagerCMd -i Web-Metabase
ServerManagerCmd -i Web-Mgmt-Compat
ServerManagerCmd -i BITS
ServerManagerCmd -i RDC
ServerManagerCmd -i WDS
ServerManagerCmd -i FS-Fileserver
dotNetFx40_Full_x86_x64.exe /q /norestart
wusa.exe Windows6.1-KB2552033-x64.msu /quiet /norestart

Prereq.cmd content:


ServerManagerCmd -i Application-Server

ServerManagerCmd -i Web-Server

ServerManagerCmd -i Web-Asp-Net

ServerManagerCmd -i AS-Web-Support

ServerManagerCmd -i AS-TCP-Activation

ServerManagerCMd -i Web-Metabase

ServerManagerCmd -i Web-Mgmt-Compat

ServerManagerCmd -i BITS

ServerManagerCmd -i RDC

ServerManagerCmd -i WDS

ServerManagerCmd -i FS-Fileserver

dotNetFx40_Full_x86_x64.exe /q /norestart

wusa.exe Windows6.1-KB2552033-x64.msu /quiet /norestart

1 thought on “Unattended installation of the ConfigMgr 2012 pre-reqs”

  1. Squeezer @Personal Finance Success says:
    April 5, 2012 at 6:15 pm

    I was not thinking and named the script ServerManagerCmd.cmd so when I ran the script, it was in an infinite loop.

    Reply

Leave a Reply Cancel 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.

My name is Jörgen Nilsson and I work as a Senior Consultant at Onevinn in Malmö, Sweden. This is my blog where I will share tips and stuff for my own and everyone elses use on Enterprise Mobility and Windows related topics.
All code is provided "AS-IS" with no warranties.

Tweets by ccmexec

Recent Posts

  • Configuring MS Edge Security Baseline v107 using Settings Catalog
  • Configuring Desktop App Installer using CSP and script?!
  • Customizing Taskbar and Start in Windows 11 22h2 with PowerShell
  • MMUGSE – physical event 2022-10-19 @Microsoft Reactor Stockholm.
  • Switch to Private Firewall profile on AAD joined when connected to specific network.

©2023 CCMEXEC.COM – Enterprise Mobility | WordPress Theme by Superb Themes
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Reject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT