Syed Jahanzaib Personnel Blog to Share Knowledge !

April 27, 2012

Windows Deployment Services (WDS) / Short Reference Notes


Following are short reference notes , I worked on WDS long time ago, recently I was assigned to deploy WDS in my company.
It took some time to recall old memories and did waist some time in googling, So this time I took short notes on how I manage to did some Advance configuration of WDS by integrating Acronis / Winternals ERD Commander 2007 / Win 7 / WinXP, Injecting Drivers on xp/win7.

# DHCP SERVER SETTINGS

If WDS and DHCP Server are NOT on same machine, Use the following Setting to inform client from which server to boot.

# TFTP ERROR:

After configuring WDS, you may get following error while trying to boot from Network.

.
Solution : You have to configure boot ROM in WDS console to tell Client which boot ROM file to use.
>

Note: startrom.com & pxeboot.com Boot ROM files can found at this location

\\WDS_SERVER\RemoteInstall\Boot\x86

# startrom.com is suitable if you have only legacy images on your WDS Server.
# pxeboot.com is suitable if you have both legacy WinXP/ERD/Acronis and Windows 7 images configured on your WDS Server.

TIP: You can also use startrom.n12 & pxeboot.n12 If you want to directly boot to WDS skipping F12.

Howto Add Drivers in XP Image (Legacy)

First create following folder structure

\$OEM$\$1\Drivers

in your Windows XP RIS image location e.g:

\\wds_server\RemoteInstall\Setup\English\Images\WINDOWS-XP-SP3\i386\$OEM$\$1\Drivers\

Copy your network card driver here. (in drivers folder)

Now open unattended file like winnt.sif or ristndrd.sif in notepad
(Depend on your deployment structure)
e.g:

WDS_SERVER\RemoteInstall\Setup\English\Images\WINDOWS-XP-SP3\i386\templates\

Add following lines in [Unattended] section

[Unattended]
DriverSigningPolicy=Ignore
OemPreinstall=yes
OemPnpDriversPath=Drivers\Nic

Make sure there are no duplications.
Restart WDS Service.

Adding ERD COMMANDER 2007 in WDS

Simply Add Windows 2003 Standard Edition  from WDS Legacy Console,
Now Copy I386 folder from ERD folder to WDS windows 2003  image folder. If it asks for Overwrite , Select Yes.
Now  add the /minint synatx in this file

\\wds_server\RemoteInstall\Setup\English\Images\ERD\i386\templates\ristndrd.sif

[SetupData]
OsLoadOptions = “/noguiboot /fastdetect /minint”

To add driver in ERD Commander, copy your network driver in
(I don’t know the exact path, so copy it in all possible folder, some1 please point which exactly should these files be pasted in, i guess only system32 is enough)

\\wds_Server\RemoteInstall\Setup\English\Images\ERD\i386
\\wds_Server\RemoteInstall\Setup\English\Images\ERD\i386\system32
\\wds_Server\RemoteInstall\Setup\English\Images\ERD\i386\system32\drivers

Add Win7 Boot Image:

Following is an excellent guide on howto add Windows 7 Boot Image in WDS

http://www.windows-noob.com/forums/index.php?/topic/261-how-can-i-capture-an-image-using-wds/

Add Drivers in Windows 7 Boot Image:

First copy boot.wim from windows 7 CD to your desktop.
Now we have to mount this image in any temporarily directory,
Then add drivers, then commit change,
Now dismount this image,
Now copy it to any folder in WDS server,
From wds console, replace current boot image with this new image. The traditional way is to use the DISM tool provided with your win7/vista, but the easiest way to do is to use 3rd party GUI tool (Free edition).

Download DISM GUI tool from

Mr Jinje DISM Tool™
http://www.msfn.org/board/topic/138804-mr-jinje-dism-tool/

Now first copy the boot.wim from the wds server or from the windows 7 dvd from \sources\ folder.
Now open the Jinje DISM Tool, Click on MOUNT WIM, select boot.wim , and mount it in any temp folder, e.g: c:\wds_temp_mount_dir
Now Click ADD DRIVERS, point it to folder where your windows 7 drivers are located. It will auto add it to boot.wim.
Now Click on COMMIT WIM, it will write changes to this boot.wim
Now click on DIS-MOUNT WIM.

Copy this updated boot.wim to wds temporarily directory.
From WDS Console, replace current boot image with your newly updated image you copied in temp folder of wds.

.

Final ~ Screenshots :) <WDS running in Mixed Mode>

.

.

.

Boot image disappear from Menu / List after adding network driver [26th Febraury, 2013]

Recently (26th Feb 2013) we receive new range of HP PROBOOK 4540s series. When I tried to inject drivers in boot wim and replace previous wds boot image with this new one, it disappeared after refresh and it didn’t showed up in the pxe boot menu. I tried several ways and different drivers set including x86 and 64bit, but no use.
Finaly I made it. When adding drivers via DISM, selected INDEX 2 while mounting the WIM image Because most drivers get deposited in the 2nd index

Side NOTES for WDS:

Some Client PC’s are unable to receive ip from DHCP Server:

Some clients / LAN cards are unable to get ip’s from DHCP Server. Timeout occurs.
Possible causes:

1#)  If you are using managed switches, you probably have STP (Spanning tree protocol) enabled. This will cause a small delay with the WDS/RIS handshaking process. If you find that you have STP enabled, do the following to make RIS respond.

When you see the screen

CLIENT MAC ADDRESS: XX XX XX XX XX XX
DHCP ….

Press the ‘Pause/Break’ key on , wait about 10-15 seconds and then press ENTER, Your client will be able to get the ip from DHCP Server.

2#  If you have WDS running on a Domain Controller with DHCP also running. There is a workaround which microsoft provides in detail.
http://support.microsoft.com/?kbid=842608

I suffered this issue and was really exhausted with this issue :) then google came to rescue me :)
Syed Jahanzaib

====================================================
How can I CAPTURE an Image using WDS image capture

http://www.windows-noob.com/forums/index.php?/topic/261-how-can-i-capture-an-image-using-wds/

====================================================
WIN_PE Related
If you get x0x0x03fb error
change the WAIK version.
====================================================

http://www.edugeek.net/forums/windows-server-2000-2003/30233-solved-wds-error-injecting-drivers.html

http://www.microsoft.com/downloads/details.aspx?FamilyID=94BB6E34-D890-4932-81A5-5B50C657DE08&displaylang=en

(The right version of WAIK that worked :D for me was  6001.18000.080118-1840-kb3aikl_en.iso )
====================================================

WDS deploying VISTA : If you are testing it in VMWARE, you will receive error that the wdsclient is unable to find the matching drivers. please read the following links.

http://www.msfn.org/board/topic/81802-winpe-20-networking-in-vmware/

VMWARE DRIVER Location:

http://rapidshare.com/files/6595029/VMware_Drivers_5.5.3.rar.html

===============================================
WDS: error running wds in legacy mode.
use this command.

wdsutil.exe /Uninitialize
===============================================

Encountered problem during Dell Optiplex GX280 NIC in RIS

http://en.community.dell.com/support-forums/network-internet-wireless/f/3324/p/17218793/17341779.aspx#17341779

===============================================

Regard’s
SYED JAHANZAIB

The Silver is the New Black Theme Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 2,045 other followers