Configure WDS on Server 2008.

Active Directory Domain Service, DNS, DHCP, Windows AIK.
Install and configure WDS:
Step1: Create an extra partition because wds needs extra partition to keep images and another configuration files.
To install WDS open CMD and run this command: servermanagercmd -i wds
Step2: After installing WDS role go to Admin Tool> Windows Deployment Service > servername > action > properties.
Select pxe Response settings tab and select respond to all.

Step3:Select Directory service tab and configure client naming policy and client account location.

Step4: Select advance tab and select allow wds to dynamically discover valid domain server option and select authorize this wds in DHCP.

Step5: Select network settings tab and u can choose either obtain ip from DHCP or use ip from following rage define a ip addresses range.

Step6: Select DHCP tab and select don’t listen on port 67 because DHCP server is running on the WDS and select configure DHCP option 60 to ‘PXEClient’ option as well.

Step7: Select Client tab and select enable unattended installation check box and browse a client unattended file, to create unattended file we will discuss in unattended setup section which is mentioned below.

Now our WDS configuration phase1 has finished.
Add Boot Image on WDS :
Step8: Go to WDS>Server name> Boot Image>Action>add boot image > brouse “boot.wim” file from cddrive-sources folder >configure image metadata>next >finish.
Create and Add Capture image on WDS:
The image capture utility copies an image of the computer from the reference computer that has been prepared with Sysprep.exe. The output is an install image that you can add back to the Windows Deployment Services server and then deploy to client computers.
Step9: go to wds – sever name – boot image, in right pane select image-rc-stop, again RC on image-create capture boot image-create this file named capture.wim & save in D:\image\.
Below is an example file that automates the UI screens of the Image Capture Wizard. To use this file, first update each section with the information for your environment. For example, the [ExclusionList] specifies the files that the capture process will exclude from capturing. Then create a capture image and save this file within the image.
Create a *.inf file using notepad and save as “Wdscapture.inf”.

Mount the capture image using ImageX:
Open Deployment tools command prompt and run commands those are given below,
C:\>imagex /mount d:\image\capture.wim 1 d:\destination_folder_name /check
Than paste Wdscapture.inf file in mounted file\windows\system32 folder and replace existing wdscapture.inf file.
C:\>imagex /unmount d:\destination_folder_name
Lastly, add the capture image to the Windows Deployment Services server Using CMD or WDS manager:

If you boot a computer into this image, the UI screens will be automated and the image will be uploaded to the server with the settings you have specified.
Add Install Image groups
Step10: Using GUI: WDS>Servername>Install Images >action >Add Image Group >enter image name “ImageGroup1”>finish.
Using CLI:

Add Install Image
Step11: Now we are going to upload win7 Image using GUI : WDS> Servername >Install Images>ImageGroup1 >Action >Add Install Image >brouse “boot.wim” file from -sources folder >If image file contains more than one editions select one or more >next >finish.
Using CLI:

Follow these steps again to add another Image.
Add xp image in wds :
Note that xp image doesn’t available in wim format, so will get it using any one of two methods.
Method1: If we upgrade server 2003 to server 2008. older RIPREP Image by default will moved in “WDs>Servername>Legacy Images” directory. convert this image to wim format and add in second image group.
Method2: Capture Image from well prepared target machine, to do this:
Log on to target machine where xp is installed and has more than one partition. add sysprep & setupcl files in windows\system32\sysprep folder.
After that Open command Prompt and type this command= sysprep -mini –reseal -restart
Now go to BIOS and select first boot device to LAN card. When the computer restarts, press F12.
In Windows Boot Manager, select the capture image, and then click next.
Choose the appropriate drive, and then provide a name and description for the image. Click next to continue.
Click Browse, and browse to a local location where you want to store the captured install image.(You must specify a location so that if there is a network issue when you deploy the capture image, you have a local copy.)
Type a name for the image (use the *.wim file name extension), and then click Save.
Select Upload image to WDS server.
Type the name of the Windows Deployment Services server, and then click Connect.
If prompted for credentials, add a user name and password for an account which has sufficient permissions to connect to the Windows Deployment Services server. On the Image Group list, choose the image group in which to store the image.
Note that using this method you can add any customised windows images.
Example sysprep.inf file is located below:

To automate xp installation create a directory hierarchy like this: D:\Remoteinstall\Images\\\$OEM$\$1 and place sysprep.inf file in it.
Unattended setup:
To unattended installation you need to create and assign answer files to images.
Now we will create two different unattend.xml file named client unattend.xml and image unuttend.xml. image unattend file contains boot and partition information and client unattend.xml file contains os configuration.
Note that you can use also a combined unatend file which will contain all information about installation.
Step13: Go to windows AIK> windows system image manager> under lower left pane> select an windows image or catalog file> Brouse catalog files from os disk\sources.
Configure add configuration passes to different components and configure this according to your need.

After that go to file menu select save answer file and save this as unattend.xml.
Example of image unattended file:

Example of client unattended file:

Now assign these files to an image:
•Associate image unattended file: server_name-rc-properties-client tab-salect clientunattend.xml.
•Associate client unattended file: server_name-install image- image groupe_name- image_name-rc-properties-Allow image to install image in unattended mode-select autounattend.xml.
Create a discover imageA discover image is a boot image that contains Windows PE 2.0 and has been modified to force Setup.exe to launch in Windows Deployment Services mode to find a Windows Deployment Services server. Generally, you will want to create a discover image for computers that are not PXE enabled. You save the discover image to a file, convert it to ISO format, and then burn it to a CD or DVD.
Step14:Open command prompt and run command as those are given below:

Create a discover boot diskStep15: Open Deployment tools command prompt and run command as those are given below:

Step16: Burn winpe.iso in to a disk. You will use this disk to boot and install an image on target machine.
To Install an image to target machine
Step17: go to BIOS and select first boot device to LAN card. When the computer restarts, press F12.

Step18: select windows boot image and press enter.

Step19: select an image that u want to install.

Step20: wait until server initiate your session after few minutes installation will starts without prompting anything else.

After a few minitus your new system will be ready to operate……………


One response to “Configure WDS on Server 2008.

  1. HI,

    I have setup the WDS and have all my install images. i can pxe-boot on to the server and selct the image i want but then it just sits there on the next scren ‘waiting for server to initate connection’

    any ideas what could be wrong.?

Leave a Reply

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

You are commenting using your 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