Introduction & Prerequisites
In this tutorial, I’m going to explain how to set up a standalone Windows WDS (Windows Deployment Services) deployment environment.
A standalone WDS environment is used outside Active Directory without a domain controller; for WDS to function, it always requires a DHCP server, which is needed to respond to computers during PXE boot (via the network card).
As I have already covered WDS in several tutorials on this site, I won’t go into detail about the various elements in this tutorial.
To round off this tutorial, I’d also like to invite you to take my free course on Windows deployment.
Course: Windows Image Deployment
The ‘Windows Image Deployment’ course will enable you to learn the basics of Windows deployment in an enterprise environment using the following tools:
- WDS
- MDT
- Using the WDS & MDT combination
For this tutorial, you will need two computers (virtual machines):
- A blank Windows Server, correctly named and with a static IP address.
- A blank computer for Windows deployment
You will also need at least one Windows ISO file to retrieve the boot and installation images.
Installing the WDS and DHCP roles
In this section, we will look at how to install the WDS and DHCP roles.
1. In Server Manager, click ‘Add roles and features’ 1 .
2. On the first three windows of the role installation wizard, click Next 1 .
3. Select the DHCP Server role 1 and confirm the addition of the additional components (Add features) 2 .
4. Do the same for the Windows Deployment Services (WDS) role 1 , and also confirm the installation of the additional features 2 .
5. Once the roles have been selected (WDS and DHCP), click Next 1 and do the same for the next two windows in the wizard.
6. In the WDS role services selection, check that both services are ticked 1 and click Next 2 .
7. Skip the DHCP role summary by clicking Next 1 and confirm the installation of the roles in the final step by clicking Install 2 .
8. Please wait whilst the roles are being installed…
9. Once the installation is complete, click Close 1 to exit the wizard.
Now that the WDS and DHCP roles have been installed, we will move on to configuring them; we will start with the DHCP role and then move on to the WDS server.
Configuring the DHCP role
Configuring the DHCP role is a standard procedure; you simply need to set up a range of addresses to be allocated by the DHCP server.
Before opening the console, in the server manager, click the notification icon and then click ‘Finish configuring the DHCP server’; follow the wizard – there is nothing in particular you need to do.
- Open the DHCP console, which can be accessed via the Start menu in the Windows Administrative Tools folder.
2. In the console, expand the server, right-click on IPv4 and select ‘New scope’ 1 .
3. When the wizard launches, click Next 1 .
4. Name the extent 1 and click Next 2 .
5. Configure the address range 1 that the DHCP server will assign, specify the subnet mask 2 and click Next 3 .
6. Skip the exclusion range by clicking Next 1 .
7. Set the DHCP lease duration 1 and click Next 2 .
8. Select ‘Yes, I want to configure these options now’ 1 and click ‘Next’ 2 .
9. Configure the default gateway (Router)* 1 and click Next 2 .
* In the IP Address field, enter the router’s address and click the Add button.
10. Configure the name server(s) (DNS)** 1 and click Next 2 .
** In the IP Address field, enter the DNS server address and click the Add button; repeat this to add multiple servers.
11. Skip the WINS server configuration by clicking Next 1 .
12. Confirm the activation of the extension 1 and click Next 2 .
13. Confirm the creation of the DHCP scope by clicking ‘Finish’ 1 .
The scope is added in the DHCP console.
We can now move on to configuring the WDS server.
Post-installation configuration of the WDS role
In this section, we will look at the post-installation configuration of the WDS role. When it is launched for the first time, you must configure (initialise) the WDS role with basic settings such as its location.
As explained in the prerequisites, I recommend setting aside a separate partition; here, I have added a virtual disk which is mapped in Windows to the drive letter W.
1. Open the Windows Deployment Services console.
2. In the console, expand ‘1 Servers’; our WDS server is listed there, but we can see that it is not configured.
3. Right-click on the server and click on ‘Configure server 1 ’.
4. When the wizard launches, click the Next button 1 .
5. Select the ‘Standalone server’ option 1 and click ‘Next’ 2 .
6. Specify the WDS installation folder 1 (W:\RemoteInstall) and click Next 2 .
7. Configuring the DHCP proxy server: in our setup, leave both boxes ticked 1 and click Next 2 .
This configuration will enable you to set up the WDS/DHCP server so that it can respond to computers booting on the network (PXE boot) and provide them with the necessary network configuration to connect to the WDS server.
8. We will choose to respond to all PXE requests, select the option ‘Respond to all client computers (known and unknown)’ 1 and click the ‘Next’ button 2 .
9. Wait whilst the WDS server is being configured; once this is complete, close the wizard by clicking the Finish button 1 .
As you can see from the screenshot, an alert message appears stating that the service did not respond quickly enough; we’ll look at how to deal with this later if you find yourself in this situation.
10. In the console, we can now see the WDS folder structure, which means it has been configured. We can also see the stop icon on the server, which means the services are not running.
To start the service, right-click on the server, go to All Tasks 1 and click Start 2 .
Please wait whilst the system starts up; once the services have started, a green icon will appear on the server.
The WDS server is now up and running. Before we move on to configuring the various images, I suggest you test the server.
Testing PXE boot
Now that the roles have been configured, we’re going to test the PXE boot.
From a computer or virtual machine, you must boot via PXE (F12) and check that the DHCP server responds to the request as shown below:
If you manage to get that answer, you’re all set.
Now, if PXE booting isn’t working, here are a few things to try.
On the DHCP console, check that option 060 (PXE Client) is configured.
A recurring issue with PXE booting is UEFI and Secure Boot; if you’re using a virtual machine, here are a few suggestions:
- Leave UEFI enabled and disable Secure Boot.
- Using a VM in BIOS mode
In a production environment, switching computers to Legacy BIOS mode is out of the question; you can find a tutorial here explaining how to configure the DHCP and WDS services to use UEFI mode and boot from the network.
Once you have successfully configured the IP settings for PXE booting and received a response from the WDS server, you can move on to configuring the images.
Configuring and using WDS
As this topic has already been covered in the tutorial: WDS: installation and configuration , I’ll leave you to carry on reading that one.
The tutorial is based on an Active Directory environment; however, the management of images and their use in a standalone environment is identical.
The rest of this tutorial can be found from page 4 onwards: WDS: installation and configuration – Adding a boot image
Enjoy the read














