How to deploy custom windows 7 using windows deployment services (WDS) 2008


Prerequisite:

  1. Windows 2008 Active Directory, DNS and DHCP
  2. Download Windows Automated Installation Kit (WAIK) and installed in WDS server.
  3. 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

1 2 3 4 5 6 7

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.

capture12

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

8 9 10 11

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

12 13 14

on WDS console expand Servers, right click on WDS server, navigate to property. Click network settings>check obtain IP address from DHCP

27

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”

15  17 18

24

25

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”

19 20 21 22 23 24 25

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.

28

26

Now make image group in WDS.

29 30

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.

capture1  capture2  capture3 capture4

On command prompt as shown above screen, type WDSCapture and hit enter key.

capture5 capture6 capture7

Upload image to WDS server, click on connect, provide credentials if required, select Image group and name it.

capture8 capture9

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.

capture10

capture11

Step5  to deploy this image boot similar workstation and press F12 to PXE boot. Select deploy image option>select group>select image.

Author: Raihan Al-Beruni

This is me.

11 thoughts on “How to deploy custom windows 7 using windows deployment services (WDS) 2008”

  1. it worked now. seems like the waik i was using is the latest one and had problems. anyways wdscapture worked but this time i dont see C:\ as the source. and yes i did sysprep the machine (windows 7 enterprise x86) any ideas ?

    Like

Leave a Reply

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

WordPress.com Logo

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