Deploying Windows 7 Using Windows Deployment Services
In the previous post we saw the steps to Install and Configure Windows Deployment Services. In this post we will see the steps to deploy windows 7 using windows deployment services. Before we start deploying windows 7 using WDS lets understand the role of DHCP server. Windows Deployment Services uses PXE, which relies on DHCP for IP addressing.
Right click on WDS server and click on Properties. Click on DHCP. The question is when should one select the DHCP options and in what cases ?
CASE 1 – If DHCP and WDS are running on same subnet but on different machines – You need to not configure the DHCP options at all. There will no broadcast issues when DHCP and WDS are running on different machines and on the same subnet.
CASE 2 – If DHCP and WDS roles are installed on same server – In this case you must tell WDS not to listen on port 67 and set DHCP option 60 so that clients can find the WDS server. So options Do not listen on port 67 and Configure DHCP option 60 to indicate that this server is also a PXE server must be checked.
CASE 3 – If DHCP and WDS are running on a different servers that are on different subnets – In this case you must configure your router to forward broadcast packets because most often we see that broadcast packets are not allowed to cross other subnets. All DHCP broadcasts by client computers on UDP port 67 should be forwarded directly to both the DHCP server and the Windows Deployment Services server. Also, all traffic on UDP port 4011 from the client computers to the Windows Deployment Services server should be routed appropriately. To help WDS client find the WDS server we must configure DHCP option 66 and DHCP option 67. Option 66 should be set to the Windows Deployment Services server, and option 67 should be set to bootx86wdsnbp.com. Set the DHCP option 66 to hostname of the WDS server or the IP address of WDS server. DHCP option 67 is for boot file name, the clients will need the boot file in order to boot, so set option 67 to bootx86wdsnbp.com for 32 bit clients and for 64 bit clients bootx64wdsnbp.com.
Client Naming Policy – Right click WDS server, click on Properties, select AD DS. Under the Client Naming Policy specify the format based on which computers will named. The default naming pattern is %61Username%#, this means WDS will create computer name using username who logged on when running remote installation process and # is the number 1,2,3..up to 999 will be added after username.
Security – To add the permissions for the user account on the Image Group, right click the Image Group and click on Security. Add the user account from the active directory and provide Full Control. If you are using a domain admin account during the installation of WDS ignore this step.
Should the computer be a part of domain after deployment – If you do not want the client to be a part of domain then the setting must be changed in the WDS server properties. Right click WDS server, click on Properties and select Client. Under Joining a Domain check the box Do not join the client to a domain after an installation.
Deploying Windows 7 Using Windows Deployment Services
In the previous post Installing and Configuring Windows Deployment Services we had imported the Boot image and Install image for windows 7. The DHCP and WDS are running on different servers but are on same subnet, so without worrying about broadcast issues, let start the deployment.
We will create a blank virtual machine and set it to boot from the network. During this boot process the client receives the IP from the DHCP server and WDS client discovers the WDS server through DHCP server or by broadcasting the packets. Once the WDS server is found the client boots with a WinPE (Windows Preinstallation Environment) and the image stored on the WDS server is installed on the client machine.
Press F12 to start the network service boot.
Wait for few seconds until the windows loads the files for installation.
choose the locale and click next.
Provide the user account and password. Click on Next.
Select the edition of windows 7 that you want to install. Click Next.
Click on next.
Once the installation is complete complete the windows 7 initial setup.
Note that the client is already joined to the domain. Login to the computer with a domain user account.
The windows 7 has been successfully deployed to a client using Windows Deployment Services.
Need more help?
If you need further assistance on the above article or want to discuss other technical issues, check out some of these options.