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: 49C21AEA285347F6A3416185CCE5BC8BDA4E268C - 91 files that won't change
B - SHA-1: BB766F023CB77D606C4AAC60BDE325DC403C0FE5 - 26 files that might change
Download the unofficial service pack 4 for Windows XP from Google Drive or via BitTorrent (magnet link in \Torrents\).
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. 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
- Add the Visual C++ runtimes from the \Hotfix\ directory
- 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).
- 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 the first reboot, 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 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 (installed by default, versions might be outdated)
. Root Certificates
ε 7-Zip .msi - Critical
. HashTab v5.2
. Tool Tip Fixer
. DOS Box
ε FileZilla - use v22.214.171.124
. Daemon Tools Lite - use v4.49.1.0356 - requires 7-Zip or SPTD
. ImgBurn - requires Nero BurnRights for non-admin accounts
. UltraDefrag - one pass of boot time defrag, requires Admin rights
. Enhanced Mitigation Experience Toolkit - use v4.1u1 - requires .Net 4.0 & Admin rights for configuration
Recommended but not included on the DVD (large and/or changes regularly)
ε FireFox v52.9 - dictionaries supported (*.aff *.dic) en_US, en_GB, en_CA & en_AU already on DVD
ε Java Runtime Environment jre-8u152
ε Libre Office - use v126.96.36.199 - can use Java, "en-GB" help files folder renamed to "en"
ε Foxit Reader - use v8.3.2
ε K-Lite Mega Codec Pack v13.8.5 - lots of stuff option, see here if you want to create your own config files
Supported (pick and choose to suit your needs and/or preferences)
ε ThunderBird v52.9.1 - dictionaries supported
ε SeaMonkey - dictionaries supported
ε Opera - use v36.0.2130.80 - April 2016
ε Google Chrome - use v48 - April 2016
. Adobe Flash Player plugin - direct links >> Internet Explorer . FireFox & SeaMonkey . Chrome & Opera
. Adobe Shockwave Player plugin
. Microsoft Silverlight Player plugin direct link
. Notepad ++
ε Adobe Reader - use v11.0.8 & update patch (v11.0.23) - 1st run must be from an Administrator account
ε GIMP - use v2.8.22 - "en_GB" help files folder renamed to "en"
ε 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 - use v188.8.131.521 (v184.108.40.20613 on VirtualBox without D3D)
ε Vuze - download - requires Java
. AnyDVD - place rego key in \XP32\Config\
. DVD Shrink
. CDBurnerXP .msi - requires .Net 2.0 or greater
ε VideoLAN Player
ε YouTube Downloader
. Save2PC Light
. BOINC Screensaver
. Spybot: Search & Destroy v1.6.2 - detection update integration supported - requires Admin rights
. Microsoft Security Essentials - use v4.4.304.0 - detection update integration supported
. Avast free anti-virus v8.0.1497 - detection update integration supported
. Comodo Firewall - use v5.12 x86 .msi - install switches
. 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 6) 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.
The PoS registry key has been set so you will continue to receive patches until April 2019 but please note that Microsoft has crippled Windows Update and hence it can take a full day or more to scan and that there are 2 special cases::
A) Any post-sp4 update for Windows Installer (MSI 4.5), as highlighted in this post. It is imperative that you install these updates separately (KB3196726 has already been applied). After installing them RUN THIS COMMAND: msiexec.exe /regserver
B) 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, highly configurable regarding choice of emulated hardware and also good for virtualizing Linux (some tricks needed for Windows 98se).
- 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\[Sun|Oracle]\VirtualBox\", copy it to \XP32\ on your install media (requires 7-Zip) AND increase the number of automatic logins (at step 6) 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 Server 1.0.10 (Vista-) or VMware Player 12 (Win7x64+), they're also free but have some limitations, VMware Server also requires registration.
- Silent installation of Virtual Machine extensions is supported, once VMware Server|Player is installed there will be a file "Windows.iso|WinPreVista.iso" at "\Program Files (x86)\VMware\Server|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.