aadipa Posted November 25, 2004 Share Posted November 25, 2004 I am creating a Win2K all multiboot CDI slipstreamed all Win2K with SP4Now i want all fixes to be installed automatically.I downloaded the Post SP4 fixes from http://www.pubforum.net/security/w2ksp4/W2...curity_v104.zip [84.47 MB]It has 2 bats for installing.update.batrem *************************************rem *** ***rem *** MS W2K Post SP4 Security ***rem *** Hotfixes Package ***rem *** All updates ***rem *** by Dr.C0NTI from ***rem *** Part 1 ***rem *** October 13, 2004 ***rem *** ***rem *** http://www.pubforum.net ***rem *** v1.04 ***rem *************************************DirectX8-KB819696-x86-ENU.exe /Q:A /R:NDirectX9-KB819696-x86-ENU.exe /Q:A /R:NDoomCln-KB836528-v3-ENU.exe /Q:A /R:N /SENU_Q832483_MDAC_x86.EXE /C:"dahotfix.exe /q /n" /qjs56nen.exe /Q:A /R:Nmsjavwu.exe /c:"javatrig.exe /exe_install /l /qq" /q:a /r:nNDP10_SP_Q321884_En.exe /Q:A /R:NQ272736.EXE /Q:A /R:NQ299553.EXE /Q:A /R:NQ313450SP3.exe /Q:A /R:NQ317244.exe /Q:A /R:NQ823718_MDAC_SecurityPatch.exe /C:"dahotfix.exe /q /n" /qWindows-KB833330-ENU.exe /quiet /norestartWindows-KB833407-x86-enu.exe /quiet /norestartWindows-KB841720-ENU-V2.exe /Q:A /R:N /SWindows2000-KB823182-x86-ENU.exe /q /zWindows2000-KB823559-x86-ENU.exe /q /zWindows2000-KB823980-x86-ENU.exe /q /zWindows2000-KB824105-x86-ENU.exe /q /zWindows2000-KB825119-x86-ENU.exe /q /zWindows2000-KB826232-x86-ENU.exe /q /zWindows2000-KB828035-x86-ENU.exe /q /zWindows2000-KB828741-x86-ENU.EXE /q /zWindows2000-KB828749-x86-ENU.exe /q /zWindows2000-KB837001-x86-ENU.EXE /q /zwindows-kb870669-x86-enu.exe /z /qwindows2000-kb839643-x86-enu.exe /z /qwindows2000-kb839645-x86-enu.exe /z /qwindows2000-kb840315-x86-enu.exe /z /qwindows2000-kb841872-x86-enu.exe /z /qwindows2000-kb841873-x86-enu.exe /z /qwindows2000-kb842526-x86-enu.exe /z /qwindowsmedia-q828026-x86-enu.exe /z /qmsxml3cab.exe /t:c:\temp /qmsxmlcab.exe /t:c:\temp /qremcd ie6sp1ie6setup.exe /Q:A /C:"ie6wzd /S:""#e"" /Q"qchainand second fileupdate2.batrem *************************************rem *** ***rem *** MS W2K Post SP4 Security ***rem *** Hotfixes Package ***rem *** All updates ***rem *** by Dr.C0NTI from ***rem *** Part 2 ***rem *** October 13, 2004 ***rem *** ***rem *** http://www.pubforum.net ***rem *** v1.04 ***rem *************************************Windows2000-KB835732-x86-ENU.EXE /q /zie6.0sp1-kb823353-x86-enu.exe /Q /zwindows2000-kb823559-x86-enu.exe /q /zWindows2000-KB329115-x86-ENU.exe /quiet /norestartq831167.exe /q /zie6.0sp1-kb867801-x86-enu.exe /q /zmsxml3usa.msi /q reboot=suppressmsxml.msi /q reboot=suppressIE6.0sp1-KB833989-x86-ENU.exe /q /zregedit /s connwzrd.regremrem Added 13.10.2004remie6.0sp1-kb834707-windows-2000-xp-x86-enu.exe /z /qwindows2000-kb840987-x86-enu.exe /z /qwindows2000-kb841356-x86-enu.exe /z /qwindows2000-kb841533-x86-enu.exe /z /qI want to run both these files in following sequenceWin2K install --> update.bat --> REBOOT --> update2.batREBOOT step is must. so how can i do this?ps: i know there r some other methods to apply these fixes but i want to do it using these files.Files in downloaded Zp areDirectory of C:\Setups\Windows 2000\ENGLISH\WIN2000\Post SP4 Hotfixes\W2K_v10407/27/2004 01:10 AM 143 connwzrd.reg06/02/2004 11:04 AM 809,048 DirectX8-KB819696-x86-ENU.exe06/02/2004 11:05 AM 970,312 DirectX9-KB819696-x86-ENU.exe06/02/2004 11:05 AM 112,384 DoomCln-KB836528-v3-ENU.exe06/02/2004 11:08 AM 2,095,288 ENU_Q832483_MDAC_x86.EXE07/26/2004 09:24 PM 1,996,544 IE6.0sp1-KB823353-x86-ENU.exe09/26/2004 09:41 PM 1,094,400 IE6.0sp1-KB833989-x86-ENU.exe10/14/2004 10:05 PM 3,200,776 IE6.0sp1-KB834707-Windows-2000-XP-x86-ENU.exe08/02/2004 12:38 AM 2,914,048 IE6.0sp1-KB867801-x86-ENU.exe10/14/2004 10:29 PM <DIR> IE6SP106/02/2004 11:09 AM 369,504 js56nen.exe06/02/2004 11:17 AM 5,319,000 msjavwu.exe08/11/2004 10:30 PM 5,289,984 msxml.msi08/02/2004 02:16 AM 643,136 msxml3cab.EXE08/11/2004 10:30 PM 1,920,000 msxml3usa.msi08/02/2004 02:16 AM 739,408 msxmlcab.exe06/02/2004 11:26 AM 6,749,072 NDP10_SP_Q321884_En.exe06/02/2004 11:27 AM 220,936 Q272736.EXE06/02/2004 11:27 AM 344,568 Q299553.EXE06/02/2004 11:30 AM 1,882,808 Q313450SP3.exe06/02/2004 11:36 AM 4,674,352 Q317244.exe06/02/2004 11:38 AM 1,626,688 Q823718_MDAC_SecurityPatch.exe07/27/2004 12:51 AM 386,816 Q831167.exe06/02/2004 11:38 AM 37,648 qchain.exe11/25/2004 08:41 PM 1,951 update.bat10/14/2004 10:11 PM 1,076 update2.bat06/02/2004 12:03 PM 323,896 Windows-KB833330-ENU.exe06/02/2004 12:03 PM 316,616 Windows-KB833407-x86-enu.exe06/02/2004 12:03 PM 111,352 Windows-KB841720-ENU-V2.exe07/26/2004 08:34 PM 106,240 Windows-KB870669-x86-ENU.exe06/02/2004 12:04 PM 331,624 Windows2000-KB329115-x86-ENU.exe06/02/2004 12:01 PM 367,664 Windows2000-KB823182-x86-ENU.exe06/02/2004 11:40 AM 391,216 Windows2000-KB823559-x86-ENU.exe06/02/2004 12:02 PM 918,576 Windows2000-KB823980-x86-ENU.exe06/02/2004 11:39 AM 328,240 Windows2000-KB824105-x86-ENU.exe06/02/2004 11:45 AM 311,656 Windows2000-KB825119-x86-ENU.exe06/02/2004 11:39 AM 337,256 Windows2000-KB826232-x86-ENU.exe06/02/2004 11:40 AM 351,592 Windows2000-KB828035-x86-ENU.exe06/02/2004 11:51 AM 4,677,624 Windows2000-KB828741-x86-ENU.EXE06/02/2004 11:51 AM 336,744 Windows2000-KB828749-x86-ENU.exe06/02/2004 12:01 PM 7,160,824 Windows2000-KB835732-x86-ENU.EXE06/02/2004 11:44 AM 2,972,152 Windows2000-KB837001-x86-ENU.EXE07/26/2004 08:28 PM 430,072 Windows2000-KB839643-x86-ENU.EXE07/26/2004 08:27 PM 1,467,384 Windows2000-KB839645-x86-ENU.EXE07/26/2004 08:32 PM 373,240 Windows2000-KB840315-x86-ENU.EXE10/14/2004 10:07 PM 4,075,000 Windows2000-KB840987-x86-ENU.EXE10/14/2004 10:06 PM 2,539,000 Windows2000-KB841356-x86-ENU.EXE10/14/2004 10:08 PM 2,655,736 Windows2000-KB841533-x86-ENU.EXE07/26/2004 08:30 PM 354,296 Windows2000-KB841872-x86-ENU.EXE07/26/2004 08:30 PM 593,400 Windows2000-KB841873-x86-ENU.EXE07/26/2004 08:31 PM 726,520 Windows2000-KB842526-x86-ENU.EXE07/26/2004 08:35 PM 2,914,040 WindowsMedia-Q828026-x86-ENU.exe11/25/2004 10:40 PM 0 result.txt 52 File(s) 78,871,850 bytesDirectory of C:\Setups\Windows 2000\ENGLISH\WIN2000\Post SP4 Hotfixes\W2K_v104\IE6SP107/26/2004 09:42 PM 8,246 BRANDING.CAB07/26/2004 09:42 PM 12,984 CRLUPD.CAB07/27/2004 01:01 AM 1,002 filelist.dat07/26/2004 09:53 PM 490,608 ie6setup.exe07/26/2004 09:42 PM 25,165 IEEXINST.CAB07/26/2004 09:42 PM 0 iesetup.dir07/26/2004 09:42 PM 436 iesetup.ini07/26/2004 09:42 PM 1,818,300 IEW2K_1.CAB07/26/2004 09:42 PM 1,718,235 IEW2K_2.CAB07/26/2004 09:42 PM 1,877,533 IEW2K_3.CAB07/26/2004 09:42 PM 2,195,004 IEW2K_4.CAB07/26/2004 09:43 PM 1,935,979 MAILNEWS.CAB07/26/2004 09:43 PM 848,155 MPLAY2U.CAB07/26/2004 09:43 PM 19,990 OEEXCEP.CAB07/26/2004 09:43 PM 28,448 README.CAB07/26/2004 09:43 PM 800,234 SCRIPTEN.CAB07/26/2004 09:43 PM 594,321 WAB.CAB 17 File(s) 12,374,640 bytes Total Files Listed: 69 File(s) 91,246,490 bytes Link to comment Share on other sites More sharing options...
prathapml Posted November 25, 2004 Share Posted November 25, 2004 You need the PsShutdown tool from here: http://www.sysinternals.com/ntw2k/freeware/psshutdown.shtmlCheck out its switches for its usage. Link to comment Share on other sites More sharing options...
aadipa Posted November 25, 2004 Author Share Posted November 25, 2004 my problem is not with reboot but how can i run those 2 bat files automatically at end of win2k install when a reboot is there in between them ? Link to comment Share on other sites More sharing options...
prathapml Posted November 25, 2004 Share Posted November 25, 2004 Well, the first .BAT file, you can run it from GUIrunOnce.The second .BAT will need to be scheduled to be run at next reboot after that. how? you can use RunOnceEX registry keys for doing that.You need to have the commands for making the RunOnceEX registry entries, at the end of the first .BAT file.some info Link to comment Share on other sites More sharing options...
aadipa Posted December 13, 2004 Author Share Posted December 13, 2004 Thanks prathapml for helping me last timeNow i am faceing new problem.While testing the CD in Virtual PC, if i don't select any HDD or use unormatted HDD, setup starts with a flash of warningCouldn't open the boot partition to check for a signatureAnd if i use a formatted HDD / HDD with other Win OS installed, the setup don't even start. It hangs at the BCDW2 screen only.What can be the solution ?I googled it to some MS KB http://support.microsoft.com/default.aspx?...kb;en-us;227704but this is a Virtual PC so such problems shouldn't come.Also why is the prompt coming now and systems hungs while individual Win2K CD (without BCDW2, original boot sector) works perfect? Link to comment Share on other sites More sharing options...
aadipa Posted December 15, 2004 Author Share Posted December 15, 2004 can any1 help me in this? Link to comment Share on other sites More sharing options...
prathapml Posted December 16, 2004 Share Posted December 16, 2004 Well, all I can say is, both VirtualPC and cdshell/BCDW are not very good.I use VMware for my testing, and EasyBoot for making multi-boot. Link to comment Share on other sites More sharing options...
hardnova Posted February 3, 2005 Share Posted February 3, 2005 Hello allJust reading the thread and running into the same problem as Aadipa was getting the 2nd batch file to run.. i have converted the 2nd to the RunonceEX command structure using RunOnceEx.cmd Creator. i added in the Command line at the end of the 1st batchfile to excute the Runonceex cmd and it's still not working correctly..Any suggestion on what needs to be changed or what i'm missing here?The 1st Batchfile with the RunonceEx command at the end.@echo offecho.echo Starting the Hotfixes Updateecho This May Take about 15mins orecho Less.. Please do Not Restartecho Your Computer or Shut it Down..rem *************************************rem *** ***rem *** MS W2K Post SP4 Security ***rem *** Hotfixes Package ***rem *** All updates ***rem *** by Dr.C0NTI from ***rem *** Part 1 ***rem *** January 31, 2005 ***rem *** ***rem *** http://www.pubforum.net ***rem *** v1.08 ***rem *************************************start/wait %systemdrive%\install\DirectX8-KB819696-x86-ENU.exe /Q:A /R:Nstart/wait %systemdrive%\install\DirectX9-KB819696-x86-ENU.exe /Q:A /R:Nstart/wait %systemdrive%\install\DoomCln-KB836528-v3-ENU.exe /Q:A /R:N /Sstart/wait %systemdrive%\install\ENU_Q832483_MDAC_x86.EXE /C:"dahotfix.exe /q /n" /qstart/wait %systemdrive%\install\js56nen.exe /Q:A /R:Nstart/wait %systemdrive%\install\msjavwu.exe /c:"javatrig.exe /exe_install /l /qq" /q:a /r:nstart/wait %systemdrive%\install\NDP10_SP_Q321884_En.exe /Q:A /R:Nstart/wait %systemdrive%\install\Q272736.EXE /Q:A /R:Nstart/wait %systemdrive%\install\Q299553.EXE /Q:A /R:Nstart/wait %systemdrive%\install\Q313450SP3.exe /Q:A /R:Nstart/wait %systemdrive%\install\Q317244.exe /Q:A /R:Nstart/wait %systemdrive%\install\Q823718_MDAC_SecurityPatch.exe /C:"dahotfix.exe /q /n" /qstart/wait %systemdrive%\install\Windows-KB833330-ENU.exe /quiet /norestartstart/wait %systemdrive%\install\Windows-KB833407-x86-enu.exe /quiet /norestartstart/wait %systemdrive%\install\Windows-KB841720-ENU-V2.exe /Q:A /R:N /Sstart/wait %systemdrive%\install\Windows2000-KB823182-x86-ENU.exe /q /zstart/wait %systemdrive%\install\Windows2000-KB823559-x86-ENU.exe /q /zstart/wait %systemdrive%\install\Windows2000-KB823980-x86-ENU.exe /q /zstart/wait %systemdrive%\install\Windows2000-KB824105-x86-ENU.exe /q /zstart/wait %systemdrive%\install\Windows2000-KB825119-x86-ENU.exe /q /zstart/wait %systemdrive%\install\Windows2000-KB826232-x86-ENU.exe /q /zstart/wait %systemdrive%\install\Windows2000-KB828035-x86-ENU.exe /q /zstart/wait %systemdrive%\install\Windows2000-KB828741-x86-ENU.EXE /q /zstart/wait %systemdrive%\install\Windows2000-KB828749-x86-ENU.exe /q /zstart/wait %systemdrive%\install\Windows2000-KB837001-x86-ENU.EXE /q /zstart/wait %systemdrive%\install\windows-kb870669-x86-enu.exe /z /qstart/wait %systemdrive%\install\windows2000-kb839643-x86-enu.exe /z /qstart/wait %systemdrive%\install\windows2000-kb839645-x86-enu.exe /z /qstart/wait %systemdrive%\install\windows2000-kb840315-x86-enu.exe /z /qstart/wait %systemdrive%\install\windows2000-kb841872-x86-enu.exe /z /qstart/wait %systemdrive%\install\windows2000-kb841873-x86-enu.exe /z /qstart/wait %systemdrive%\install\windows2000-kb842526-x86-enu.exe /z /qstart/wait %systemdrive%\install\windowsmedia-q828026-x86-enu.exe /z /qstart/wait %systemdrive%\install\msxml3cab.exe /t:c:\temp /qstart/wait %systemdrive%\install\msxmlcab.exe /t:c:\temp /qremcd \install\ie6sp1ie6setup.exe /Q:A /C:"ie6wzd /S:""#e"" /Q"qchaincd..[COMMANDS]"RunOnceEx.cmd"And here is the 2nd that i converted over using the RunOnceEx.cmd Creator.cmdow @ /HID@Echo OffSET PP=%systemdrive%\install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Windows 2000 Secruity Updates" /fREG ADD %KEY%\004 /VE /D "Windows Update" /fREG ADD %KEY%\004 /V 1 /D "%PP%%systemdrive%\install\windows2000-kb835732-x86-enu.exe /q /z" /fREG ADD %KEY%\009 /VE /D "Internet Explorer Update" /fREG ADD %KEY%\009 /V 1 /D "%PP%%systemdrive%\install\ie6.0sp1-kb23353-x86-enu.exe /Q /z" /fREG ADD %KEY%\014 /VE /D "Windows Update" /fREG ADD %KEY%\014 /V 1 /D "%PP%%systemdrive%\install\windows2000-kb23559-x86-enu.exe /q /z" /fREG ADD %KEY%\019 /VE /D "Windows Update" /fREG ADD %KEY%\019 /V 1 /D "%PP%%systemdrive%\install\windows2000-kb329115-x86-enu.exe /quiet /norestart" /fREG ADD %KEY%\024 /VE /D "Windows Update" /fREG ADD %KEY%\024 /V 1 /D "%PP%%systemdrive%\install\q831167.exe /q /z" /fREG ADD %KEY%\029 /VE /D "Internet Explorer Update" /fREG ADD %KEY%\029 /V 1 /D "%PP%%systemdrive%\install\ie6.0sp1-kb867801-x86-enu.exe /q /z" /fREG ADD %KEY%\034 /VE /D "XML Update" /fREG ADD %KEY%\034 /V 1 /D "%PP%%systemdrive%\install\msxml3usa.msi /q reboot=suppress" /fREG ADD %KEY%\039 /VE /D "XML Update" /fREG ADD %KEY%\039 /V 1 /D "%PP%%systemdrive%\install\msxml.msi /q reboot=suppress" /fREG ADD %KEY%\044 /VE /D "Internet Explorer Update" /fREG ADD %KEY%\044 /V 1 /D "%PP%%systemdrive%\install\ie6.0sp1-kb833989-x86-enu.exe /q /z" /fREG ADD %KEY%\049 /VE /D "Registry Entry" /fREG ADD %KEY%\049 /V 1 /D "%PP%%systemdrive%\install\regedit /s connwzrd.reg" /fREG ADD %KEY%\054 /VE /D "Internet Explorer Update" /fREG ADD %KEY%\054 /V 1 /D "%PP%%systemdrive%\install\ie6.0sp1-kb834707-windows-2000-xp-x86-enu.exe /z /q" /fREG ADD %KEY%\059 /VE /D "Windows Update" /fREG ADD %KEY%\059 /V 1 /D "%PP%%systemdrive%\install\windows2000-kb840987-x86-enu.exe /z /q" /fREG ADD %KEY%\064 /VE /D "Windows Update" /fREG ADD %KEY%\064 /V 1 /D "%PP%%systemdrive%\install\windows2000-kb841356-x86-enu.exe /z /q" /fREG ADD %KEY%\069 /VE /D "Windows Update" /fREG ADD %KEY%\069 /V 1 /D "%PP%%systemdrive%\install\windows2000-kb841533-x86-enu.exe /z /q" /fREG ADD %KEY%\074 /VE /D "Internet Explorer Update" /fREG ADD %KEY%\074 /V 1 /D "%PP%%systemdrive%\install\ie6.0sp1-kb889293-windows-2000-xp-x86-enu.exe /z /q" /fREG ADD %KEY%\079 /VE /D "Windows Update" /fREG ADD %KEY%\079 /V 1 /D "%PP%%systemdrive%\install\windows2000-kb873339-x86-enu.exe /z /q" /fREG ADD %KEY%\084 /VE /D "Windows Update" /fREG ADD %KEY%\084 /V 1 /D "%PP%%systemdrive%\install\windows2000-kb885835-x86-enu.exe /z /q" /fREG ADD %KEY%\089 /VE /D "Windows Update" /fREG ADD %KEY%\089 /V 1 /D "%PP%%systemdrive%\install\windows2000-kb885836-x86-enu.exe /z /q" /fREG ADD %KEY%\094 /VE /D "Windows Update for 2005" /fREG ADD %KEY%\094 /V 1 /D "%PP%%systemdrive%\install\windows2000-kb871250-x86-enu.exe /q /z" /fREG ADD %KEY%\099 /VE /D "Windows Update for 2005" /fREG ADD %KEY%\099 /V 1 /D "%PP%%systemdrive%\install\windows2000-kb890175-x86-enu.exe /q /z" /fREG ADD %KEY%\099 /VE /D "Windows Update for 2005" /fREG ADD %KEY%\099 /V 1 /D "%PP%%systemdrive%\install\windows2000-kb891711-x86-enu.exe /q /z" /fEXITmy Winnt.sif file;SetupMgrTag[Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes"[unattended] UnattendMode=ProvideDefault OemPreinstall=yes TargetPath=\WINNT[GuiUnattended] OEMSkipRegional=1 TimeZone=35[TapiLocation] CountryCode=1 Dialing=Tone AreaCode=302[RegionalSettings] LanguageGroup=1[identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=Yes[branding] BrandIEUsingUnattended=Yes Home_Page=www.msn.com Search_Page=www.google.com[Proxy] Proxy_Enable=0 Use_Same_Proxy=0[GuiRunOnce]%systemdrive%\install\batch_file.cmd Link to comment Share on other sites More sharing options...
tjhart85 Posted February 3, 2005 Share Posted February 3, 2005 I don't know anything about the RunOnceEX way of doing things, but I do know that if you want people to help you, you need to show them what you are doing!Post everything relating to what you are trying to do, and make sure you tell us what they are (RunOnce.bat for example) and that you surround the code in QUOTE tags. After you do that, people will be more than willing to try and help you. Link to comment Share on other sites More sharing options...
aadipa Posted February 3, 2005 Author Share Posted February 3, 2005 RunOnceEx method solved my problem.The list of fix i got was for 2000 Server so some of the fix gave error while installing on prof version.I think removeing that entry from prof's RunOnceEx will do the job for me for my cd to be perfect. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now