Hydration Kit based on MDT 2013 Update 1 and Windows ADK 10

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

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

Download the MDT 2013 Update 1 and Windows ADK 10 based Hydration Kit for ConfigMgr 2012 R2 SP1 with SQL Server 2014 SP1 (136 kb).

Overview

Shorthand, to build the lab there are three steps you need to do:

  1. Download the necessary software
  2. Prepare the Hydration Environment
  3. Deploy the virtual machines

Note: Detailed instructions are further down this page… see the Step-by-Step Guide section.

HYD 
The Deployment Wizard displaying the available task sequences.

image_thumb3 
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"

image
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

  1. 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)
              

    ADK10
    The Windows ADK 10 Setup.

  2. Install MDT 2013 Update 1 (MicrosoftDeploymentToolkit2013_x64.msi) with the default settings.
  3. Extract the HydrationCM2012R2SP1_U1.zip sample file to C:.
  4. You should now have the following folder containing a few subfolders and PowerShell scripts.

     C:\HydrationCM2012R2SP1_U1\Source

  5. 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. 

  6. In the PowerShell command prompt, create the hydration deployment share by running the following command:

    C:\HydrationCM2012R2SP1_U1\Source\CreateHydrationDeploymentShare.ps1

image
Result after running the CreateHydrationDeploymentShare.ps1 script.

 

Populate the hydration deployment share with the setup files

  1. Copy the BGInfo file (bginfo.exe) to the following folder:

    C:\HydrationCM2012R2SP1_U1\DS\Applications\Install – BGInfo\Source

  2. 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

  3. Copy the Windows ADK 10 installation files to the following folder:

    C:\HydrationCM2012R2SP1_U1\DS\Applications\Install – Windows ADK 10\Source

  4. 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

    image_thumb24
    The SQL Server 2014 with SP1 installations files copied.

  5. Copy the ConfigMgr 2012 SP2 installation files (extract the download) to the following folder:


    C:\HydrationCM2012R2SP1_U1\DS\Applications\Install – ConfigMgr 2012 SP2\Source

  6. Copy the ConfigMgr 2012 SP2 PreReqs files to the following folder:

    C:\HydrationCM2012R2SP1_U1\DS\Applications\Install – ConfigMgr 2012 SP2\PreReqs

  7. Copy the ConfigMgr 2012 R2 SP1 files to the following folder:

    C:\HydrationCM2012R2SP1_U1\DS\Applications\Install – ConfigMgr 2012 R2 SP1\Source

  8. 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)

  1. Using Deployment Workbench (available on the Start screen), expand Deployment Shares, and expand Hydration CM2012 R2 SP1.
  2. Review the various nodes. The Applications, Operating Systems and Task Sequences nodes should all have some content in them.

 image     
The Hydration deployment share, listing the applications.

  1. Expand the Advanced Configuration node, and then select the Media node.
  2. 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.

image 
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.

image 
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
  1. Start the DC01 virtual machine. After booting from HydrationCM2012R2SP1_U1.iso , and after WinPE has loaded, select the DC01 task sequence.
  2. Wait until the setup is complete and you see the Hydration Complete message in the final summary.
  3. 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.

image 
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.

DC01_thumb1
The Authorize DHCP action in the DC01 task sequence.

Happy Deployment, Johan

About the author

Johan Arwidmark

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

>