So you want to create a fully up-to-date Windows 2000 installation CD / DVD ? Well here's how (minor update for December 2019).
Important Security Notice: As Windows 2000 has been out of support since July 2010 and no major web browser (or plugin) still supports it, it is not safe to use Windows 2000 on an Internet facing machine. At this stage Windows 2000 is mainly recommended for use in a virtual machine or on unconnected old hardware to run legacy applications. If you wish to use old hardware connected to the Internet a Linux Distribution is a much safer choice.
First you are going to need some files: ▼ is a direct link to the executable
Microsoft's download pages for Windows 2000 seem to be going MiA of late, so if you can't find what you're looking for there try Tomasz86's archive.
From MediaFire, the Config2000sp5_date.7z file and extract it, this will also setup the necessary directory structure (read \Misc\FileList.txt for contents).
From MediaFire the Unofficial Windows 2000 Service Pack 5.1.2195.24 Refresh (w2ksp51.exe) and save it to \Misc\.
SHA-1: A422A40C062989BFE95AA428C094321E82394ACC
▼ EXTRACT the February 2010 (June fails) DirectX redistributable to \W2K\DirectX\ (you can get back 45MB by deleting the x64.cab files).
SHA-1: A97C820915DC20929E84B49646EC275760012A42
Now you can either:
Download the current Hotfix 7-Zip archives from MediaFire, extracting them into the same directory that you chose to extract the Config archive into, this method is recommended for new users.
A - SHA-1: B893A40F31CFF4E4C44CED54EFF7BF20E47CA99E - 95 files that won't change
B - SHA-1: 98B8720F5995F6DD8B642A1F2FF7B4AF66448E88 - 33 files that might change
C - SHA-1: 7A8EDCF7CAAF8106A56CD7D14AC98C89070404DB - 9 files being .Net 2.0 sp2
OR
Open the Hotfix2000sp5_date.torent (from \Misc\) into the same directory that you chose to extract the Config archive into. Due to slow speed (about 36 hours for a full download) this method is recommended for returning users updating their hotfix list, it can also be used to error check the downloads. They both have the contents listed in the next post.
If you prefer to directly download all the hotfixes, \Misc\UpdatePrep.bat will rename them (and the optional applications) as appropriate. If you've done everything correctly \Hotfix\ should have 77 files 81,544,808 and \W2K\RunOnce\ should have 37 files 148,245,434.
Of course you won't get very far without \Misc\nLite and a Windows 2000 install CD.
Now it's time to fire up nLite.
NB: must be run with administrator privileges, might need to disable anti-virus software, Vista/Win7/Win8/Win10 users should run in XP compatibility mode and there is an archive of screenshots available at my MediaFire page.
- Run \Misc\UpdatePrep.bat
- Locate your source (my session file is located at \Misc\Win2000sp5.ini, you should probably use it as a base).
- Slipstream the unofficial service pack 5 (\Misc\w2ksp51.exe), this must be done on a Win NT 5.x host (2000/XP/XPx64/2003/2003x64).
- Add all the hotfixes listed in the \Hotfix\ directory (use Crtl-A, check the order) and any ProgramAddons.cab files (see notes part 1).
- If NOT using the DriverPacks add any drivers you may need here, especially textmode SATA AHCI & RAID drivers (Intel, nVidia). I've found that 7-Zip will extract some things WinRAR won't (also see notes part 2).
- Unattended settings, this is the most important one. Your RunOnce file should look like this:
You must also set it to autologon twice to an administrator class account (read the note), fully automated mode would be an excellent idea Smithers.
Code: Select all
Ping -n 61 127.0.0.1 > nul For %%I in (Z Y X W V U T S R Q P O N M L K J I H G F E D) do if exist %%I:\W2K\Run1.bat set Drive=%%I&& goto Found :Found CMD /R "%Drive%:\W2K\Run1.bat %Drive%"
- Make any tweaks you want, then run the process.
- If using the DriverPacks add them now (note 2 below).
- If your device can read from a DVD then you can copy the \W2K\ folder and all its contents to your nLite working directory (\W2K\AddOns\ contains optional files, see notes part 1) OR
- If your device can only read from a CD then copy the \W2K\ folder and all its contents to a USB flash drive. If you've added the DriverPacks delete the BootDisk, Discover, Support & ValueAdd folders from your nLite working directory. In this case when applications change you only need update the USB stick.
- After you drag n drop anything else that you may want / need, go ahead and burn that image / CD / DVD (unfortunately no utility supports W2K installation via USB stick).
Installation
Ensure the PC is disconnected from the internet, set your HDD as the first boot device and then insert the DVD (or CD + USB flash drive). Boot to the CD/DVD using BIOS boot options and then follow the standard textmode installation steps. If you have gone for the fully unattended / autologon x2 option, then all you have to do is let it be for roughly 2 hours (assuming lots of AddOns). If you have a removable media drive, you might get "No Disk" messages on the first reboot, just "Continue". The system will be ready for use when a logon box is waiting for your input.
Notes:
Part 1: Application addons (do not place multiple versions of the same application in \W2K\AddOns\)
nLite supports the use of ProgramAddOns.cab (or .zip/.rar/.7z) files at the hotfix integration step, however a lot of programs no longer work with Windows 2000 and often the older AddOn.cab files are no longer available. Hence the batch files have been written to support a number of key applications for which links are provided below, simply save them to \W2K\AddOns\ (\Misc\UpdatePrep.bat will rename some). Unless otherwise noted these are the last versions to work on Windows 2000 and they will work with minimal rights (guest account).
It should be obvious, but installing these applications is completely optional, for instance there is very little point in installing both supported PDF readers. If you want to include something not listed below then add the appropriate silent install command to the batch files.
Recommended
dexpot_1518_r2098.exe multiple desktops
ToolTipFixer 2.0.0.exe stops tooltips hiding behind taskbar
Firefox Setup 10.0.12esr.exe web browser
install_flash_player_32bit-11-1-102-55.exe plugin for Firefox, Seamonkey & Opera
jre-6u31-windows-i586.exe Java runtime enviroment
LibO_3.6.7.2_Win_x86_install_multi.msi office suite, US Help, GB Help, spell check info (corner case 2)
FoxitReader543.0920_enu.msi PDF reader
iview444_setup.exe photo viewer/editor
DOSBox*.**-*-win32-installer.exe DOS emulator - still works as of version 0.74-3
FileZilla_3.7.4.1_win32-setup.exe FTP client
DTLite4356-0091.exe virtual CD/DVD drive, requires SPTDinst-v***-x86.exe - SPTD still works as of version 1.90
SetupImgBurn_*.*.*.*.exe DVD burner - still works as of version 2.5.8.0, requires NeroBurnRightsInstaller.exe for non-admin accounts
K-Lite_Codec_Pack_710_Mega.exe media player, lots of stuff option
ultradefrag-6.1.2.bin.i386.exe advanced disk defrag utility, requires Admin rights
CFP_Setup_English_2.4.18.184.exe Comodo firewall - requires Comodo2.exe (a basic AutoIt script) - manual
Supported
Opera_1164_int_Setup.exe web browser
Thunderbird Setup 12.0.1.exe email client
SeaMonkey Setup 2.9.1.exe web browser & email client
Shockwave_Installer_Full-11-6-1-629.exe browser plugin
Silverlight-4-1-10329-0.exe browser plugin
SumatraPDF-2.1.1-install.exe PDF reader
gimp-2.6.7-i686-setup.exe Photoshop replacement gimp-help-2-2.6.0-en-setup.exe
nLite-1.4.9.3.setup.exe requires Admin rights
VirtualBox_1.5.6-1_Win_x86.msi virtual machine
GoogleEarthWin-5-1-3535-3218.exe
Vuze_5600_Installer32.exe BitTorrent client, can upgrade to latest version (5760) except for Platform-specific support plugin then run \W2K\AddOns\VuzeFix.cmd
uTorrent-3-1-2-26821.exe BitTorrent client
SetupAnyDVD7690.exe break DVD region coding
dvdshrink32setup.exe DVD backup utility
cdbxp_setup_*.*.*.****_minimal.exe DVD burner - still works as of version 4.5.8.7128, requires .Net 2.0
vlc-1.1.11-win32.exe media player
Quicktimealt181lite.exe QuickTime plugin for use with K-Lite Mega Codec Pack
Real_Alternative_202_Lite.exe RealMedia plugin for use with K-Lite Mega Codec Pack
Part 2: Bashrat the Sneaky's Driver Packs (3rd party DriverPacks not supported)
Adding the DriverPacks to your install media allows you to create a universal install media, however while almost all chipset, storage, networking, video and audio drivers are included not all classes of drivers are supported, for instance no modem or bluetooth drivers will be included on your install media unless you run that hardware's silent installer (integrating them at step 5 will likely fail).
This setup will work with the DriverPacks finisher, however due to the forced reboot at the end of \W2K\Run1a.bat you must use the custom finisher method. Hence the %SystemDrive%\DPsFnshr.exe line in \W2K\Run2.bat (this has only been tested with slipstream method 2). Again you should either use the DriverPacks at step 8 or add drivers at step 5, not both.
If you get an "out of memory" or "file is corrupt" error during the textmode section of installation, then do NOT integrate the mass storage DriverPack as textmode (you can rerun DPbase to remove mass storage textmode). In this case you'll have to integrate any mass storage drivers you need with nLite at step 5 (or use a floppy). In Virtual PC 2007 there was an error about a denied request to install / upgrade a game port, but that did not appear to hinder the installation.
As there are some problems with the latest DriverPacks releases when working with W2K, I recommend using the May 2008 versions of the DriverPacks, available via MediaFire or torent. My settings file is located at \Misc\DPs_BASE.ini, you may wish to use it as a base.
Part 3: Official Microsoft hotfixes released after July 2010
Microsoft has released a few hotfixes for Windows 2000 after support was officially terminated, however these are not included in the base download as they lack the widespread community testing the other hotfixes have received. If you wish to include them they are available as a seperate archive from MediaFire.
Part 4: Optional components (currently GrantAccess/SubInACL & SchTasks)
Any small (<2MB) but useful optional components will be placed in the \W2K\AddOns\ directory. The batch files will be written to support their installation if \W2K\AddOns\ is copied to the install media.
SubInACL is a command line utility meant for network administrators, but it can be useful to us mere mortals as it makes running as a limited user feasible. Using the "Access *" commands I only have to logon as the Administrator about once a fortnight. Since I started setting up my friend's computers this way I haven't had to deal with the "I cancelled a print job and now my printer is gone" (they deleted the printer) or "Why do I get all these annoying pop-ups" (opened Amazing_Photos.pps.vbs) type service calls. How many of us can truly say they have never clicked the wrong button or typed the wrong command? Remember, the neck you save might just be your own. To use this nifty utility on WinXP and later OS versions, install 7-Zip on the system and use \W2K\AddOns\GrantAccess.cmd on this version of GrantAccess.7z.
SchTasks.exe from XP SP2 (modified to work with Windows 2000) was originally used to launch \W2K\Run2.bat, so it's inclusion is a legacy item, none the less it does add advanced command line task scheduling abilities to Windows 2000.
Part 5: Testing
There are 3 free Virtualization programs that you can use to test your creation - Oracle VirtualBox (recommended), VMware Server/Player and Microsoft VirtualPC 2007. Automatic installation of Virtual Machine drivers is supported, just place the appropriate *.iso file at \W2K\AddOns\ (you MUST include 7-Zip for this to work).
Oracle VirtualBox v6.x.x (Win7x64+), v5.2.x or v4.3.40 (Win10-WinXP) or v1.5.6.1 (Win2000)
Pros: Also good for virtualizing Linux, supports x64 guest OS's if CPU has AMD-V or VT-x
Cons: Will not virtualize Win9x easily, v2.2.4 & earlier - do NOT install Comodo Firewall on the guest
ISO: %ProgramFiles%\[Sun|Oracle]\VirtualBox\VBoxGuestAdditions.iso
Please read \Misc\VirtualBoxSetting.txt
VMware Player 15 (Win7x64+), VMware Player 12 (Win7x64+ pre-2010 CPUs), VMware Player 6 (Win8-) or VMware Server 1.0.10 (Vista-)
Pros: Can virtualize just about anything, including x64 guest OS's (x64 support check)
Cons: Larger than the others, registration required for Server
ISO: %ProgramFiles(x86)%\VMware\VMware Server|Player\Windows.iso|WinPreVista.iso
If the BIOS flashes past too fast to access add bios.bootDelay = "5000" to the VMname.vmx config file
Microsoft VirtualPC 2007 & patch & patch (Host OS - XP to W7)
Pros: Easier to virtualize Win9x, guest usuable even without VM drivers
Cons: Will not virtualize non Microsoft OS's properly
ISO: %ProgramFiles%\Microsoft Virtual PC\Virtual Machine Additions\VMAdditions.iso
Part 6: .Net framework
The installers linked to in the downloads section were created by User Hidden (unfortunately Yumeyao's version is outdated), they are used rather than the original Microsoft installers as they save considerable time and 90MB on your install media. If you prefer to use the original files then delete the 2 dotNet*_UH_*.exe files and save the following 9 to \W2K\RunOnce\:
▼ NetFx20SP2_x86.exe .. . . . . . . 25,001,480
▼ NDP20SP2-KB958481-x86.exe . . . 8,981,856
▼ NDP20SP2-KB2729450-x86.exe .. 14,682,632
▼ NDP20SP2-KB2742596-x86.exe .. 10,264,104
▼ NDP20SP2-KB2844285-v2-x86.exe 2,724,504
▼ NDP30SP2-KB982524-x86.exe .. . 16,945,512
▼ dotNetFx.exe .. . . . . . . . . . . . 24,265,736
▼ NDP1.1sp1-KB867460-x86.exe . . 10,703,680
▼ NDP1.1sp1-KB2833941-x86.exe . 15,908,664
Part 7: Unofficial Windows 2000 Service Pack 5.1.2195.21
Both Major Geeks and Softpedia host this older version of the service pack. If at all possible the use of version 5.1.2195.24 via BitTorent or MediaFire is preferred, however if you must use this version then you will need 3 additional hotfixes:
▼ Hotfix\010-Windows2000-KB913580-x86-ENU.exe 5,470,696
▼ Hotfix\015-Windows2000-KB914388-x86-ENU.exe . 618,472
▼ Hotfix\055-Windows2000-KB917537-x86-ENU.exe . 626,152
Part 8: Space / Time
A clean install CD with the DriverPacks (deleted the x64 DirectX cabs and the BootDisk, Discover, Support & ValueAdd folders) uses 687 MB.
An installation with all the applications and ALL the DriverPacks on my test virtual machine takes 45 minutes (keeping all the drivers).
System specs: Oracle VirtualBox running on Win 10 x64 Pro platform
Core i7-5930K (6-core, 3.5GHz, 15MB cache), 32GB RAM, 400GB NVMe PCIe SDD
The Virtual PC was allocated 2 CPU cores, 4GB RAM and a 16GB HDD on the SSD
No other applications were running during the test.
As these tests were performed using Oracle VirtualBox, please post about your real world experiences.
For those interested, here is how it works:
Gurglemeyer's excellent unofficial service pack 5 has most of the post service pack 4 updates and more importantly Internet Explorer 6 SP1, so once that is slipstreamed most of the updating is done. The updates that are directly integrated are those that show up when you first run Windows Update on Win2000 SP5.
Note that because %Source% does not work with Windows 2000, nLite's RunOnce command has to search for \W2K\Run1.bat, this means having an unusual location\filename is important. Here we install .Net 1.1 SP1 & .Net 2.0 SP2, DirectX 9.0c, some minor updates and the hotfixes that fail under nLite to integrate into the source. Then once the desktop is initialised we force a system reboot as a restart is recommended between the installation of DirectX 9.0c and Windows Media Player 9 and is required for some of the application installs.
\W2K\Run1.bat
Code: Select all
rem add command line TaskKill ability to Windows 2000
Copy %1:\W2K\RunOnce\Kill.exe %SystemRoot%
rem add command line ShutDown ability to Windows 2000
Copy %1:\W2K\RunOnce\ShutDown.exe %SystemRoot%
rem archive utility
Copy /B %1:\W2K\RunOnce\7z*.msi %Temp%\7z.msi
msiexec /I %Temp%\7z.msi /Passive /NoRestart /Log %Temp%\7zInstall.log
Del %Temp%\7z.msi
rem first pass of updates
%1:\W2K\RunOnce\Windows2000-KB923191-x86-ENU.exe /Passive /NoRestart
%1:\W2K\RunOnce\Windows2000-KB924667-x86-ENU.exe /Passive /NoRestart
%1:\W2K\RunOnce\Windows2000-KB958470-x86-ENU.exe /Passive /NoRestart
%1:\W2K\RunOnce\Windows2000-KB973904-x86-ENU.exe /Passive /NoRestart
%1:\W2K\RunOnce\MDAC_TYP.exe /Q /C:"Setup /Q"
%1:\W2K\RunOnce\MDAC281-KB927779-x86-ENU.exe /Passive /NoRestart
%1:\W2K\RunOnce\rootsupd.exe
%1:\W2K\RunOnce\rvkroots.exe /Q
%1:\W2K\RunOnce\vcredist_x86_2005sp1c.exe /Q
%1:\W2K\RunOnce\vcredist_x86_2008sp1c.exe /Q
"%ProgramFiles%\7-Zip\7z.exe" X %1:\W2K\RunOnce\vcredist_x86_2010sp1c.exe -O%Temp%\VC2010 -Y
msiexec /I %Temp%\VC2010\vc_red.msi /Passive /NoRestart /Log %Temp%\VC2010Install.log
msiexec /P %Temp%\VC2010\msp_kb2565063.msp /Passive /NoRestart /Log %Temp%\VC2010Patch.log
RmDir /S /Q %Temp%\VC2010
%1:\W2K\RunOnce\dotNet20SP2_UH_Oct13.exe -ai1
%1:\W2K\RunOnce\dotNet11SP1_UH_Jul13.exe -ai1
rem .Net silent install option
%1:\W2K\RunOnce\NetFx20SP2_x86.exe /Passive /NoRestart
%1:\W2K\RunOnce\NDP20SP2-KB958481-x86.exe /Passive /NoRestart
%1:\W2K\RunOnce\NDP20SP2-KB971111-x86.exe /Passive /NoRestart
%1:\W2K\RunOnce\NDP20SP2-KB2729450-x86.exe /Passive /NoRestart
%1:\W2K\RunOnce\NDP20SP2-KB2742596-x86.exe /Passive /NoRestart
%1:\W2K\RunOnce\NDP20SP2-KB2844285-v2-x86.exe /Passive /NoRestart
%1:\W2K\RunOnce\NDP20SP2-KB2972214-x86.exe /Passive /NoRestart
%1:\W2K\RunOnce\NDP20SP2-KB2972105-x86.exe /Passive /NoRestart
%1:\W2K\RunOnce\NDP20SP2-KB2979574-v2-x86.exe /Passive /NoRestart
%1:\W2K\RunOnce\NDP20SP2-KB2978124-x86.exe /Passive /NoRestart
%1:\W2K\RunOnce\NDP20SP2-KB3037577-x86.exe /Passive /NoRestart
%1:\W2K\RunOnce\NDP20SP2-KB3035488-x86.exe /Passive /NoRestart
%1:\W2K\RunOnce\NDP20SP2-KB3023220-x86.exe /Passive /NoRestart
%1:\W2K\RunOnce\NDP30SP2-KB982524-x86.exe /Passive /NoRestart
%1:\W2K\RunOnce\dotNetFx.exe /Q /C:"Install /Qb"
%1:\W2K\RunOnce\NDP1.1sp1-KB867460-x86.exe /Q
%1:\W2K\RunOnce\NDP1.1sp1-KB971108-x86.exe /Q
%1:\W2K\RunOnce\NDP1.1sp1-KB2833941-X86.exe /Q
rem more updates
%1:\W2K\DirectX\DXsetup.exe /Silent
%1:\W2K\RunOnce\WindowsUpdateAgent30-x86.exe /Q /WUforce
Copy %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\gdiplus.dll %SystemRoot%\System32\
rem silent installers go here
rem this makes running as a limited user feasible and uses no system resources
"%ProgramFiles%\7-Zip\7z.exe" X %1:\W2K\AddOns\GrantAccess.7z -O%SystemRoot% -X!*.lnk -R
If exist %1:\W2K\MenuReorg.bat "%ProgramFiles%\7-Zip\7z.exe" X %1:\W2K\AddOns\GrantAccess.7z -O"%AllUsersProfile%\Start Menu\Programs\Utilities" *.lnk -R
If not exist %1:\W2K\MenuReorg.bat "%ProgramFiles%\7-Zip\7z.exe" X %1:\W2K\AddOns\GrantAccess.7z -O"%AllUsersProfile%\Start Menu\Programs\Accessories" *.lnk -R
rem add advanced command line task scheduling ability to Windows 2000
Copy %1:\W2K\AddOns\SchTasks.exe %SystemRoot%
rem fix tooltips hiding behind taskbar
"%1:\W2K\AddOns\ToolTipFixer 2.0.0.exe" /S
rem multiple desktops
%1:\W2K\AddOns\dexpot_1518_r2098.exe /S
Xcopy "%UserProfile%\Start Menu\Programs\Dexpot" "%AllUsersProfile%\Start Menu\Programs\Dexpot\" /e
rem alternate web browsers, Firefox ESR recommended
%1:\W2K\AddOns\Opera_1164_int_Setup.exe /Silent /NoRestart
If exist %1:\W2K\AddOns\Opera_1164_int_Setup.exe ping -n 21 127.0.0.1 > nul
Kill Opera.exe
"%1:\W2K\AddOns\Firefox Setup 10.0.12esr.exe" /S /V"/Passive /NoRestart"
If exist "%1:\W2K\AddOns\Firefox Setup 10.0.12esr.exe" "%ProgramFiles%\7-Zip\7z.exe" E %1:\W2K\AddOns\Dictionaries.7z -O"%ProgramFiles%\Mozilla Firefox\dictionaries"
"%1:\W2K\AddOns\Thunderbird Setup 12.0.1.exe" /S /V"/Passive /NoRestart"
If exist "%1:\W2K\AddOns\Thunderbird Setup 12.0.1.exe" "%ProgramFiles%\7-Zip\7z.exe" E %1:\W2K\AddOns\Dictionaries.7z -O"%ProgramFiles%\Mozilla Thunderbird\dictionaries"
"%1:\W2K\AddOns\SeaMonkey Setup 2.9.1.exe" /S /V"/Passive /NoRestart"
If exist "%1:\W2K\AddOns\SeaMonkey Setup 2.9.1.exe" "%ProgramFiles%\7-Zip\7z.exe" E %1:\W2K\AddOns\Dictionaries.7z -O"%ProgramFiles%\SeaMonkey\dictionaries" -Y
rem Java runtime enviroment
%1:\W2K\AddOns\jre-6u31-windows-i586.exe /s IEXPLORER=1 MOZILLA=1
rem Virtualisation applications
Copy /B %1:\W2K\AddOns\DOSBox*win32-installer.exe %Temp%\DOSBox-win32-installer.exe
%Temp%\DOSBox-win32-installer.exe /S
Del %Temp%\DOSBox-win32-installer.exe
msiexec /I %1:\W2K\AddOns\VirtualBox_1.5.6-1_Win_x86.msi /Passive /NoRestart /Log %Temp%\VirtualBoxInstall.log
rem Daemon Tools (Part 1, SCSI Pass Through Direct layer)
If Not exist %1:\W2K\AddOns\SPTDinst-v190-x86.exe "%ProgramFiles%\7-Zip\7z" X %1:\W2K\AddOns\DTLite4356-0091.exe -O%Temp%\Daemon
%Temp%\Daemon\$PLUGINSDIR\SPTDinst-x86.exe Add /Q
RmDir /S /Q %Temp%\Daemon
%1:\W2K\AddOns\SPTDinst-v190-x86.exe Add /Q
rem DVD playback utility (21 day trial)
%1:\W2K\AddOns\SetupAnyDVD7690.exe /S
If exist %1:\W2K\AddOns\Key.AnyDVD Regedit /S %1:\W2K\AddOns\Key.AnyDVD
rem all GUI run once commands go here
rem UltraDefrag - set boot defrag
%1:\W2K\AddOns\ultradefrag-6.1.2.bin.i386.exe /S
%SystemRoot%\system32\bootexctrl.exe /r defrag_native
rem initialise account, setup for second pass and force reboot
Start %1:\W2K\Run1a.bat %1
Code: Select all
Ping -n 121 127.0.0.1 > nul
rem VMware drivers
"%ProgramFiles%\7-Zip\7z.exe" X %1:\W2K\AddOns\Windows.iso -O%Temp%\VMwareServerTools
msiexec /I "%Temp%\VMwareServerTools\VMware Tools.msi" ADDLOCAL=ALL /Passive /NoRestart /Log %Temp%\VMwareToolsInstall.log
RmDir /S /Q %Temp%\VMwareServerTools
"%ProgramFiles%\7-Zip\7z.exe" X %1:\W2K\AddOns\WinPreVista.iso -O%Temp%\VMwarePlayerTools
%Temp%\VMwarePlayerTools\Setup.exe /S /V"/Qn REBOOT=R ADDLOCAL=ALL REMOVE=ThinPrint"
RmDir /S /Q %Temp%\VMwarePlayerTools
rem setup for second pass
Echo Windows Registry Editor Version 5.00 > %Temp%\2ndPass.reg
Echo. >> %Temp%\2ndPass.reg
Echo [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce] >> %Temp%\2ndPass.reg
Echo "command0"="%1:\\W2K\\Run2.bat %1 " >> %Temp%\2ndPass.reg
RegEdit /S %Temp%\2ndPass.reg
Del %Temp%\2ndPass.reg
ShutDown /R /F
\W2K\Run2.bat
Code: Select all
rem startup delay to allow disk thrashing to subside before proceeding
Ping -n 121 127.0.0.1 > nul
%SystemRoot%\system32\bootexctrl.exe /u defrag_native
rem second pass of updates
%1:\W2K\RunOnce\Windows2000-DirectX9-KB975560-x86-ENU.exe /Passive /NoRestart
%1:\W2K\RunOnce\Windows2000-DirectX9-KB975562-x86-ENU.exe /Passive /NoRestart
%1:\W2K\RunOnce\Windows2000-DirectX9-KB2780091-X86-ENU.exe /Passive /NoRestart
%1:\W2K\RunOnce\WMP09-Setup-98Me2000.exe /Q
%1:\W2K\RunOnce\Windows2000-KB941569-x86-ENU.exe /Passive /NoRestart
%1:\W2K\RunOnce\Windows2000-WindowsMedia-KB952069-x86-ENU.exe /Passive /NoRestart
%1:\W2K\RunOnce\Windows2000-WindowsMedia-KB954155-x86-ENU.exe /Passive /NoRestart
%1:\W2K\RunOnce\Windows2000-WindowsMedia-KB968816-x86-ENU.exe /Passive /NoRestart
%1:\W2K\RunOnce\Windows2000-WindowsMedia9-KB973540-x86-ENU.exe /Passive /NoRestart
%1:\W2K\RunOnce\Windows2000-WindowsMedia-KB977816-x86-ENU.exe /Passive /NoRestart
%1:\W2K\RunOnce\Windows2000-WindowsMedia-KB979402-x86-ENU.exe /Passive /NoRestart
rem support Bashrat the Sneaky's Driver Packs
%SystemDrive%\DPsFnshr.exe
rem add Windows Explorer to Quick Launch
Set DefaultUserProfile=%SystemDrive%\Documents and Settings\Default User
MkDir "%DefaultUserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch"
Copy "%DefaultUserProfile%\Start Menu\Programs\Accessories\Windows Explorer.lnk" "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\"
Copy "%DefaultUserProfile%\Start Menu\Programs\Accessories\Windows Explorer.lnk" "%DefaultUserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\"
rem silent installers go here
rem browser plugins
%1:\W2K\RunOnce\install_flash_player_ax_32bit-11-1-102-55.exe -install
%1:\W2K\AddOns\install_flash_player_32bit-11-1-102-55.exe -install
%1:\W2K\AddOns\Shockwave_Installer_Full-11-6-1-629.exe /S
%1:\W2K\AddOns\Silverlight-4-1-10329-0.exe /Q
rem install & configure Libre Office (defaults shown)
If exist %1:\W2K\AddOns\LibO_3.6.7.2_Win_x86_install_multi.msi msiexec /I %1:\W2K\AddOns\LibO_3.6.7.2_Win_x86_install_multi.msi ALLUSERS=1 ADDLOCAL=ALL SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 /Qr /NoRestart /Log %Temp%\LibreOfficeInstall.log
msiexec /I %1:\W2K\AddOns\LibO_3.6.7.2_Win_x86_helppack_en-US.msi /Passive /NoRestart /Log %Temp%\LibreOfficeHelpInstall.log
msiexec /I %1:\W2K\AddOns\LibO_3.6.7.2_Win_x86_helppack_en-GB.msi /Passive /NoRestart /Log %Temp%\LibreOfficeHelpInstall.log
Move "%ProgramFiles%\LibreOffice 3.6\help\en-GB" "%ProgramFiles%\LibreOffice 3.6\help\en"
Copy %1:\W2K\AddOns\soffice.od* "%AllUsersProfile%\Templates\"
rem PDF readers
%1:\W2K\AddOns\SumatraPDF-2.1.1-install.exe /S
msiexec /I %1:\W2K\AddOns\FoxitReader543.0920_enu.msi /Passive /NoRestart /Log %Temp%\FoxitReaderInstall.log
rem image editors / managers
%1:\W2K\AddOns\gimp-2.6.7-i686-setup.exe /Silent /SP- /NoRestart
%1:\W2K\AddOns\gimp-help-2-2.6.0-en-setup.exe /Silent
Copy /B %1:\W2K\AddOns\iview*setup.exe %Temp%\iview_setup.exe
%Temp%\iview_setup.exe /silent /group=1 /allusers=1
Del %Temp%\iview_setup.exe
rem nLite
%1:\W2K\AddOns\nLite-1.4.9.3.setup.exe /Silent /NoRestart
rem Google Earth
%1:\W2K\AddOns\GoogleEarthWin-5-1-3535-3218.exe /S /V"ALLUSERS=1 /Passive /NoRestart"
rem FTP & BitTorrent clients
%1:\W2K\AddOns\FileZilla_3.7.4.1_win32-setup.exe /S
%1:\W2K\AddOns\uTorrent-3-1-2-26821.exe /PerformInstall 2
%1:\W2K\AddOns\Vuze_5600_Installer32.exe -q
If exist %1:\W2K\AddOns\Vuze_5600_Installer32.exe ping -n 41 127.0.0.1 > nul
Kill Azureus.exe
SubInACL /File "%ProgramFiles%\Vuze" /Grant=BuiltIn\Users=R
SubInACL /Subdirectories "%ProgramFiles%\Vuze"\ /Grant=BuiltIn\Users=R
rem (almost) every video codec known to man
%1:\W2K\AddOns\vlc-1.1.11-win32.exe /S
%1:\W2K\AddOns\K-Lite_Codec_Pack_710_Mega.exe /Silent /NoRestart /LoadInf="%1:\W2K\AddOns\klcp_mega_unattended.ini"
%1:\W2K\AddOns\Quicktimealt181lite.exe /Silent /NoRestart /LoadInf="%1:\W2K\AddOns\qtalt.ini"
%1:\W2K\AddOns\Real_Alternative_202_Lite.exe /Silent /NoRestart
rem DVD backup utility
%1:\W2K\AddOns\dvdshrink32setup.exe /Silent /NoRestart
rem Daemon Tools (Part 2, uninstall toolbar)
%1:\W2K\AddOns\DTLite4356-0091.exe /S
"%ProgramFiles%\DAEMON Tools Toolbar\uninst.exe" /S
rem basic freeware CD/DVD burners
Copy /B %1:\W2K\AddOns\cdbxp_setup*.exe %Temp%\cdbxp_setup.exe
%Temp%\cdbxp_setup.exe /Silent /NoRestart
Del %Temp%\cdbxp_setup.exe
%1:\W2K\AddOns\NeroBurnRightsInstaller.exe /Silent /BurnRights:All
%1:\W2K\AddOns\SetupImgBurn_2.5.8.0.exe /S
rem defrag
%SystemRoot%\system32\uDefrag -r -v --all-fixed
rem setup for the next pass
Set NextBatch=Run3.bat
Echo Windows Registry Editor Version 5.00 > %Temp%\NextPass.reg
Echo. >> %Temp%\NextPass.reg
Echo [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce] >> %Temp%\NextPass.reg
Echo "command0"="%1:\\W2K\\%NextBatch% %1 " >> %Temp%\NextPass.reg
If exist %1:\W2K\%NextBatch% RegEdit /S %Temp%\NextPass.reg
Del %Temp%\NextPass.reg
rem VirtualBox Drivers
"%ProgramFiles%\7-Zip\7z" X %1:\W2K\AddOns\VBoxGuestAdditions.iso -O%Temp%\VirtualBox
%Temp%\VirtualBox\VBoxGuestAdditions.exe /S
%Temp%\VirtualBox\VBoxWindowsAdditions-x86.exe /depth=32 /xres=1280 /yres=1024 /S
RmDir /S /Q %Temp%\VirtualBox
Xcopy "%UserProfile%\Start Menu\Programs\Oracle VM VirtualBox Guest Additions" "%AllUsersProfile%\Start Menu\Programs\Oracle VM VirtualBox Guest Additions\" /e
Xcopy "%UserProfile%\Start Menu\Programs\Sun VirtualBox Guest Additions" "%AllUsersProfile%\Start Menu\Programs\Sun VirtualBox Guest Additions\" /e
rem driver installers go here
%1:\W2K\AddOns\Modem\Setup.exe /S
rem Spybot - Search and Destroy
%1:\W2K\AddOns\spybotsd162.exe /Silent /SP- /Components="" /tasks="!launchsdhelper,!launchteatimer,!quicklaunchicon" /NoRestart
%1:\W2K\AddOns\spybotsd_includes.exe /S
"%ProgramFiles%\Spybot - Search & Destroy\SpybotSD.exe" /taskbarhide /autoimmunize /autoclose
rem Avast anti-virus - rerun setup to install additional languages
%1:\W2K\AddOns\avast_free_antivirus_setup-8-0-1497-376.exe /Silent /SP- /NoRestart
If exist %1:\W2K\AddOns\avast_free_antivirus_setup-8-0-1497-376.exe ping -n 121 127.0.0.1 > nul
%1:\W2K\AddOns\vpsupd.exe /Silent
rem Comodo Firewall
%1:\W2K\AddOns\Comodo2.exe
rem optional menu reorganization
CMD /R %1:\W2K\MenuReorg.bat
rem VirtualPC drivers (ejects CD, must be the last command of the last batch file)
"%ProgramFiles%\7-Zip\7z" X %1:\W2K\AddOns\VMAdditions.iso -O%Temp%\VirtualPC
msiexec /I %Temp%\VirtualPC\Windows\VirtualMachineAdditions.msi ADDLOCAL=ALL /Passive /ForceRestart
ShutDown /R /F
\W2K\Run3.bat
Code: Select all
rem startup delay to allow disk thrashing to subside before proceeding
Ping -n 121 127.0.0.1 > nul
rem you must use %1:\ when referring to files on the install media (%1 is the drive letter)
rem silent installers go here
rem setup for the next pass
Set NextBatch=Run4.bat
Echo Windows Registry Editor Version 5.00 > %Temp%\NextPass.reg
Echo. >> %Temp%\NextPass.reg
Echo [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce] >> %Temp%\NextPass.reg
Echo "command0"="%1:\\W2K\\%NextBatch% %1 " >> %Temp%\NextPass.reg
If exist %1:\W2K\%NextBatch% RegEdit /S %Temp%\NextPass.reg
Del %Temp%\NextPass.reg
ShutDown /R /F