First you are going to need some files: (▼ is a direct link to the executable)
From MediaFire, the Config2000sp5_date.zip file and extract it, this will also setup the necessary directory structure (read \Misc\FileList.txt for contents).
Save the latest version of Adobe Flash ActiveX control for Internet Explorer to \RunOnce, optional, not in archives or torent.
Download from MediaFire the Unofficial Windows 2000 Service Pack 5.1.2195.24 Refresh, recombine the 3 part 7-Zip archive (w2ksp51.exe) and save it to \Misc.
MD5: B86F9385CBF2FBD3053492FD00CFA598
SHA-1: A422A40C062989BFE95AA428C094321E82394ACC
Download from MediaFire dotNetFx_Yumeyao_Oct11.exe (.Net 1.1 SP1 & .Net 2.0 SP2) and save it to \RunOnce (see notes part 4 for other options).
MD5: 129A382B75EA2DD2508482DEF5ED5EAB
SHA-1: 5D0C2265E7275A4C101F5E31099A244A0412F7FD
From Microsoft you want:
▼ Windows Media Player 9, rename it to “WMP09-Setup-98Me2000.exe” and save it to \RunOnce (sometimes Microsoft's file names are neither informative nor exclusive).
MD5: E919C4E0050B32AEBE83A5D2EB613DD4
SHA1: 580536D10657FA3868DE2869A3902D31A0DE791B
▼ EXTRACT the February 2010 (June fails) DirectX redistributable to \DirectX_9c (you can get back 45MB by deleting the x64.cab files).
MD5: 4CF007A355CB5F34A3C5C400113B33C3
SHA-1: A97C820915DC20929E84B49646EC275760012A42
Once again 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. The archives won't necessarily be updated every month, only when there is a deletion and/or several new hotfixes.
OR open the Hotfix2000sp5_date.torent (from \Misc) into the same directory that you chose to extract the Config archive into. If you have used this guide previously, run the UpdatePrep.bat file in the \Misc directory before opening the Hotfix torent, this will remove any outdated hotfixes. Due to slow speed (about 40 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 (the torent also contains everything except Adobe flash for error checking purposes).
They both have the following contents:
At \Hotfix for direct integration, red numbered items are server only and in a seperate archive.
020-Windows2000-KB917008-x86-ENU.exe . . . . . . . . 1,337,832 MS06-044 - Management Console
030-Windows2000-KB920670-x86-ENU.exe .. . . . . . . . . 521,192 MS06-050 - Hyperlink Object Library
040-Windows2000-KB920683-x86-ENU.exe .. . . . . . . . . 573,416 MS06-041 - DNS Resolution
050-Windows2000-KB921398-x86-ENU.exe . . . . . . . . 1,243,112 MS06-045 - Windows Explorer
060-Windows2000-KB923980-x86-ENU.exe .. . . . . . . . . 646,632 MS06-066 - Client Service for NetWare
070-Windows2000-KB924270-x86-ENU.exe . . . . . . . . 1,359,848 MS06-070 - Workstation Service
075-Windows2000-KB926121-x86-ENU.exe .. . . . . . . . . 488,936 MS06-077 - Remote Installation Service
080-Windows2000-KB926247-x86-ENU.exe .. . . . . . . . . 503,272 MS06-074 - Simple Network Management Protocol (SNMP)
090-Windows2000-KB928843-x86-ENU.exe .. . . . . . . . . 721,264 MS07-008 - HTML Help ActiveX Control
100-Windows2000-KB924667-x86-ENU.exe . . . . . . . . 1,213,928 MS07-012 - Foundation Classes
110-Windows2000-KB918118-x86-ENU.exe .. . . . . . . . . 708,584 MS07-013 - RichEdit
120-Windows2000-KB926436-x86-ENU.exe .. . . . . . . . . 532,968 MS07-011 - OLE Dialog
130-Windows2000-KB925902-x86-ENU.exe . . . . . . . . 1,622,896 MS07-017 - Graphics Device Interface (GDI)
140-Windows2000-KB920213-x86-ENU.exe . . . . . . . . 1,093,608 MS06-068 - Microsoft Agent
150-Windows2000-KB927891-x86-ENU.exe . . . . . . . . 1,276,272 MSI reliability update
160-Windows2000-KB935839-x86-ENU.exe .. . . . . . . . . 736,624 MS07-035 - Win 32 API
170-WindowsMedia6-KB925398-v2-x86-ENU.exe .. . . . . 797,008 MS06-078 - Windows Media Format (WMP 6.4)
180-Windows2000-KB926122-x86-ENU.exe . . . . . . . . 1,397,104 MS07-039 - Active Directory
190-Windows2000-KB938827-x86-ENU.exe .. . . . . . . . . 990,064 MS07-051 - Microsoft Agent
200-Windows2000-KB923810-x86-ENU.exe . . . . . . . . 1,414,000 MS07-055 - Kodak Image Viewer
210-Windows2000-KB943485-x86-ENU.exe . . . . . . . . 1,197,424 MS08-002 - Local Security Authority Subsystem Service (LSASS)
220-Windows2000-KB942831-x86-ENU.exe .. . . . . . . . . 596,848 MS08-005 - IIS - Helper library
230-Windows2000-KB943055-x86-ENU.exe .. . . . . . . . . 761,200 MS08-008 - OLE Automation
240-Windows2000-KB944338-x86-ENU.exe .. . . . . . . . . 832,368 MS08-022 - VBScript and JScript Scripting Engines
250-Windows2000-KB950749-x86-ENU.exe . . . . . . . . 3,036,896 MS08-028 - Jet Database Engine
260-Windows2000-KB950974-x86-ENU.exe .. . . . . . . . . 578,272 MS08-049 – Event System
270-Windows2000-KB952954-x86-ENU.exe .. . . . . . . . . 524,000 MS08-046 - Windows Image Color Management System
280-Windows2000-KB953155-x86-ENU.exe .. . . . . . . . . 563,936 MS08-062 - IIS - Windows Internet Printing service
290-Windows2000-KB958644-x86-ENU.exe .. . . . . . . . . 618,024 MS08-067 – Server Service
300-Windows2000-KB955069-x86-ENU.exe .. . . . . . . . . 926,944 MS08-069 - Microsoft XML Core Services 3.0
310-Windows2000-KB957097-x86-ENU.exe . . . . . . . . 1,453,792 MS08-068 – Server Message Block (SMB)
320-WindowsMedia64-KB954600-x86-ENU.exe .. . . . . 1,373,584 MS08-076 - Media Components
325-WindowsMedia41-KB952068-x86-ENU.exe .. . . . . 1,501,072 MS08-076 - Media Components
330-Windows2000-KB956802-x86-ENU.exe .. . . . . . . . . 618,024 MS08-071 – Graphics Device Interface (GDI)
340-Windows2000-KB960225-x86-ENU.exe .. . . . . . . . . 561,192 MS09-007 - TLS/SSL Security Provider
345-Windows2000-KB961063-x86-ENU.exe . . . . . . . . 1,386,552 MS09-008 - DNS & WINS Server Spoofing
350-Windows2000-KB967715-x86-ENU.exe . . . . . . . . 1,243,704 Windows Shell (AutoRun enforcement)
360-Windows-KB909520-v1.000-x86-ENU.exe . . . . . . . . 641,312 Base Smart Card Cryptographic Service Provider
370-Windows2000-KB960803-x86-ENU.exe . . . . . . . . 1,350,696 MS09-013 - Windows HTTP Services
380-Windows2000-KB959426-x86-ENU.exe .. . . . . . . . . 511,544 MS09-015 - SearchPath
390-Windows2000-KB923561-x86-ENU.exe . . . . . . . . 1,306,168 MS09-010 - WordPad Text Converter
400-Windows2000-KB952004-x86-ENU.exe . . . . . . . . 3,294,432 MS09-012 - Distributed Transaction Coordinator (MSDTC)
410-Windows2000-KB961501-x86-ENU.exe . . . . . . . . 1,319,664 MS09-022 - Local Print Spooler
420-Windows2000-KB970238-x86-ENU.exe .. . . . . . . . . 703,760 MS09-026 - Remote Procedure Call (RPC)
430-Windows2000-KB970483-x86-ENU.exe .. . . . . . . . . 592,632 MS09-020 - IIS - Web DAV Extensions for Windows
440-Windows2000-KB971032-x86-ENU.exe . . . . . . . . 1,382,136 MS09-040 - Message Queuing
450-Windows2000-KB973869-x86-ENU.exe .. . . . . . . . . 538,360 MS09-037 - DHTML Editing Component ActiveX Control
460-Windows2000-KB958470-x86-ENU.exe . . . . . . . . 1,517,816 MS09-044 - Remote Desktop Connection
465-Windows2000-KB969883-x86-ENU.exe . . . . . . . . 1,055,480 MS09-039 - Windows Internet Name Service (WINS)
470-Windows2000-KB973507-x86-ENU.exe .. . . . . . . . . 523,504 MS09-037 - ATL Component
480-Windows2000-KB960859-x86-ENU.exe . . . . . . . . 1,219,624 MS09-042 - Telnet
490-Windows2000-KB956844-x86-ENU.exe .. . . . . . . . . 555,760 MS09-046 - DHTML Editing Component ActiveX Control
500-WindowsMedia64-KB974112-x86-ENU.exe . . . . . . . 598,920 MS09-052 - Media Player 6.4
510-IE6.0sp1-KB958869-Windows2000-x86-ENU.exe . 1,551,240 MS09-062 - GDI+
520-Windows2000-KB975254-x86-ENU.exe .. . . . . . . . . 537,840 MS09-053 - FTP Service (IIS)
530-Windows2000-KB969059-x86-ENU.exe . . . . . . . . 1,049,336 MS09-057 - Indexing Service
540-Windows2000-KB974571-x86-ENU.exe .. . . . . . . . . 513,264 MS09-056 - Crypto API
550-Windows2000-KB971961-x86-ENU.exe .. . . . . . . . . 693,488 MS09-045 - JScript Scripting Engine
555-Windows2000-KB974783-x86-ENU.exe .. . . . . . . . . 532,208 MS09-064 - License Logging Server
560-Windows2000-KB951748-V2-x86-ENU.exe . . . . . . . 856,816 MS08-037 - Domain Name System (DNS)
570-Windows2000-KB974318-x86-ENU.exe .. . . . . . . . . 558,320 MS09-071 - Internet Authentication Service
580-Windows2000-KB974392-x86-ENU.exe .. . . . . . . . . 930,544 MS09-069 - Local Security Authority Subsystem Service (LSASS)
590-Windows2000-KB955759-x86-ENU.exe .. . . . . . . . . 689,912 Indeo Codec, block Internet access
600-Windows2000-KB972270-x86-ENU.exe .. . . . . . . . . 581,872 MS10-001 - Embedded OpenType Font Engine
610-Windows2000-KB978037-x86-ENU.exe .. . . . . . . . . 506,104 MS10-011 - Client/Server Run-time Subsystem (CSRSS)
620-Windows2000-KB977914-x86-ENU.exe .. . . . . . . . . 587,512 MS10-013 - DirectShow AVI Filter
630-Windows2000-KB978706-x86-ENU.exe .. . . . . . . . . 610,040 MS10-005 - Microsoft Paint
640-Windows2000-KB971468-x86-ENU.exe .. . . . . . . . . 621,304 MS10-012 - SMB Server
650-Windows2000-KB980232-x86-ENU.exe . . . . . . . . 1,240,312 MS10-020 - SMB Client
660-Windows2000-KB981350-x86-ENU.exe .. . . . . . . . . 667,896 MS10-022 - VBScript Scripting Engine
670-Windows2000-KB979309-x86-ENU.exe .. . . . . . . . . 504,056 MS10-019 - Cabinet File Viewer
680-Windows2000-KB979683-x86-ENU.exe . . . . . . . . 1,618,680 MS10-021 - Kernel
690-Windows2000-KB976323-x86-ENU.exe .. . . . . . . . . 657,144 MS10-024 - SMTP Service
700-Windows2000-KB978601-x86-ENU.exe .. . . . . . . . . 562,424 MS10-019 - Authenicode Verification
705-WindowsMedia41-KB980858-v2-x86-ENU.exe . . . . . 700,304 MS10-025 - Media Unicast Service
710-OE6.0sp1-KB978542-Windows2000-x86-ENU.exe. 2,424,720 MS10-030 - Outlook Express
720-Windows2000-KB980218-x86-ENU.exe .. . . . . . . . . 637,688 MS10-037 - OpenType Compact Font Format (CFF)
730-Windows2000-KB980195-x86-ENU.exe .. . . . . . . . . 495,112 MS10-034 - ActiveX Kill Bits - Cumulative
740-Windows2000-KB979482-x86-ENU.exe .. . . . . . . . . 551,672 MS10-033 - Asycfilt.dll (COM component)
750-Windows2000-KB979559-x86-ENU.exe . . . . . . . . 1,314,312 MS10-032 - Kernel-Mode Drivers
760-IE6.0sp1-KB982381-Windows2000-x86-ENU.exe .. 4,237,208 MS10-035 - Cumulative Security Update
770-msxml4-KB973685-enu.exe .. . . . . . . . . . . . . . . . 2,046,296 Optional, Microsoft XML Core Services 4.0 sp3
780-msxml6-KB973686-enu-x86.exe .. . . . . . . . . . . . . . 956,248 Optional, Microsoft XML Core Services 6.0 sp2
At \RunOnce for installation via nLite's RunOnce / batch files
MDAC281-KB927779-x86-ENU.exe . . . . . . . . . . . . . . . . . 1,872,168 MS07-009 - ActiveX Data Objects (ADO) for MDAC 2.8 sp1 (below)
MDAC_TYP.exe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6,100,504 Optional, Data Access Components (MDAC) 2.8 SP1
rootsupd_fe44934fd80dd11fec2f0f9b24431658a4f6d589.exe 239,000 Forum thread
ShutDown.exe .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19,456 From %SystemRoot%\System32 of Win XP sp3
vcredist_x86_2005sp1c.exe .. . . . . . . . . . . . . . . . . . . . 2,707,352 Optional, Visual C++ 2005 SP1 runtime must be manually renamed - updated 7 June
vcredist_x86_2008sp1c.exe .. . . . . . . . . . . . . . . . . . . . 4,479,832 Optional, Visual C++ 2008 SP1 runtime must be manually renamed - updated 7 June
Windows2000-DirectX9-KB975560-x86-ENU.exe . . . . . . 1,015,016 MS10-013 - DirectShow Quartz
Windows2000-DirectX9-KB975562-x86-ENU.exe . . . . . . 1,009,896 MS10-033 - DirectShow Quartz
Windows2000-KB923191-x86-ENU.exe . . . . . . . . . . . . . . 791,016 MS06-057 - Windows Explorer
Windows2000-KB941569-x86-ENU.exe .. . . . . . . . . . . . 2,432,560 MS07-068 - Media File Format
Windows2000-KB973904-x86-ENU.exe . . . . . . . . . . . . . . 880,888 MS09-073 - WordPad Text Converter
Windows2000-WindowsMedia9-KB973540-x86-ENU.exe 2,196,360 MS09-037 - Active Template Library (ATL)
Windows2000-WindowsMedia-KB952069-x86-ENU.exe . 3,564,944 MS08-076 - Media Format Runtime
Windows2000-WindowsMedia-KB954155-x86-ENU.exe .. . 768,392 MS09-051 - Media Audio Voice Decoder
Windows2000-WindowsMedia-KB968816-x86-ENU.exe . 1,618,832 MS09-047 - Media Format Runtime
Windows2000-WindowsMedia-KB977816-x86-ENU.exe .. . 677,096 MS10-026 - MPEG Layer-3 Codecs
Windows2000-WindowsMedia-KB979402-x86-ENU.exe . 2,306,976 MS10-027 - Media Player ActiveX control
WindowsUpdateAgent30-x86.exe . . . . . . . . . . . . . . . . 6,776,168
At \AddOns
Grant_Access_1.1.exe 141,900 - repacked subinacl.msi
SchTasks.exe . . . . . . 121,856 - if you have Win XP sp2 then you already have this file at %SystemRoot%\System32, but you would need to change hex offset E3F8 from 75 to EB for it to work with Windows 2000. SchTasks.exe is also available separately from this post's attachments.
Note as to format, the trailing number in italics is obviously file size while the leading number is to ensure that they are integrated in the same order that Windows Update would install them. The large gaps in number are so that any future changes can be inserted into the hotfix torent without requiring name changes, re-ordering or re-downloading files. It is important to note that the tracker's IP address is at least nominally dynamic (static for months at a time though), so if you can't connect for more than a day PM me.
If you prefer to directly download all the hotfixes, UpdatePrep.bat will rename the files as appropriate. If you've done everything correctly \Hotfix should have 77 files 77,833,600 and \RunOnce should have 20 files 77,071,109 (excluding flash player).
Of course you won't get very far without 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 users should run in XP compatibility mode and there is an archive of screenshots available at my MediaFire page.
1. Locate your source (my session file is located at \Misc, you should probably use it as a base).
2. Slipstream the unofficial service pack 5 (w2ksp51.exe).
3. Add all the hotfixes listed in the \Hotfix directory (use Crtl-A, check the order) and any program Addons (N.B. not all Addons will work without modification, see notes part 1).
4. Add any drivers you may need, especially textmode SATA & RAID drivers (Intel, nVidia). I've found that 7-Zip will extract some things WinRAR won't (also see notes part 2).
5. Unattended settings, this is the most important one. Your RunOnce file should look like this:
Ping -n 11 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 CMD /R "%%I:\Run1_W2Ksp5.bat %%I" rem should not see me Pause
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.
6. Make any tweaks you want, then run the process.
7. Copy all the files and folders that you have downloaded, except those at \Hotfix and \Misc to your nLite working directory, maintaining the directory structure (\AddOns contains optional files, see notes part 1 & 3).
8. After you drag n drop anything else that you may want / need, go ahead and burn that image / CD / DVD.
Installation
If you have gone for the fully unattended / autologon x2 option, then all you have to do is let it be for roughly 1 1/2 hours. The system will be ready for use when a logon box is waiting for your input.
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, the RunOnce file has to search for Run1_W2Ksp5.bat, this means having unusual file names 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. The order is important because KB923191 will force a system reboot, but in this case that helps us as a reboot is recommended between the installation of DirectX 9.0c and Windows Media Player 9 anyway.
Run1_W2Ksp5.bat
rem you must use either %Source% or %1:\ when referring to files on the install media Set Source=%1:\ rem add command line shutdown ability to Windows 2000 Copy %Source%RunOnce\ShutDown.exe %SystemRoot% rem first pass of updates %Source%RunOnce\rootsupd_fe44934fd80dd11fec2f0f9b24431658a4f6d589.exe %Source%RunOnce\MDAC_TYP.exe /Q /C:"Setup /Q" %Source%RunOnce\MDAC281-KB927779-x86-ENU.exe /Passive /NoRestart %Source%RunOnce\Windows2000-KB973904-x86-ENU.exe /Passive /NoRestart %Source%RunOnce\vcredist_x86_2005sp1c.exe /Q %Source%RunOnce\vcredist_x86_2008sp1c.exe /Q %Source%RunOnce\dotNetFx_Yumeyao_Oct11.exe -ai rem .Net silent install option %Source%RunOnce\NetFx20SP2_x86.exe /Passive /NoRestart %Source%RunOnce\NDP20SP2-KB958481-x86.exe /Passive /NoRestart %Source%RunOnce\NDP20SP2-KB971111-x86.exe /Passive /NoRestart %Source%RunOnce\NDP20SP2-KB979909-x86.exe /Passive /NoRestart %Source%RunOnce\NDP20SP2-KB2418241-x86.exe /Passive /NoRestart %Source%RunOnce\NDP20SP2-KB2518864-x86.exe /Passive /NoRestart %Source%RunOnce\NDP20SP2-KB2539631-x86.exe /Passive /NoRestart %Source%RunOnce\NDP20SP2-KB2572073-x86.exe /Passive /NoRestart %Source%RunOnce\NDP30SP2-KB982524-x86.exe /Passive /NoRestart %Source%RunOnce\dotNetFx.exe /Q /C:"Install /Qb" %Source%RunOnce\NDP1.1sp1-KB867460-x86.exe /Q %Source%RunOnce\NDP1.1sp1-KB971108-x86.exe /Q %Source%RunOnce\NDP1.1sp1-KB2572067-X86.exe /Q %Source%DirectX_9c\DXsetup.exe /Silent %Source%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 %Source%AddOns\Grant_Access_1.1.exe /S Copy %Source%AddOns\Access*.lnk "%AllUsersProfile%\Start Menu\Programs\Grant Access\" rem add advanced command line task scheduling ability to Windows 2000 Copy %Source%AddOns\SchTasks.exe %SystemRoot% rem register AnyDVD If exist %Source%AddOns\Key.AnyDVD RegEdit /S %Source%AddOns\Key.AnyDVD rem Daemon Tools (Part 1, SCSI Pass Through Direct layer) If Not exist %Source%AddOns\SPTDinst-v179-x86.exe "%ProgramFiles%\7-Zip\7z" X %Source%AddOns\DTLite4356-0091.exe -O%Temp%\Daemon %Temp%\Daemon\$PLUGINSDIR\SPTDinst-x86.exe Add /Q RmDir /S /Q %Temp%\Daemon %Source%AddOns\SPTDinst-v179-x86.exe Add /Q rem all GUI run once commands go here 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:\\Run2_W2Ksp5.bat %1 " >> %Temp%\2ndPass.reg RegEdit /S %Temp%\2ndPass.reg Del %Temp%\2ndPass.reg rem VMware drivers "%ProgramFiles%\7-Zip\7z" X %Source%AddOns\Windows.iso -O%Temp%\VMware msiexec /I "%Temp%\VMware\VMware Tools.msi" ADDLOCAL=ALL /Passive /NoRestart RmDir /S /Q %Temp%\VMware rem this patch will force reboot %Source%RunOnce\Windows2000-KB923191-x86-ENU.exe /Passive
On the second attempt to logon the desktop will actually appear, but don't try to use it just yet, as we still have to install Media Player 9 and it's updates, which is done by Run2_W2Ksp5.bat. The batch file gets launched by GuiRunOnce which was setup by the RegEdit command in Run1_W2Ksp5.bat.
Run2_W2Ksp5.bat
rem startup delay to allow disk thrashing to subside before proceeding Ping -n 121 127.0.0.1 > nul rem you must use either %Source% or %1:\ when referring to files on the install media Set Source=%1:\ rem second pass of updates %Source%RunOnce\Windows2000-DirectX9-KB975560-x86-ENU.exe /Passive /NoRestart %Source%RunOnce\Windows2000-DirectX9-KB975562-x86-ENU.exe /Passive /NoRestart %Source%RunOnce\WMP09-Setup-98Me2000.exe /Q %Source%RunOnce\Windows2000-KB941569-x86-ENU.EXE /Passive /NoRestart %Source%RunOnce\Windows2000-WindowsMedia-KB952069-x86-ENU.exe /Passive /NoRestart %Source%RunOnce\Windows2000-WindowsMedia9-KB973540-x86-ENU.exe /Passive /NoRestart %Source%RunOnce\Windows2000-WindowsMedia-KB968816-x86-ENU.exe /Passive /NoRestart %Source%RunOnce\Windows2000-WindowsMedia-KB954155-x86-ENU.exe /Passive /NoRestart %Source%RunOnce\Windows2000-WindowsMedia-KB977816-x86-ENU.exe /Passive /NoRestart %Source%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 MkDir "%AllUsersProfile%\..\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch" Copy "%AllUsersProfile%\..\Default User\Start Menu\Programs\Accessories\Windows Explorer.lnk" "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\" Copy "%AllUsersProfile%\..\Default User\Start Menu\Programs\Accessories\Windows Explorer.lnk" "%AllUsersProfile%\..\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch\" rem silent installers go here rem browser plugins %Source%RunOnce\install_flash_player_ax_32bit.exe -install %Source%AddOns\install_flash_player_32bit.exe -install %Source%AddOns\sw_lic_full_installer.exe /S %Source%AddOns\Silverlight.exe /Q rem install & configure Open Office, requires 7-Zip for configuration options (defaults shown) "%ProgramFiles%\7-Zip\7z" X %Source%AddOns\OOo_3.3.0_Win_x86_install_en-US.exe -O%Temp%\OpenOffice If exist %Temp%\OpenOffice\openofficeorg33.msi msiexec /I %Temp%\OpenOffice\openofficeorg33.msi ALLUSERS=1 ADDLOCAL=ALL SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 /Qr /NoRestart RmDir /S /Q %Temp%\OpenOffice If Not exist "%ProgramFiles%\7-Zip\7z.exe" %Source%AddOns\OOo_3.3.0_Win_x86_install_en-US.exe /S rem install & configure Libre Office, requires 7-Zip for configuration options (defaults shown) "%ProgramFiles%\7-Zip\7z" X %Source%AddOns\LibO_3.4.3_Win_x86_install_multi.exe -O%Temp%\LibreOffice If exist %Temp%\LibreOffice\libreoffice34.msi msiexec /I %Temp%\LibreOffice\libreoffice34.msi ALLUSERS=1 ADDLOCAL=ALL SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 /Qr /NoRestart RmDir /S /Q %Temp%\LibreOffice If Not exist "%ProgramFiles%\7-Zip\7z.exe" %Source%AddOns\LibO_3.4.3_Win_x86_install_multi.exe /S %Source%AddOns\LibO_3.4.3_Win_x86_helppack_en-US.exe /S %Source%AddOns\LibO_3.4.3_Win_x86_helppack_en-GB.exe /S Copy %Source%AddOns\soffice.od* "%AllUsersProfile%\Templates\" rem GIMP help %Source%AddOns\gimp-help-2-2.6.0-en-setup.exe /Silent rem Google Earth %Source%AddOns\GoogleEarthWin-5-1-3535-3218.exe /S /V"ALLUSERS=1 /Passive /NoRestart" rem (almost) every video codec known to man %Source%AddOns\K-Lite_Codec_Pack_710_Mega.exe /Silent /NoRestart /LoadInf="%Source%AddOns\klcp_mega_unattended.ini" %Source%AddOns\Quicktimealt181lite.exe /Silent /NoRestart /LoadInf="%Source%AddOns\qtalt.ini" %Source%AddOns\Real_Alternative_202_Lite.exe /Silent /NoRestart rem Daemon Tools (Part 2, uninstall toolbar) %Source%AddOns\DTLite4356-0091.exe /S "%ProgramFiles%\DAEMON Tools Toolbar\uninst.exe" /S rem basic freeware CD/DVD burner %Source%AddOns\cdbxp_setup_4.3.8.2631.exe /Silent %Source%AddOns\NeroBurnRightsInstaller.exe /Silent /BurnRights:All rem Virtualisation applications %Source%AddOns\DOSBox0.74-win32-installer.exe /S %Source%AddOns\nLite-1.4.9.1.installer.exe /Silent /NoRestart rem setup for the next pass Set NextBatch=Run3_W2Ksp5.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:\\%NextBatch% %1 " >> %Temp%\NextPass.reg If exist %1:\%NextBatch% RegEdit /S %Temp%\NextPass.reg Del %Temp%\NextPass.reg rem VirtualBox Drivers "%ProgramFiles%\7-Zip\7z" X %Source%AddOns\VBoxGuestAdditions.iso -O%Temp%\VirtualBox %Temp%\VirtualBox\VBoxGuestAdditions.exe /S %Temp%\VirtualBox\VBoxWindowsAdditions-x86.exe /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 support Spybot - Search and Destroy %Source%AddOns\spybotsd162.exe /Silent /SP- /Components="" /tasks="!launchsdhelper,!launchteatimer,!quicklaunchicon" /NoRestart %Source%AddOns\spybotsd_includes.exe /S "%ProgramFiles%\Spybot - Search & Destroy\SpybotSD.exe" /taskbarhide /autoimmunize /autoclose rem support Avast anti-virus %Source%AddOns\setup_av_free.exe /Silent /SP- /NoRestart %Source%AddOns\vpsupd.exe /Silent rem support Comodo Firewall %Source%AddOns\Comodo2.exe rem optional menu reorganization CMD /R %Source%AddOns\MenuReorg.bat rem VirtualPC drivers (ejects CD, must be the last command of the last batch file) "%ProgramFiles%\7-Zip\7z" X %Source%AddOns\VMAdditions.iso -O%Temp%\VirtualPC msiexec /I %Temp%\VirtualPC\Windows\VirtualMachineAdditions.msi ADDLOCAL=ALL /Passive /ForceRestart ShutDown /R /F
You can have as many application install reboot passes as desired. To do this simply set the system to auto-logon (in step 5) as many times as required and place the appropriate number of batch files in the root directory of your install media. The first 5 batch files are already written (at \Misc) with the needed handover command, but if you need more they are fairly self explanatory. If using VirtualPC be sure to install its drivers last.
Run3_W2Ksp5.bat
rem startup delay to allow disk thrashing to subside before proceeding Ping -n 121 127.0.0.1 > nul rem you must use either %Source% or %1:\ when referring to files on the install media Set Source=%1:\ rem silent installers go here rem setup for the next pass Set NextBatch=Run4_W2Ksp5.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:\\%NextBatch% %1 " >> %Temp%\NextPass.reg If exist %1:\%NextBatch% RegEdit /S %Temp%\NextPass.reg Del %Temp%\NextPass.reg ShutDown /R /F
Other notes:
Part 1: Application addons
You can fit an amazing amount of stuff onto this CD, I managed to get all the following onto an install CD and still have a few MB to spare (thanks for all your hard work Rado354 on these Program Addons): All ProgramAddons*.cab files here
DriverPacks: CPU, Chipset, MassStorage & LAN
Kels_CPL_MutliPack_Win2k_addon_v3_Final.rar (Recommended)
Kels_Win2k_Uber_addon_v2.4.rar (Recommended)
Daemon Tools (Silent Install) Last version to work on W2K
ProgramAddons AnyDVD 6.8.8.0.cab
ProgramAddons ImgBurn 2.5.6.0.cab
ProgramAddons Firefox 7.0.1.cab
install_flash_player_32bit.exe /S (Silent Install of plugin for Firefox, Seamonkey & Opera)
sw_lic_full_installer.exe /S (Adobe Shockwave Silent Install)
Silverlight.exe /Q (Silent Install)
ProgramAddons Java Runtime Environment 6 Update 26.cab
ProgramAddons Sumatra PDF 1.6.cab Last version to work on W2K
ProgramAddons GIMP 2.6.7.cab Last version to work on W2K
ProgramAddons Mihov Image Resizer 1.2.cab
ProgramAddons 7-Zip 9.20.cab (Recommended)
ProgramAddons DVD Shrink 3.2.0.15.cab
DOSBox0.74-win32-installer.exe /S (Silent Install)
GoogleEarthWin-5-1-3535-3218.exe /S /V"ALLUSERS=1 /Passive /NoRestart" (Silent Install) Last version to work on W2K
ProgramAddons Skype 5.0.32.156.cab Last version to work on W2K
uTorrent30B25683_elite_Addon.7z
K-Lite_Codec_Pack_710_Mega.exe /Silent /NoRestart /LoadInf="%Source%AddOns\klcp_mega_unattended.ini" (Silent Install) Last version to work on W2K
QuickTime Alternative Lite 1.81 /Silent /NoRestart /LoadInf="%Source%AddOns\qtalt.ini" (Silent Install) Second last version to work on W2K
Spybot - Search & Destroy (Silent Install) Detection update integration supported
avast! AntiVirus Home Edition (Silent Install) Detection update integration supported (and it can talk like a pirate)
Comodo Firewall (Silent Install)
However it is important to note that not all addons will work, in my tests I found that JohnDoe74's Daemon Tools and Windows Defender addons silently fail (both now obsolete).
One problem with this install method is that due to the forced reboot at the end of Run1_W2Ksp5.bat, GuiRunOnce doesn't execute on the first pass. You can get around this by moving GuiRunOnce commands to the batch files. For example, to get JohnDoe74's Daemon Tools addon to work you take the GuiRunOnce command [%windir%\daemon\dt410x86.exe] and place it in Run1_W2Ksp5.bat just above KB923191.
As it is far easier to delete than add, compatiblity lines will be added to the batch files as they become known, as long as the worst negative consequence is a "File not found" error. A large number of command line silent install switches can be found at my similar topic for XP-64. The items listed below are supported by the batch files, unless otherwise directed simply place the end-user installer at \AddOns for automatic installation.
- Libre Office: Requires 7-Zip for configuration options, Spell Check info (corner case 2).
- Open Office: Get the version without bundled JRE (you have to uncheck a box).
- Google Earth: Last version to work on Windows 2000, rename it to GoogleEarthWin-5-1-3535-3218.exe
- K-Lite Mega Codec Pack: Last version to work on Windows 2000, lots of stuff option, see here if you want to create your own config files.
- QuickTime Alternative Lite: Last version with Directshow filters and the second last version to work on Windows 2000.
- Daemon Tools Lite: Last version to work on Windows 2000, requires 7-Zip or the latest SPTD.
- Spybot - Search & Destroy . Detection update integration supported
- avast! AntiVirus Home Edition . Detection update integration supported (and it can talk like a pirate)
- Comodo Firewall: You have to use the older 2.4.18.184 version, small, top-rated and free, unfortunately their installer doesn't allow for an unattended installation. However I've written a basic AutoIt script (my 1st) that will silently install it, available at my MediaFire page, save it to \AddOns along with the actual firewall installer.
Part 2: Bashrat the Sneaky's Driver Packs
This setup will work with the DriverPacks finisher, however due to the forced reboot at the end of Run1_W2Ksp5.bat you must use the custom finisher method. Hence the %SystemDrive%\DPsFnshr.exe line in Run2_W2Ksp5.bat (this has only been tested with slipstream method 2). You should run DPs_Base at step 7 (after nLite has finished its modifications).
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 4 (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 releases when working with W2K, I recommend using the May 2008 versions of the DriverPacks, available via MediaFire or torent.
Part 3: Optional components (currently GrantAccess/SubInACL & SchTasks)
Any small (<2MB) but useful optional components will be placed in the \AddOns directory. The batch files will be written to support their installation if \AddOns is copied to the nLite working directory.
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.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. 3rd party installer available (but you still have to use the W2K shortcuts).
SchTasks.exe from XP SP2 (modified to work with Windows 2000) was originally used to launch Run2_W2Ksp5.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 4: .Net framework
The installer linked to in the downloads section was created by Yumeyao, it is used rather than the original Microsoft installers as it saves 117MB on your install media. If you prefer to use the original files then save the following 13 to \RunOnce:
▼ NetFx20SP2_x86.exe 25,001,480
▼ NDP20SP2-KB958481-x86.exe 8,981,856
▼ NDP20SP2-KB971111-x86.exe 1,679,720
▼ NDP20SP2-KB979909-x86.exe 850,280
▼ NDP20SP2-KB2418241-x86.exe 6,739,304
▼ NDP20SP2-KB2518864-x86.exe 15,614,312
▼ NDP20SP2-KB2539631-x86.exe 2,956,648
▼ NDP20SP2-KB2572073-x86.exe 11,823,464
▼ NDP30SP2-KB982524-x86.exe 16,945,512
▼ dotNetFx.exe 24,265,736
▼ NDP1.1sp1-KB867460-x86.exe 10,703,680
▼ NDP1.1sp1-KB971108-x86.exe 7,002,048
▼ NDP1.1sp1-KB2572067-X86.exe 14,227,392
Part 5: Multi-media installations
Sometimes you won't be able to fit everything you want onto one CD and a DVD can't be used. In that case skip step 7 and instead burn the files & folders you would have copied to another CD. You will also have to do one of the following:
A) If you have multiple CD drives just put one CD in each, too easy.
B} Set a system boot password in BIOS and then change CDs on the second reboot.
C) Insert a Pause command as the first line of the RunOnce file (step 5), change CDs on the pause.
If you find that you've added too many AddOns and your image is over CD size, you can just delete the appropriate executables from \I386\svcpack and recreate the image. Most of the executables will be switchless installers so you could instead add them to Run1_W2Ksp5.bat or Run2_W2Ksp5.bat (open the original .cab file and read the Entries*.ini file to be sure). For instance you could do a base W2K CD with all the DriverPacks (except Graphics) and another CD with 525MB of application installs (142MB already reserved).
Part 6: 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/eSnips 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 7: Testing
There are 3 free Virtualization programs that you can use to test your creation, VMware Server, Sun VirtualBox and Microsoft VirtualPC 2007.
Automatic installation of Virtual Machine drivers is supported, just place the appropriate .iso file at \AddOns (you MUST use Rado354's 7-Zip AddOn for this to work).
VMware Server 1.0.10 (v2.0.2 untested)
Pros: Can virtualize just about anything, including x64 guest OS's (x64 support check)
Cons: 4 times the size of the others (v2 15x), registration required
ISO: %ProgramFiles%\VMware\VMware Server\Windows.iso
Sun VirtualBox (last version to run on a Win2000 host - MediaFire)
Pros: Also good for virtualizing Linux, supports x64 guest OS's if CPU has AMD-V or VT-x
Cons: Will not virtualize Win9x properly, v2.2.4 & earlier - do NOT install Comodo Firewall on the guest
ISO: %ProgramFiles%\Sun xVM VirtualBox\VBoxGuestAdditions.iso
Microsoft VirtualPC 2007 (Host OS XP or later)
Pros: Good for virtualizing 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 8: Space / Time
According to nLite a clean install CD (no Addons / Drivers, deleted the x64 DirectX cabs and the BootDisk,Discover,Support,ValueAdd folders) uses 498 MB.
A clean installation takes 1 hour with my setup (see below).
An installation with all the applications noted in part 1 takes 1 1/2 hours (includes dealing with 1st run application screens).
An installation with all the applications and ALL the DriverPacks takes 3 hours 15 minutes (keeping all the drivers, MUCH faster on a real machine).
System specs: Virtual PC 2007 running on Win XP x64 Pro platform
Turion 64 ML-34 (1.8GHz, 1MB cache), 1GB RAM, 100GB 5400rpm HDD
Each Virtual PC was allocated 384MB RAM and a 16GB HDD on an USB-HDD
No other applications were running on the laptop during the tests.
As all these tests were performed using Virtual PC 2007, please post about your real world experiences.
Attached File(s)
-
SchTasks.exe (119K)
Number of downloads: 398 -
ShutDown.exe (19K)
Number of downloads: 56
This post has been edited by Kurt_Aust: 18 October 2011 - 12:10 AM



Help

Back to top










