PXE Booting for Microsoft Deployment Toolkit

When installing PXE (pronounced “pixie”) booting  for use with Microsoft Deployment Toolkit there are a few things to consider. There’s not much to installing WDS and configure PXE booting for MDT on a flat network, but if you have a larger network with VLANs there is some additional configuration needed. I’ll be covering the flat network configuration here and will post about the additional configuration needed for a larger network at a later date.

The demo network for this post is a Active Directory Domain Controller (DC01), a WSUS server (WSUS01) and a MDT server (WDS01), which is where we’re installing Windows Deployment Services, and finally a Hyper-V VM (PC01) configured like so:

  • Generation 1
  • 2x vCPU
  • 4GB RAM
  • Legacy Network Adaptor – set as first boot device

Installing and Configuring Windows Deployment Services

To install WDS on Windows Server 2016/2012 R2:

  1. Open Server Manager.
  2. Go to the Manage menu.
  3. Select Add Roles and Features.
  4. Select Role-based or feature-based installation.
  5. Select the server in Server selection.
  6. Tick Windows Deployment Services and both Deployment Server and Transport Server in Server Roles.
  7. Click through Features.
  8. Confirm your choices.
  9. Complete the installation.

To configure the installation:

  1. Open the Windows Deployment Services MMC in Administrative Tools.
  2. Right-click WDS01.contoso.com.
  3. Select Configure to start the configuration wizard.

The first page of the wizard states a DHCP server is required. On my demo network I’m currently using a basic DHCP server built into a NAS appliance. It’s lacking in many configuration options that a full Windows DHCP server would provide, but for this flat network, it will do the job just fine.

So, let’s configure WDS:

  1. Select Integrated with Active Directory.
  2. Set the Remote Installation Folder Location onto the E:\ drive which also has the MDT Deployment Share.
  3. For the PXE Server Initial Settings select Respond to all client computers (known and unknown) do not tick the Require administrator approval option.
  4. After a short install phase, the Operation Complete screen will appear. Uncheck the Add images to thew server now tick box.

To test that PXE is working, boot the VM PC01 and it should get an IP from the DHCP server, prompt for F12 to be pressed and when F12 is pressed, display an error that looks like this:

pxe-boot-error

This is fine.

This error is normal. The PXE boot process has worked but there are no boot images for it to load.

Booting from the LiteTouch MDT image.

To add the LiteTouch boot image from MDT to WDS:

  1. Open Windows Deployment Services MMC.
  2. Expand Servers > wds01.yourdomain > Boot Images.
  3. Right click in the empty window, and select Add Boot Image.
  4. Browse to E:\DeploymentShare\Boot\LiteTouchPE_x64.wim and click through to complete the wizard.

To test that this has worked, go back to the VM PC01 and boot it via PXE again and it should now load the Windows PE deployment environment.

That’s it! We’ve created a basic PXE server for booting into MDT. When dealing with a multi VLAN network, there are a few more things to consider which I’ll cover in a future post.

Follow me on Twitter – @Digressive.

2 thoughts on “PXE Booting for Microsoft Deployment Toolkit

  1. Pingback: Deploying a Windows 10 1607 Reference Image with Microsoft Deployment Toolkit 8443 | Stick To The Script!

  2. Pingback: PXE Booting with WDS for UEFI and BIOS Devices | Stick To The Script!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s