Support
Guides & Tutorials
Windows Deployment Services (WDS)
Part 1. Creating a HAL independent Windows XP base image | Part 1. Creating a HAL independent Windows XP base image |
|
|
|
|
This section will explain how to build a generic HAL independent Windows XP base image that can be deployed to all of your hardware models (desktops and laptops). 1. Perform a clean installation of Windows XP.
This guide will focus on using the first option as I haven't experimented in any depth with VMWare yet. If you have chosen to use your most common model of PC to build your base image, and you plan on deploying to older machines that utilise a lower / older HAL type, you will need to change the HAL type before running sysprep and capturing the image.
4. Install any additional software packages and tools.
4. Setup the Start Menu and Desktop shortcuts 4. Connect to Microsoft Update. 7. Download and configure SYSPREP. ;SetupMgrTag [Unattended] ;This tell sysprep to do an unattended setup. unattendedMode=FullUnattended OemSkipEula=Yes ;OemPnPDrivers refers to the "C:\Drivers\..." folder structure you created earlier. ;This string is limited to 4096 characters and must be on one line. OemPnPDriversPath=Drivers\Dell\755\Chipset;Drivers\Dell\755\Audio;Drivers\Dell\755\Modem;Drivers\Dell\755\Video;Drivers\Dell\755\NIC;Drivers\Dell\D505\Chipset;Drivers\Dell\D505\Audio;Drivers\Dell\D505\Modem;Drivers\Dell\D505\Video;Drivers\Dell\D505\NIC;Drivers\Dell\D510\Chipset;Drivers\Dell\D510\Audio;Drivers\Dell\D510\Modem;Drivers\Dell\D510\Video;Drivers\Dell\D510\NIC;Drivers\Dell\D510\Wireless;Drivers\Dell\D520\Chipset;Drivers\Dell\D520\Audio;Drivers\Dell\D520\Modem;Drivers\Dell\D520\Video;Drivers\Dell\D520\NIC;Drivers\Dell\D520\Wireless;Drivers\Dell\GX520\Chipset;Drivers\Dell\GX520\Audio;Drivers\Dell\GX520\Modem;Drivers\Dell\GX520\Video;Drivers\Dell\GX520\NIC ;InstallFilesPath refers to the root in which you store everything... drivers etc... InstallFilesPath=C:\ ConfirmHardware=No OverwriteOemFilesOnupgrade=No DriverSigningPolicy=Ignore oempreinstall=yes updateInstalledDrivers=Yes [GuiUnattended] ;Set the desired local admin password here. AdminPassword="******" EncryptedAdminPassword=No ;Set the number of times to automatically logon on (useful as some drivers will need to reboot before successful installation). AutoLogon=Yes AutoLogonCount=2 OEMSkipRegional=1 ;This string is read and entered into the 'HKLM\SYSTEM\Setup' registry key. OEMDuplicatorstring=XPImage_Jan08 TimeZone=85 OemSkipWelcome=1 [UserData] ;Put your Product Key here. ProductKey=***************** ;Ensure a space is used between the quotes to avoid needing to enter a username. FullName=" " OrgName="My Organisation" ;This is a special added feature that comes with MYSYSPREP - more details here. ;You can have your PC named by its serial number (%SerialNo%) or assest tag (%AssetTag%, for example, as shown below. ;ComputerName=Something%SerialNo% ;If left blank, the user will be prompted for a computer name during Mini-Setup. ComputerName= [Display] BitsPerPel=32 Xresolution=1024 YResolution=768 ;Vrefresh=60 [RegionalSettings] LanguageGroup=1 SystemLocale=00000809 UserLocale=00000809 InputLocale=0809:00000809 [SetupMgr] DistFolder=C:\sysprep\i386 DistShare=windist [Identification] ;Here you can have the computer join the domain. ;Enter the crudentials of a user that has rights to do this. JoinDomain=domain DomainAdmin=domain\username DomainAdminPassword=****** [Networking] InstallDefaultComponents=Yes [Sysprep] ;If you know the required Mass Storage (IDE/SATA etc) drivers for your hardware, you do not need to have SYSPREP build the generic list. However, for the greatest compatibility across a variety of hardware, changing this option to 'Yes' will populate the following section with a huge list of the drivers known to Windows XP SP2. ;Changing this option to 'Yes' will also add around 30mins to the SYSPREP process. BuildMassStorageSection=No [SysprepMassStorage] ;Standard Primary and Secondary IDE Channels Primary_IDE_Channel=C:\Windows\inf\mshdc.inf Secondary_IDE_Channel=C:\Windows\inf\mshdc.inf ;Standard Dual Channel PCI IDE Controller pci\cc_0101=C:\Windows\inf\mshdc.inf ;Generic SCSI/RAID Host Controller GEN_SCSIADAPTER=C:\Windows\inf\pnpscsi.inf *PNPA000=C:\Windows\inf\pnpscsi.inf ;Dell Specific ;Newer hardware will require specific drivers to be configured. pci\ven_8086&dev_2920=C:\Drivers\Dell\755\Chipset\ich9ide.inf pci\ven_8086&dev_2926=C:\Drivers\Dell\755\Chipset\ich9ide.inf pci\ven_8086&dev_2930=C:\Drivers\Dell\755\Chipset\ich9smb.inf pci\ven_8086&dev_27df=C:\Drivers\Dell\GX520\Chipset\ich7ide.inf pci\ven_8086&dev_27c0=C:\Drivers\Dell\GX520\Chipset\ich7ide.inf pci\ven_8086&dev_27c4=C:\Drivers\Dell\D520\Chipset\ich7ide.inf pci\ven_8086&dev_2653=C:\Drivers\Dell\D510\Chipset\ich6ide.inf pci\ven_8086&dev_24ca=C:\Drivers\Dell\D505\Chipset\ich4ide.inf PCI\VEN_8086&DEV_5029=C:\Drivers\Dell\755\Chipset\iaahci.inf PCI\VEN_8086&DEV_2922&CC_0106=C:\Drivers\Dell\755\Chipset\iaAHCI.inf PCI\VEN_8086&DEV_282A&CC_0104=C:\Drivers\Dell\755\Chipset\iaStor.inf PCI\VEN_8086&DEV_2829&CC_0106=C:\Drivers\Dell\755\Chipset\iaAHCI.inf PCI\VEN_8086&DEV_2822&CC_0104=C:\Drivers\Dell\755\Chipset\iaStor.inf PCI\VEN_8086&DEV_2821&CC_0106=C:\Drivers\Dell\755\Chipset\iaAHCI.inf PCI\VEN_8086&DEV_2682&CC_0104=C:\Drivers\Dell\755\Chipset\iaStor.inf PCI\VEN_8086&DEV_2681&CC_0106=C:\Drivers\Dell\755\Chipset\iaAHCI.inf PCI\VEN_8086&DEV_27C3&CC_0104=C:\Drivers\Dell\755\Chipset\iaStor.inf PCI\VEN_8086&DEV_27C6&CC_0104=C:\Drivers\Dell\755\Chipset\iaStor.inf PCI\VEN_8086&DEV_27C1&CC_0106=C:\Drivers\Dell\755\Chipset\iaAHCI.inf PCI\VEN_8086&DEV_27C5&CC_0106=C:\Drivers\Dell\755\Chipset\iaAHCI.inf PCI\VEN_8086&DEV_2653&CC_0106=C:\Drivers\Dell\755\Chipset\iaAHCI.inf PCI\VEN_8086&DEV_2652&CC_0106=C:\Drivers\Dell\755\Chipset\IAAHCI.INF PCI\VEN_8086&DEV_2821&CC_0106=C:\Drivers\Dell\755\Chipset\IAAHCI.INF PCI\VEN_8086&DEV_2829&CC_0106=C:\Drivers\Dell\755\Chipset\IAAHCI.INF PCI\VEN_8086&DEV_2652&CC_0104=C:\Drivers\Dell\755\Chipset\IASTOR.INF 8. Download and configure MySysprep. MySysprep is a hacked version of SYSPREP that works side-by-side to add more robust features and most importantly, enables switching of the HAL. Download the latest version (v1.3 at the time of writing) from http://www.tsaysoft.com/mysysprep/ and extract all files to the 'C:\sysprep' folder created earlier. Modify the 'C:\sysprep\MySysprep.inf' file to your specific requirements to enable HAL switching before Mini-Setup is run. There are several ways to do this: [CPU] GenuineIntel.MP=mp.inf GenuineIntel.UP=up.inf ;AuthenticAMD.MP=mp.inf ;AuthenticAMD.UP=up.inf [Manufacturer] [Model Like] [Model] [SerialNo] You can get the model info by typing "c:\sysprep\mysysprep /smbios" from a command prompt. I had an issue whereby, I built a base image using a 'Dell Latitude D505' laptop which uses the 'Advanced Configuration and Power Interface (ACPI)' HAL and used SYSPREP and MySysprep to deploy to 'ACPI Multiprocessor PC' and 'ACPI Uniprocessor PC' based machines. First, I tried specifying just the [Model] details but this didn't change the HAL on any machines I tried to deploy to (the base machine (D505)worked fine as expected). I then tried uncommenting the [CPU] section and this did change the HAL correctly however, the base machine (D505) wouldn't boot. I am now going to try specifiying a new option just for the D505 as in the example above. Make sure you have the files 'mp.inf', 'up.inf' and 'acpipc.inf' in the 'C:\sysprep' folder. These files should contain a single config line which will be merged into 'sysprep.inf' by MySysprep before Mini-Setup is run: ;MP models can use this file (mp.inf). [Unattended] UpdateHAL=ACPIAPIC_MP,%WINDIR%\inf\hal.inf ;UP models can use this file (up.inf). [Unattended] UpdateUPHAL=ACPIAPIC_UP,%WINDIR%\inf\hal.inf ;ACPI models can use this file (acpipc.inf). [Unattended] UpdateUPHAL=
After SYSPREP has been run and Mini-Setup completes, the 'C:\sysprep' folder will be automatically deleted.
8 comments have been left for this article. Just FYI, SP3 includes KB887816 (see here: http://support.microsoft.com/kb/946480/en-us). Yay! --Scott XP SP3 also includes KB883667 and KB910678. Naturally, be wary of new issues that could be introduced by SP3, like this one: http://support.microsoft.com/kb/951611/en-us. --Scott Your blog is interesting! Keep up the good work! Can someone please tell me how to discover the part of the dell specific hardware in the sysprep?!? Especially the pieces of hardware pointing to IaStore.inf and iaAHCI.inf. The other hardware pointing to the other INF's is no problem! We have Dell Optiplex 755 where its working, because i copied it from this site but i can't find it myself. How do u find out? We have a HP DC7800 aswell and i can't get it to work (keeps rebooting after installing the image). Please help! After following the steps to make it HAL independent, the machine will no longer shut down properly. Any ideas? whenever I roll out my image to a newer machine, I get a brief blue screen before the Windows Logo and the machine reboots. It continues this till I turn it off. Any ideas? Thanks Nice site, thanks for information! Not bad... Not bad. |
|
| Last Updated ( Saturday, 02 February 2008 ) |
| Next > |
|---|