I have updated one of my Hydration Kit to use MDT 2013 Update 1 (and Windows ADK 10).
This Kit builds a complete ConfigMgr 2012 R2 SP1 with SQL Server 2014 SP1 infrastructure. Tested on both Hyper-V and VMware virtual platforms.
Other (older) Hydration Kits
- ConfigMgr 2012 R2 SP1 with SQL Server 2014 SP1 (Based on MDT 2013)
- System Center 2012 R2 (Based on MDT 2013)
- ConfigMgr 2012 SP1 (based on MDT 2012 Update 1)
- Windows Server 2012 and MDT 2012 Update 1 (based on MDT 2012 Update 1)
- ConfigMgr 2012 RTM (based on MDT 2012 Update 1)
- ConfigMgr 2007 SP2 (based on MDT 2010)
The Hydration Kit contents
The kit allows you to automatically deploy the below list of servers. The only server you really need to build first is DC01, since that’s the domain controller, and the CM01 server will join the domain. Turns out joining a domain is tricky without a domain controller 🙂
- DC01. Windows Server 2012 R2, DC, DHCP and DNS
- CM01. Windows Server 2012 R2, SQL Server 2014 SP1, System Center 2012 R2 SP1 Configuration Manager
Overview
Shorthand, to build the lab there are three steps you need to do:
- Download the necessary software
- Prepare the Hydration Environment
- Deploy the virtual machines
Note: Detailed instructions are further down this page… see the Step-by-Step Guide section.
The Deployment Wizard displaying the available task sequences.
The CM01 task sequence, building a complete ConfigMgr 2012 R2 SP1 site server with SQL Server 2014 SP1.
Step-by-Step Guide
Step 1 – Download the software
On the machine (client or server) that you use to manage Hyper-V or VMware, create the C:\Downloads folder.
Download the following software:
- The Hydration Kit sample files (download)
- BGInfo
- MDT 2013 Update 1
- Windows ADK 10
- Windows Server 2012 R2
- SQL Server 2014 Standard with SP1 x64
Note: It really has to be the x64 version of SQL Server 2014 with SP1. ConfigMgr does not support x86 version. If downloading the evaluation version from Microsoft, you need to “hack” the URL because even if you select the x64 version, you get the x86 ISO. When I tested today the x64 URL was: http://care.dlservice.microsoft.com/dl/download/2/F/8/2F8F7165-BB21-4D1E-B5D8-3BD3CE73C77D/SQLServer2014SP1-FullSlipstream-x64-ENU.iso
- ConfigMgr 2012 SP2 + PreReqs (the download is named System Center 2012 Configuration Manager and Endpoint Protection with Service Pack 2)
- ConfigMgr 2012 R2 SP1 (the download is named System Center 2012 R2 Configuration Manager Service Pack 1)
Note #1: To download the complete standalone Windows ADK 10 setup, run adksetup.exe /layout "C:\Downloads\Windows ADK 10"
The Windows ADK 10 folder, after download the standalone setup.
Note #2: To download the ConfigMgr 2012 SP2 pre-requisites, run the SMSSETUP\BIN\X64\Setupdl.exe application from the ConfigMgr installation files.
Running the Setupdl.exe to download the ConfigMgr 2012 SP2 PreReqs.
Step 2 – Prepare the Hydration Environment
Create the hydration deployment share
- On the Windows machine that you use to manage Hyper-V or VMware, install Windows ADK 10 (adksetup.exe) selecting only the following components:
Deployment Tools
Windows Preinstallation Environment (Windows PE) - Install MDT 2013 Update 1 (MicrosoftDeploymentToolkit2013_x64.msi) with the default settings.
- Extract the HydrationCM2012R2SP1_U1.zip sample file to C:.
- You should now have the following folder containing a few subfolders and PowerShell scripts.
C:\HydrationCM2012R2SP1_U1\Source
- In an elevated (run as Administrator) PowerShell command prompt, configure Execution Policy in PowerShell by typing the following command:
Set-ExecutionPolicy Unrestricted –Force Note: If you are running Windows Server 2012 R2 on your machine you don’t need to set the policy, it’s set by default.
- In the PowerShell command prompt, create the hydration deployment share by running the following command:
C:\HydrationCM2012R2SP1_U1\Source\CreateHydrationDeploymentShare.ps1
Result after running the CreateHydrationDeploymentShare.ps1 script.
Populate the hydration deployment share with the setup files
- Copy the BGInfo file (bginfo.exe) to the following folder:
C:\HydrationCM2012R2SP1_U1\DS\Applications\Install – BGInfo\Source
- Copy the Windows Server 2012 R2 installation files (the content of the ISO, not the actual ISO) to the following folder:
C:\HydrationCM2012R2SP1_U1\DS\Operating Systems\WS2012R2
- Copy the Windows ADK 10 installation files to the following folder:
C:\HydrationCM2012R2SP1_U1\DS\Applications\Install – Windows ADK 10\Source
- Copy the SQL Server 2014 with SP1 installation files (the content of the ISO, not the actual ISO) to the following folder:
C:\HydrationCM2012R2SP1_U1\DS\Applications\Install – SQL Server 2014\Source
Copy the ConfigMgr 2012 SP2 installation files (extract the download) to the following folder:
C:\HydrationCM2012R2SP1_U1\DS\Applications\Install – ConfigMgr 2012 SP2\Source
- Copy the ConfigMgr 2012 SP2 PreReqs files to the following folder:
C:\HydrationCM2012R2SP1_U1\DS\Applications\Install – ConfigMgr 2012 SP2\PreReqs
- Copy the ConfigMgr 2012 R2 SP1 files to the following folder:
C:\HydrationCM2012R2SP1_U1\DS\Applications\Install – ConfigMgr 2012 R2 SP1\Source
- Copy the ConfigMgr 2012 SP2 EXTADSCH.exe file (SMSSETUP\BIN\X64) to the following folder:
C:\HydrationCM2012R2SP1_U1\DS\Applications\Configure – Extend AD for ConfigMgr 2012\Source
Create the Hydration ISO (MDT 2013 Update 1 offline media item)
- Using Deployment Workbench (available on the Start screen), expand Deployment Shares, and expand Hydration CM2012 R2 SP1.
- Review the various nodes. The Applications, Operating Systems and Task Sequences nodes should all have some content in them.
The Hydration deployment share, listing the applications.
- Expand the Advanced Configuration node, and then select the Media node.
- In the right pane, right-click the MEDIA001 item, and select Update Media Content.
Note: The media update will take a while to run, a perfect time for a coffee break…
After the media update you will have a big ISO (HydrationCM2012R2SP1_U1.iso ) in the C:\HydrationCM2012R2SP1_U1\ISO folder. The HydrationCM2012R2SP1_U1.iso should be about 13 GB in size.
The HydrationCM2012R2SP1_U1.iso
Step 3 – Deploy the virtual machines
Note: All accounts, including Administrator, have a password of P@ssw0rd. If you want a PowerShell script that creates these VMs for Hyper-V, check the C:\HydrationCM2012R2SP1_U1\Source\Extra folder for two sample scripts. One for building Gen 1 VMS, and one for building Gen 2 VMs.
Sample PowerShell script for creating the virtual machines.
Deploying DC01
Using Hyper-V Manager or VMware Sphere, create a virtual machine with the following settings:
- Name: DC01
- Hard drive: 100 GB (dynamic disk)
- Memory: 1 GB
- Network: Your lab network
- Image file (ISO): C:\HydrationCM2012R2SP1_U1\ISO\HydrationCM2012R2SP1_U1.iso
- Start the DC01 virtual machine. After booting from HydrationCM2012R2SP1_U1.iso , and after WinPE has loaded, select the DC01 task sequence.
- Wait until the setup is complete and you see the Hydration Complete message in the final summary.
- Leave DC01 running while deploying the CM01 virtual machine.
Deploying CM01
Once the domain controller (DC01) is up and running, you can deploy the CM01 virtual machine. Don’t forget to leave DC01 running while deploying CM01 since it is joining the domain during deployment. Use the following settings for the CM01 virtual machine:
- Hard drive: 300 GB (dynamic disk)
- Memory: 6 GB RAM minimum, 16 GB recommended
Additional Configuration Notes:
Note: Again, by default, all accounts, including Administrator, have a password of P@ssw0rd.
If you need to change server names, IP addresses, domain names, installation, passwords, etc. in the environment, the main configuration is stored in the four .ini files in the C:\HydrationCM2012R2SP1_U1\ISO\Content\Deploy\Control folder.
The configuration files for the Hydration Kit.
For ConfigMgr 2012 R2 SP1 (CM01) you need to update the following files::
- C:\HydrationCM2012R2SP1_U1\DS\Applications\Install – ConfigMgr 2012 SP2\ConfigMgr2012Unattend.ini
- C:\HydrationCM2012R2SP1_U1\DS\Applications\Install – SQL Server 2014\ConfigurationFile.ini
If you need to change the various service accounts, you need to to modify the Configure-CreateADStructure.wsf script in the C:\HydrationCM2012R2SP1_U1\DS\Applications\Configure – Create AD Structure folder.
If you change the Administrator password, and/or domain name, you also need to update the Authorize DHCP credentials in the DC01 task sequence.
The Authorize DHCP action in the DC01 task sequence.
Happy Deployment, Johan