How to Configure WDS on Windows Server 2012 R2 with DHCP Server Running on Linux

Last Updated on February 23, 2017 by admin

This tutorial describes how to deploy WDS when a Linux DHCP server is running on your network. I am using Linux Ubuntu a 14.04 server distribution for the DHCP configuration.


Make sure:

  1. The administrator account has a strong password.
  2. A static IP is configured both on DHCP and WDS server.
  3. Latest Windows updates are installed on the WDS server.
  4. Windows firewall is turned off on WDS server.

Installing Windows Deployment Server

Step 1: Open the Server Manager Dashboard from task bar. Click on Manage and scroll to Add Roles and Features. Click Add Roles and Features,

Server Manager Dashboard

Step 2: Read the important notes and make sure you fulfill all of them before you continue. Then click Next.

Read the notes

Step 3: Choose Role-based or feature-based installation and click Next.

Role-based or feature-based installation
Step 4: Select the destination server on which you want to install the WDS role and click Next.

Choose destination server
Step 5: Choose Windows Deployment Services from server roles. As soon as you mark the check box another small window will pop up alerting you to install other required features as well along with WDS. Click Add Features.

Choose Windows Deployment Services from server roles

Step 6: Click Next.

Accept server roles preset.
Step 7: Accept the features by clicking Next.

Accept features
Step 8: Read the related notes and click Next.

Related notes

Step 9: Keep default selections and click Next.

WDS Role services
Step 10: Confirm your installation selections and when you are done, click Install.
Confirm selections

Step 11: When the installation finished, click Close.
Installation progress

Configuring Windows Deployment Server

Step 1: Open Server Manager Dashboard, click on Tool and scroll down to Windows Deployment Services and click it.

Windows Deployment Services option
Step 2: Right-click on your machine located under Servers. Scroll to Configure Server and click it.

Configure Server
Step 3: Before you continue further, read the requirements and make sure you meet them. Click Next.

Read and accept the prerequisites
Step 4: Choose 'Standalone server' and click Next.

Choose Standalone server
Step 5: Browse and choose the path on your drive where you would like to place boot images, install images, PXE boot files, and other WDS tools. Click Next.
choose the path

Step 6: Ignore the warning and click Yes.

Proceed after accepting the warning message
Step 7: Choose 'Respond to all client computers (known and unknown)' and click Next.
Choose Respond to all client computers

Step 8: Add images to your WDS server by keeping Add images to the server now field checked. Click Finish.

Add images to your WDS server.
Step 9: Provide the path of your installation DVD which contains boot.wim and install.wim. Click Browse.
Provide the path of your installation DVD

Step 10: Choose sources folder and click OK.

Choose sources folder
Step 11: Click Next.

Go to the next step
Step 12: Provide an image group name and click Next.

Provide an image group name
Step 13: Verify the information and click Next.

Verify the information
Step 14: Click Finish.

Finish the installation

Step 15: Right-click Multicast Transmission, scroll to Create Multicast Transmission and click it.

Multicast Transmission

Step 16: Provide the name of this transmission and click Next.
Provide the name of this transmission

Step 17: Choose the image you would like to transmit using multicasting and click Next.

Choose the image
Step 18: Choose Auto-cast and click Next.
Choose Auto-cast

Step 19: Click Finish.

Operation complete

Configuring DHCP Server on Ubuntu Linux

Step 1: Go to DHCP server

type the following two commands on shell:

sudo apt-get update
sudo apt-get install isc-dhcp-server -y

Then open /etc/default/isc-dhcp-server file and assign an interface by issuing the command below.

sudo nano /etc/default/isc-dhcp-server

And enter this line into the file:


Close the editor. Then run:

sudo nano /etc/dhcp/dhcpd.conf

To edit the dhcpd.conf file. Add following lines in dhcpd.conf file and save it

default-lease-time 600;

max-lease-time 7200;


subnet netmask { #network
range; # Your IP address Range
option broadcast-address; #Broadcast

allow booting;

allow bootp;

option option-128 code 128 = string;

option option-128 code 129 = text;

next-server # Name of your WDS server

Save the file.

Step 2: Restart DHCP service

sudo service isc-dhcp-server restart

That's All.


Our WDS and DHCP servers are ready. Test your configuration by following my article on deploying Windows 7 Professional using WDS server.

Leave a Comment