This project is read-only.

Project Description

InstallSiteServer.ps1 is a PowerShell script that installs Configuration Manager 2007 Secondary Site server automatically. Currently this script is written for only Windows Server 2008 R2 and Configuration Manager 2007. InstallSiteServer.ps1 uses XML file based configuration file to read how to prepare site server. The main goal for this project is to simplify as much as possible ConfigMgr Site System installation. You can configure in the configuration file:

  • What server roles will be installed or not
  • What additional software you want to install on that server e.g. WSUS, DOTNET 4.0 etc.
  • Configuration Manager installation files location
  • What hotfixes will be installed
  • What IIS file types should be enabled or not
  • Enable IIS hidden segment removal
  • Send an email with logs to your email


This script is divided into four phases and after every phase it will restart the server. Script phases:

First Phase

  • Enable Auto Logon
  • Install server roles
  • Configure WebDav
  • Configure IIS File Extensions
  • Configure IIS Hidden Segments
  • Restart Server

Second Phase 

  • Install additional Software
  • Restart Server

Third Phase 

  • Install Configuration Manager
  • Restart Server

Fourth Phase

  • Install R3 and other Hotfixes
  • Restart Server


Author: Kaido Jarvemets
Configuration Manager MVP, MCITP, MCTS

Last edited Sep 1, 2011 at 6:55 AM by Kaido1000, version 8