Jump to content

HOTFIXES: Windows XP SP2 & Windows 2000 SP4


 Share

Recommended Posts

hi guys,

the following batch file will create the svcpack.inf file (only tested with XP SP2)

all you have to do is put it in the I386/SvcPack folder where all KB*.exe files are.

I thought I'd share it since all you have to do after you put more KB* files in that folder

is to execute the batch file again...

hotfix.cmd

@echo off
@rem autor Dziubek
@rem skrypt wykonany na potrzeby explode.pl & elodz.net
set sourcedir=d:\XP
set svcpackdir=%sourcedir%\i386\svcpack
if not exist KB885835.exe  rename WindowsXP-KB885835-x86*.exe KB885835.exe

echo INTEGRATE  Sevice Pack 2
if not exist %sourcedir%\win51ip.sp2 start /wait WindowsXP-KB835935-SP2*.exe /integrate:%sourcedir% /q


echo INTEGRATE KB885835.exe
start /wait KB885835.exe /integrate:%sourcedir% /q
for /f %%L in (%svcpackdir%\HFINT.DAT) DO (
if %%L==mrxsmb.sys (
 echo %%L.temp>>%svcpackdir%\HFINT.TMP
) ELSE (
 echo %%L>>%svcpackdir%\HFINT.TMP
)
)
move /y %svcpackdir%\HFINT.TMP %svcpackdir%\HFINT.DAT

for %%U in (*KB*.exe) DO (
if not exist %svcpackdir%\%%U (
 echo INTEGRATE %%U
 start /wait %%U /integrate:%sourcedir% /q
)
)

for /f %%L in (%svcpackdir%\HFINT.DAT) DO (
if %%L==mrxsmb.sys.temp (
 echo mrxsmb.sys>>%svcpackdir%\HFINT.TMP
) ELSE (
 echo %%L>>%svcpackdir%\HFINT.TMP
)
)
move /y %svcpackdir%\HFINT.TMP %svcpackdir%\HFINT.DAT
Echo end
pause

default folder with installation XP: d:\xp

You should start script in folder where you have hotfixs

Link to comment
Share on other sites


For the CMD people :
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{03D9F3F2-B0E3-11D2-B081-006008039BF0}" /v "Compatibility Flags" /t REG_DWORD /d 1024

Tested & Approuved  :thumbup

reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{03D9F3F2-B0E3-11D2-B081-006008039BF0}" /v "Compatibility Flags" /t REG_DWORD /d 1024 /f

I always add the /f switch, just in case...

Approuved :} , c'est du franglais or it's frenchglish?

Link to comment
Share on other sites

Mydoom 13 juli 05

;Mydoom 13 juli 05
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RemovalTools]
"MydoomTool"="OK"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RemovalTools\MRT]
"Version"="2EEAB848-93EB-46AE-A3BF-9F1A55F54833"

Link to comment
Share on other sites

I noticed that if you are using Win XP with SP2 integrated, and with MS Java not installed, all that KB903235 really does is add the registry entry previously mentioned - in fact, the javaprxy.dll file isn't even part of your system. The direct registry entry does the same thing - prevent access to a file that doesn't exist on your system.

Why is this even listed as a critical update on SP2 systems? Shouldn't it be a critical update only if MS Java is installed?

Perhaps, similar to the GDI+ detection tool, you could put a note to import the proper registry entry instead?

Link to comment
Share on other sites

To make KB903235 seem like it's installed, put this in the registry....

For the INF file people

HKLM,"SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{03D9F3F2-B0E3-11D2-B081-006008039BF0}","Compatibility Flags",0x00010001,0x400

For the regedit people:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{03D9F3F2-B0E3-11D2-B081-006008039BF0}]
"Compatibility Flags"=dword:00000400

For the CMD people :
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{03D9F3F2-B0E3-11D2-B081-006008039BF0}" /v "Compatibility Flags" /t REG_DWORD /d 1024

Tested & Approvedl  :thumbup

Link to comment
Share on other sites

Mydoom 13 juli 05

;Mydoom 13 juli 05
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RemovalTools]
"MydoomTool"="OK"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RemovalTools\MRT]
"Version"="2EEAB848-93EB-46AE-A3BF-9F1A55F54833"

Doesn't work ... For me I have the EULA dword value set to 1 too (no the MydoomTools ...), but if I delete the REmovalsTools in WindowsUpdate the MRT doesn't re-appears ...

edit: The MRT 1.6 detects your MRT.EXE in the sys32 folder, no regkeys checked ... if MRT.EXE is already the 1.6 version the patch isn't displayed ...

Edited by sonic
Link to comment
Share on other sites

Oops, adding a new file to I386 dir requires some edit ability...

Edit TXTSETUP.SIF to add MRT.exe

[SourceDisksFiles]
...
mripsap.mib  = 1,,,,,,,,3,3
MRT.exe      = 100,,,,,,,2,0,0
msaatext.dll = 1,,,,,,,2,0,0
...

Edit DOSNET.INF to add MRT.exe

[Files]
...
d1,mripsap.mib
d1,MRT.exe
d1,mrxdav.sys
...

Then apply some well know reg tweak. (à la inf people fashion way):

;Remove the Malicious Software Removal Tool v1.4 from WU (KB890830)
;HKLM,"SOFTWARE\Microsoft\RemovalTools","MydoomTool",,"OK"
HKLM,"SOFTWARE\Microsoft\RemovalTools\MRT","EULA",0x00010001,0x00000001
HKLM,"SOFTWARE\Microsoft\RemovalTools\MRT","Version",,"2EEAB848-93EB-46AE-A3BF-9F1A55F54833"

Could not find any .cat. Also coping instead to $OEM$\$$\System32\MRT.exe works at 1.5 Mb cost.

Edited by Nilfred
Link to comment
Share on other sites

I apologize if this has been posted in this thread... I have read since page 65 and saw no mention.

This is a little CMD file to slipstream hotfixes into a windows source:

http://www.msfn.org/board/index.php?showtopic=32125

This does files, all reg entries, and leaves WinUpdate saying little if anything.

The file works for both XP and Win2k. Here is a quick and dirty set of instructions for making an up-to-date Windows 2000.

Link to comment
Share on other sites

the copy options for mrt should be 2,0 (copied to system32 during textmode setup) instead of 3,3 (optionally copied by inf install section)

[sourceDisksFiles]MRT.exe      = 100,,,,,,,,2,0
Link to comment
Share on other sites

Made a couple of changes to my unattended install and works great up to this point...................

Attachment1

I think its to do with the darn KB873374.exe, but looking thru the forum its been covered somewhat at odds an sods.

For info my svcpack relevent lines below.

I must own up and say it worked Ok with the halt box not commented out, but then it asked for a location! cant win!!

KB873374.exe /Q:A /R:N 
;(HALT BOX)
;import this registry setting instead:
REG ADD "HKLM\SOFTWARE\Microsoft\GdiDetectionTool" /v "GDITool" /t REG_DWORD /d "00000001" /f

any ideas to bypass this error message or would it be best to update this hotfix after complete install as say a runOnceEx.cmd install.

running out of ideas

post-57509-1121459610_thumb.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...