Some of you might also be interested in these similar guides for Windows 98se, 2000 or XP x64.
So you want to create Windows XP (x32) SP4 installation media with a full driver loadout and scripted installation installs? Well here's how.
So you are going to need some files:
From MediaFire, the Config_WinXP-SP4_date.7z file and extract it, this will also setup the necessary directory structure (read \Misc\FileList.txt for contents).
Also from MediaFire, extract both Files_WinXP-SP4_*_date.7z archives, targeting the same directory that you did with the config file.
A - SHA-1: B5092170D72FC7D70009191922150854BD09845C - 83 files that won't change
B - SHA-1: CCCAB42B922ADAF49EF5511DB222771982BE379D - 17 files that might change
Download the unofficial service pack 4 for Windows XP from Google Drive or via BitTorrent (magnet link in \Torrents\).
Download and extract the post SP4 May 2019 update pack
Using a BitTorrent client, download the 13 DriverPacks whose torrents you find in \Torrents\ (in the form of DP_*.torrent) to \Downloads\.
Once all the DriverPacks are downloaded, run \Misc\DriverPacksPrep.bat to copy them to their required locations.
Finally, to check that everything is accounted for you can open \Torrents\WinXP-SP4_date.torrent (includes everything except SP4 and the config files, but it will be very slow due to my upload limitations).
If you haven't already done so, install nLite (a copy can be found in \Misc\)
Now it's time to fire up nLite
Note that nLite must be run with administrator privileges, you might need to disable anti-virus software and most importantly, slipstreaming Service Pack 4 must be done on a Win NT 5.x host (2000/XP/XPx64/2003/2003x64). It may be worthwhile to do a pass where you only slipstream SP4 and then burn an .iso, thereby obtaining a clean XP sp4 source disk as a base.
Updated Intel AHCI & RAID drivers are used at the textmode step of installation rather than the DriverPacks as in my experience they are more often needed. To use those included in the Driverpacks instead, skip step 7 and enable TextMode at step 11.
There are screenshots available of the process at MediaFire.
- Run nLite as an administrator and locate your XP source.
- Extract your XP source to \XP-nLite\
- Load the appropriate session file from \Misc\
- Slipstream service pack 4
- Apply the May 2019 update pack by running the slipstream.bat file
- Hotfixes - add the Visual C++ runtimes from the \Hotfix\ directory
- Drivers - insert the single driver iaAHCI.inf in the "Universal 32bit Intel RST AHCI+RAID driver" folder and then when the popup box appears choose to install the SATA drivers in TextMode, selecting ALL the drivers (Ctrl-A)
- Unattended settings - this is the most important part (might need to load the session file again)
- Leave the Product Key blank
- Your RunOnce file must look like this:
Code: Select all
Ping -n 61 127.0.0.1 > nul CMD /R "%Source%RunOnce\Run1a.bat %Source%"
- Set it to autologon at least three times as the "Administrator" (Professional) or "Admin" (Home - administrator class) account with a password of "G1berish"
- Leave the Computer Name blank
- Make any tweaks you want, then run the process
- Fire up \DriverPacks\DPs_BASE.exe and target the \XP-nLite\ working directory
- Select all DriverPacks (only Graphics_PhysX in 3rd party) but don't include the Mass Storage drivers in TextMode
- Choose Slimstream Method 2 and Custom Finisher Start
- Disable Keep the Drivers and QuickStream Cache
- Choose ATI CCC new and nVidia CP both
- Check the settings and then slipstream the DriverPacks
- Copy all the contents of the \CopyFrom\ folder to the \XP-nLite\ working directory
- After you drag n drop anything else that you may want / need, go ahead and burn that image / DVD
Ensure the PC is disconnected from the internet, set your HDD as the first boot device then insert the DVD and optionally your USB stick. Boot to the DVD using BIOS boot options and then follow the standard textmode installation steps. If you have a removable media drive, you might get "No Disk" messages on reboots, just "Continue". If you get a BSoD when installing from a SATA DVD drive, try an IDE or USB attached DVD drive instead. The installation is fully automated except that it will ask you at one stage to provide a license key. Note that the PC will reboot several times while installing drivers and the like. The Administrator/Admin password is "G1berish".
To install XP from a USB stick, download Rufus (copy in \Misc\) and run it to "create a bootable disk using" your new Win_XP_SP4.iso. You can place the \XP32\ folder for optional application installs on this USB stick.
Application AddOns: (do NOT place multiple versions of the same application in \XP32\)
If you wish to install additional or updated optional applications then copy the folder \XP-32\ and all its contents to a USB flash drive and rename it to \XP32\. The following applications will be installed if they are copied to \XP32\, unless otherwise noted they will work with minimal rights (guest account) and maximum DEP (AlwaysOn). If a version number is given then that is the last version to work on XP without issues: ε=EMET protected
Recommended and included on the DVD by default (versions might be outdated)
. Root Certificates
ε 7-Zip .msi - Critical
. HashTab v5.2
. Tool Tip Fixer
ε FireFox - v52.9.0esr - Yank, Pom, Canuck & Aussie dictionaries installed
ε FileZilla - v126.96.36.199
. DOS Box
. Daemon Tools Lite - v4.49.1.0356 - requires SPTD
. ImgBurn - requires Nero BurnRights for non-admin accounts
. UltraDefrag - one pass of boot time defrag, requires Admin rights
. Enhanced Mitigation Experience Toolkit - v4.1u1 - requires .Net 4.0 & Admin rights for configuration
Recommended but not included on the DVD by default (will be installed if copied to \XP-32\ on the DVD)
ε Java Runtime Environment - v8u152
ε Libre Office - v188.8.131.52 - uses Java for the database component
ε Foxit Reader - v8.3.2
ε K-Lite Mega Codec Pack - v13.8.5 - lots of stuff option
Supported (pick and choose to suit your needs and/or preferences)
ε ThunderBird - v52.9.1 - Yank, Pom, Canuck & Aussie dictionaries installed
ε SeaMonkey - Yank, Pom, Canuck & Aussie dictionaries installed
ε Opera - v36.0.2130.80
ε Google Chrome - v48 .msi
. Adobe Flash Player plugins: Internet Explorer . FireFox & SeaMonkey . Chrome & Opera
. Adobe Shockwave Player plugin
. Microsoft Silverlight Player plugin
. Notepad ++
ε Adobe Reader - v11.0.8 & patch (v11.0.23) - 1st run must be from an Administrator account
ε GIMP - v2.8.22 - help files
ε Google Picasa
. Mihov Image Resizer
. nLite - requires Admin rights
. WMP11 Slipstreamer
. Virtual PC 2007 SP1 (rename to VirtualPC2007x86setup.exe) & patch & patch
. VirtualBox - v5.2.x - Oracle extension pack supported
. VMware Server - v1.0.10 - you will need to edit \XP32\Config\Run1.bat inserting your registration key, any DEP level except AlwaysOn
ε Google Earth - v184.108.40.2061 (v220.127.116.1113 on VirtualBox without D3D)
ε Vuze - download - requires Java
. AnyDVD - v7690 - place rego key in \XP32\Config\
. DVD Shrink
. CDBurnerXP .msi - requires .Net 2.0 or greater
ε VideoLAN Player
ε YouTube Downloader
. Save2PC Light
. BOINC Screensaver
. VirtualBox Additions - copy \Oracle\VirtualBox\VBoxGuestAdditions.iso to \XP32\, requires 7-Zip
. VMware Tools - copy \VMware\VMware Player\WinPreVista.iso to \XP32\, requires 7-Zip
It should be obvious, but installing these applications is completely optional, for instance there is very little point in installing 3 different PDF readers. Be cautious using AddOns at the nLite Hotfix integration step as they can break the install, however you can strip the actual executable out of the various AddOns created by others (copying the file to \XP32\) and then add the appropriate command to the batch files. The executables have usually been repacked as silent installers, but be sure to read the entries*.ini file to confirm this.
You can have as many application install reboot passes as desired. To do this simply set the system to auto-logon (in step 8) as many times as required and place the appropriate number of batch files in the \XP32\Config\ directory of your install media. Another 2 batch files are already written (at \Misc\) with the needed handover command, but if you need more they are fairly self explanatory. Be sure to install security software last.
There are two files in \XP32\Config\ that affect setup, MenuReorg.bat will delete all program icons from the desktop and organise the start menu folders while boot*.ini will allow you to select DEP level easily at each boot (defaults to AlwaysOn, the most secure), move or rename them if you don't desire these effects.
Please check both the Control Panel (for Kel's bonus utilities) and "Add/Remove Windows Components" (for things like .NET & PowerShell) that aren't part of a normal XP sp3 install.
If you're using .NET Framework 4.0 (installed by default) then every time you install a new update or application for .NET Framework make sure you run:
OR \RunOnce\Post_dotNET_40_Update.bat to boost system performance and ensure reliability.
Microsoft's EMET is a powerful and low resource security tool that hardens your system, the manual is included and an extensive application support configuration file has been applied.
Stand Alone Drivers
This disk can also be used as a driver store for already installed Windows XP systems, simply run DP_Install_Tool.cmd in \OEM\ (for CPU, Chipset, Mass Storage, LAN & WLAN, Audio or Video) or \DriverPacks.net\ (for Keyboard & Mouse, Monitors, WebCams, TV Capture, BlueTooth, Modems, et al).
I use VirtualBox for testing purposes (v5.2.x for 32-bit hosts), highly configurable regarding choice of emulated hardware and also good for virtualizing Linux (some tricks needed for Windows 98se). For now use v6.0.x or v5.2.x or v4.3.40 as v6.1.x does NOT support Direct 3D on Windows XP.
- To get sound working properly, update the AC'97 codec driver from SigmaTel to 82801AA via the device manager.
- Silent installation of Virtual Machine extensions is supported, once VirtualBox is installed there will be a file "VBoxGuestAdditions.iso" at "\Program Files\Oracle\VirtualBox\", copy it to \XP32\ on your install media (requires 7-Zip) AND increase the number of automatic logins (at step 8) by one.
- They are installed with VirtualBox's experimental Direct 3D support (/with_D3D switch) which allows some games to work (Doom 3 for example) but can also cause some minor glitches.
- If you don't want Direct 3D support, rename VBoxGuestAdditions.iso to VBGA.iso
Other options are VMware Player 15 (Win7x64+), VMware Player 12 (Win7x64+ pre-2010 CPUs), VMware Player 6 (Win8-).
- Silent installation of Virtual Machine extensions is supported, once VMware Player is installed there will be a file WinPreVista.iso at "\Program Files (x86)\VMware\Player\", copy it to \XP32\ on your install media (requires 7-Zip).
- When booting up the Virtual Machine click your mouse inside the VM and hit F2, this will allow you to access the VM BIOS, you can then alter the boot sequence so that it always boots off the CD first.
- If the BIOS flashes past too fast to access then add bios.bootDelay = "5000" to the VMname.vmx file, this will give you 5 seconds.