I have been asked to roll out 29 new Dell Optiplex workstations and thought I would share my experience working with WDS. I will be installing Windows XP Professional SP2 on all workstation and the method of choice is to install WDS on the SBS 2003 server. I first verify the I had a server running Server 2003 SP2 and in my case I used Windows Small Business Server 2003 SP2.
Step 1 – Installing WDS on your Windows 2003 Server SP2
- Logon to the Server with Domain Administrator rights
- Navigate to the control panel and click Add/Remove Programs
- Click Add/Remove Windows Components
- Scroll down and check Windows Deployment Services
- Click Next and Finish (once installed WDS can be found under Administrative Tasks)
Step 2 – Configure Windows Deployment Services
- Navigate to Start > All Programs > Administrative Tools > Windows Deployment Services (WDS MMC should appear)
- Expand Server and right click [sever name] and click Configure Server
- Click Next to start the Wizard
- Check the Path if needed (I used D:\Remoteinstall because of disk space on system drive C:)
- 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
Step 3 - Download and Install Business Desktop Deployment 2007 (BDD 2007)
- Open a web browser and navigate to http://www.microsoft.com/downloads/details.aspx?FamilyId=13F05BE2-FD0E-4620-8CA6-1AAD6FC54741&displaylang=en
- Save download locally to the server and install
- Once installed you will need to launch Workbench and added any required components
Step 4 – Install OS and all needed Applications (excluding Windows Media Player 11)
- Enable network boot option in BIOS
- Install Operating System – In my case I installed a Volume Copy of Windows XP Professional SP2
- Join to the Domain and install needed Application and Updates
- Remove from Domain
Step 5 – Setup Boot Image in WDS
- Create a folder on the sever to copy two WIM files to (WinPE.WIM and Boot.WIM)
- Insert a Vista Business DVD in to the DVD-ROM drive and browse the Disk for a file called Boot.WIM and copy to folder recently created folder
- Navigate to Program Files\Windows AIK\Tools\PETools\x86\WinPE.WIM and Copy to recently created folder
- Now I opened up WDS expanded Server and right clicked the Boot Image Folder and Clicked Add Image
- Browsed to Boot.WIM and click OK
- Repeated for WinPE.WIM and click OK
- Next, In WDS I right clicked WinPE and Clicked Capture Image
- Finally, In WDS I created a Master Image Group called “Windows XP Image”
Step 6 – Sysprep the Master Image
- To Run the sysprep I inserted the XP Professional SP2 Disk and Browsed to the deploy.cab file (in my case it was D:\Support\Tools\Deploy.cab)
- I used WinZip to extract the Deploy.cab file to a new folder I created called sysprep (C:\sysprep
- Navigate to the C:\sysprep folder and launch setupmgr.exe
- Click Next to Start the Wizard
- Select “Create new” and click Next to continue
- Select “Sysprep setup” and click Next to continue
- Selct “Windows XP Professional” and click Next to continue
- Select “No,do not fully automate this installation” and click Next to continue
- For Gernerl Settings enter the Name and Organization, Display Settings (default), enter the Time Zone applicable and then enter the Product Key
- For Network Settings select “Automatically generate computer name, Select “Use the following Administrator password (127 characters maximum ; case-sensitive” and enter local administrator password and confirm. Select Typical settings and finally select Workgroup.
- For Advanced Settings specify Country or region, enter area code, Regional Settings select “Specify regional settings in the answerfile” and check ”Customize the default regional settings” Click Custom and verify and enter sysprep Identification String (example Windows XP Deployment for Dell Optiplex 755 112007)
- Click Finish and OK
- Click Cancel to Close Setup Manager ( This is an annoying microsoft glitch)
- Now runs Sysprep by navigating back to c:\sysprep and launch sysprep.exe
- Click OK to Continue
- The System Preparation Tool 2.0 windows should appear. Check “Use Mini-Setup and then Click Factory
- Once PC shuts down press the power button to restart the PC (PC will take some time to reboot)
- Once at the Desktop Click Reseal and OK to Shutdown the PC
- PC should Shutdown (do not boot to windows you need to PXE boot and capture the image
- Sysprep is Complete
Step 7 – Create Master Image for WDS
- Boot up the PC that you want to image and press F12 to enter Boot Menu
- Select Onboard Network Controller and press Enter
- Press F12 again to Boot from network
- Select Windows Vista PE (x86) and press Enter
- From the command prompt type wdscapture.exe
- Click Next to start the WDS Image Capture Wizard
- In the Image Capture Source use the dropdown to select the volume to capture (in my case it was C:\) and enter an Image Name and Image Description. Once complete click Next
- In the Image Capture Destination you will need to browse to a local Destination ( I had problems finding the WDS server when I checked “Upload image to WDS server:”)
- Click Finish to begin capturing Image
- Once I had the Image I restarted the Master-Image PC and Join to Domain
- I copied the image file to a local directory on the WDS server
- Once complete I opened WDS and expanded Servers> [Server Name] > Install Image
- Right Click Install Image Group and Select Add Install Image
- Browse to the Image and Click OK to upload the Image to WDS
Step 8 – Image New PC
- Press F2 to access the BIOS and make sure that PXEboot is enabled on the NIC
- Press F12 to access the Boot Menu
- Select “Onboard Network Controller”
- After DHCP issues IP address press F12 to continue
- Select “Microsoft WindowsVista PE (x86)” and press Enter
- Once wpeinit launches type the following:
- Diskpart
- Select disk 0
- Clean
- Exit
- Type exit to let system restart
- Press F12 and Boot from Onboard Network Controller
- Press F12 to continue
- Select “Microsoft Windows Longhorn setup (x86)” and press enter
- Click Next to start the WDS wizard
- Enter the domain administrator’s credentials and click OK
- Highlight the Master Image and Click Next
- Highlight Disk0 and Click Next – Installation will begin
- After PC reboots the windows setup should appear click Next to begin
- Select “Yes, I accept” to click Next
- Enter the product Key and click Next
- Enter Computer Name and click Next
- Enter and confirm the local administrator password and click Next
- Select No, don’t make this computer part of a domain and click Next
- Click skip and slect No, not at this time and click Next
- Click Finish
- Once PC reboot confirm that you can logon to the desktop as a local administrator
- Reboot in to the BIOS and disable Network PXE
Issues:
PROBLEM: Not able to configure WDS
CAUSE: REMINST.INF missing
RESOLUTION: Copied the same from service pack files folder
PROBLEM: Not able to PXE Boot to WDS – “WdsClient: An Error occurred while starting networking: a matching network card driver was not hound in this image. Please have your Administrator add the Network driver for this machine to the Windows PE image on the Windows Deployment Services server.”
CAUSE: Boot Image missing network driver
RESOLUTION: Need to inject the network driver in the Windows PE image. I used the procedures at http://apcmag.com/5436/customise_windows_pe_2_0
PROBLEM: Reboot after loading the install image generates the corrupt hal.dll message ““Windows could not start because the following files is missing or corrupt: <Windows root>\systems32\hal.dll. Please re-install a copy of the above file.”
CAUSE: Hidden partition present and needed to delete
RESOLUTION: Resolution was added to procedures (see above)
November 29, 2007 at 8:09 am
I just finished working with the wds setup and its a success, butaccording to your wdssetup guide u`ve included BDD2007 what is it for since my setup is not runing with it?
December 3, 2007 at 11:13 am
I needed the Windows PE Boot Image that was found in AIK tool kit. Did you deploy XP or vista?
December 10, 2007 at 1:41 am
Unbelievable. Working fine as you have given all steps.
Thanks dear.
January 27, 2008 at 10:59 pm
I followed the steps in the instruction list.
The process hangs at Step 7, point three.
At step 7 I boot pc and press f12 which brings up a boot device list (end of point one). I select LAN and press enter (end of pint two). I press f12 and twice the computer boots straight to Windows and on one occasion it just hung on a black screen.
Any idea on what is happening??
January 29, 2008 at 9:37 pm
Hello gurus,
I am having problem below
I am able to built and captured the image on Dell GX270 model to WDS server then deploy image to the same machine I was built and captured it’s working fine but when I use another Dell exactly the same hardware (Dell gx270) after login domain credential, it shows me no image are available so I cannot deploy to another machine exactly the same hardware. Am I missing anything or do I need modified sysprep to work please help
February 14, 2008 at 3:28 am
Nice write up, datanotes! Works all the way, thx!
March 27, 2008 at 4:53 am
[...] How to Deploy Windows XP Professional Using Windows Deployment Services (WDS) [...]
March 27, 2008 at 9:44 pm
Hi Datanotes – Kudos for the walkthrough.
I’m also trying to do a optiplex 755 but am having major dramas adding in the network driver.
According to the APC article they inject the driver into boot.wim, image 2 which is Longhorn Setup rather than 1 which is Longhorn PE.
I’ve tried adding it to both and haven’t had any luck – is there something else you did?
Cheers
April 15, 2008 at 6:33 am
Hi Craig,
What is the licencing implication of using a file from a Vista DVD to deploy Win XP. i.e. are you “allowed” to just copy the file off any vista DVD you legally own?
Jake
April 19, 2008 at 8:30 pm
Thanks bro, will try follow your guide but first of all, I would like to thanks because this’ the one I am looking for.
April 22, 2008 at 8:08 am
Can you please confirm which part of the procedure resolves the hidden partition issue?
Thanks
May 14, 2008 at 11:19 pm
Plesae Help
I can see the boot image when PXEbooted on the destination workstation but I can not see the install Wix XP Image.On the server it shows up in WDS and in the Remote install directory
Thanks
May 19, 2008 at 8:11 am
Hello, very helpful guide. This worked perfect for me except that on a few of my machines, wpeinit hangs after loading win pe. It also hangs when trying to boot into longhorn (boot.wmi).
Any ideas?
May 22, 2008 at 2:14 am
Microsoft Windows Xp Professional Sp2…
I have been asked to roll out 29 new Dell Optiplex workstations and thought I would share my experi……
May 28, 2008 at 8:56 pm
How can I stop it from prompting for Product Key and local aadmin password. They were specified in previous steps. Why do I have to enter it for ever installation?
July 9, 2008 at 7:53 am
[...] step and you’ll have a WDS sever stood up in about 10 minutes (note, you can also find this here, on the wordpress blog I originally found it [...]
July 16, 2008 at 7:39 am
[...] I’ve noticed that by far the instructions I posted (and credited to the original poster, here) on setting up WDS on server 2008 / server 2003 SP2 are being hit harder than anything else on the [...]
July 28, 2008 at 5:10 pm
do not use windows Deployment services its too long and its crappy slow etc etc etc.
Use Norton ghost multicast server its easy and fast . Build your machine, create image using ghost (usual prep and seal) deploy, log on as admin a few times then thats it.
Vince
July 31, 2008 at 2:16 pm
Excellent tutorial. Sure beats reading Microsoft 52 page “Quick” guide and still being confused. I also added some of my findings to my blog @ pacerfan9.wordpress.com
July 31, 2008 at 2:17 pm
[...] 2008 server. To configure the server and workstations I followed most of the steps located at http://datanotes.wordpress.com. I would like to highlight a couple issues and points [...]
August 5, 2008 at 10:12 pm
Nice JOB!
August 20, 2008 at 5:10 am
Thanks so much, worked a treat, can now deploy to 50 pc’s.
Very Happy!
August 26, 2008 at 10:09 am
Nice post! I need to deploy a group of computers (Win XP SP3). I will try your procedure and let you know how it goes! Thanks
September 18, 2008 at 10:32 am
To people having problems with Opttplex 755 network adapters, download the following drivers from Intel and inject them into your boot.wim as instructed in the origina post. You want to install the Pro1000 drivers.
http://downloadcenter.intel.com/download.aspx?url=/12197/a08/PROVISTA32_v13_1_2.exe&DwnldId=12197&ProductID=2775&lang=eng
October 8, 2008 at 6:57 am
Works like a charm, however I left out the BDD2007 steps. BETTER THAN GHOST !!!
February 15, 2009 at 2:54 pm
works perfectly, thanks!
March 22, 2009 at 9:13 am
Great run-through on WDS deployment, credit where its due!
March 30, 2009 at 6:40 am
Thanks a lot…..I folowed every step and it worked just fine.Instaling XP in 10 minutes thats amazing!!!
April 27, 2009 at 1:09 am
I usually dont post in Blogs but your blog forced me to, amazing work.. beautiful
May 25, 2009 at 5:49 pm
[...] How to Deploy Windows XP Professional Using Windows Deployment Services (WDS) [...]