Prerequisite:
- Windows 2008 Active Directory, DNS and DHCP
- Download Windows Automated Installation Kit (WAIK) and installed in WDS server.
- Windows 7 DVD
Step1 Install WDS in Windows 2008 Server. Navigate to Start > All Programs > Administrative Tools >Manage Server>Expand Roles>add new role
Follow screen shot
Step2 Install WAIK in WDS server, In windows 2008, you don’t need to install .net framework 2.0. Its inbuilt. Insert WAIK DVD in WDS server and install WAIK. nothing special, install as you install an ordinary application.
Step3 Configure WDS Server. Navigate to Start > All Programs > Administrative Tools > Windows Deployment Services. Expand Server and right click [sever name] and click Configure Server. Click Next to start the Wizard. Check the Path (I used e:\Remoteinstall, avoid boot partition if possible). For DHCP Options 60 Check both “Do not listen on Port 67″ and “Configure DHCP option 60 to “PXE Client” and Click Next. For PXE Server Initial Settings select “Respond to all (known and unknown) client computers” and click Finish
Check both “Do not listen to port 67” and “Configure DHCP option 60 to PXE Client” option if DHCP and WDS has been configured in same Server
on WDS console expand Servers, right click on WDS server, navigate to property. Click network settings>check obtain IP address from DHCP
Now add winpe.wim image in WDS. WDS>right click on boot image>Add boot image>Browse and navigate to C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE.WIM Name this image as “Capture Image”
add boot.wim image in WDS. Now insert windows 7 DVD in WDS server’s dvd rom. WDS>right click on boot image>Add boot image>Browse and navigate to D:\sources\boot.WIM (d:\ is dvd rom drive) Name this image as “Deploy Image”
to add x64 bit winpe.wim in boot image, WDS>right click on boot image>Add boot image>Browse and navigate to C:\Program Files\Windows AIK\Tools\PETools\amd64\WinPE.WIM and add this image.
Now make image group in WDS.
Step4 Install Windows 7, prepare it by installing desired application. Log on to Windows 7 computer as an administrator. Navigate to c:\windows\system32\sysprep and Run sysprep.exe /oobe /generalize /reboot from command prompt. be careful of this reboot to capture the image, if not you will need to re-do Sysprep. Press F12 to initiate a session the WDS Server. Select capture Image option.
On command prompt as shown above screen, type WDSCapture and hit enter key.
Upload image to WDS server, click on connect, provide credentials if required, select Image group and name it.
Once image capture is done. navigate to WDS console>Image group>right click on windows7 image>property>check allow image to install in unattended mode>select file> browse and navigate to unattended xml file prepared using WAIK.
Step5 to deploy this image boot similar workstation and press F12 to PXE boot. Select deploy image option>select group>select image.
Posted by Raihan Al-Beruni 

