Jump to content

An Alternative Hotfix Guide


Recommended Posts


Allright I have to rewrite what I said in the deleted copy of this thread... :rolleyes:

I think we can use the command "shutdown /a" at the beginning of the batch file to get rid of the reboot caused by msblast (as soon as you are connected to the net). I just have to find out the switch to reactivate the shutdown right before the end of the batch.

And the command to disable XP spyware is :

echo Removing XP spyware...

regsvr32.exe -u %systemroot%\system32\regwizc.dll

If it may help anyone here is my batch file. I'm using a couple of things found by Numinous :) :
CLS

@echo off

MODE CON COLS=80 LINES=40

COLOR 0B

TITLE Updating and tweaking Windows XP SP1

echo Post-installation program starting

echo Eject the XP CD right now !

PAUSE

echo.

echo Removing zip support...

regsvr32.exe -u %systemroot%\system32\zipfldr.dll

echo.

echo Removing XP spyware...

regsvr32.exe -u %systemroot%\system32\regwizc.dll

echo.

echo Applying Registry Tweaks...

regedit.exe /s %systemdrive%\Install\registry.reg

echo.

echo Installing Winrar 3.1b5

start /wait %systemdrive%\Install\wrar31b5.exe /silent

copy "%systemdrive%\Install\RARREG.KEY" "%systemdrive%\program files\WinRAR\"

echo.

echo Installing DirectX 9.0b...

start /wait %systemdrive%\Install\dxsetup.exe /windowsupdate

echo.

echo Applying Update Rollup 1...

start /wait %systemdrive%\hotfixes\KB826939.exe /u /q /z /n

echo Applying SP2 hotfixes...

for %%i in (%systemdrive%\hotfixes\1\*.exe) do start /wait %%i /u /q /z /n

for %%i in (%systemdrive%\hotfixes\2\*.exe) do start /wait %%i /q:a /r:n

echo Applying others hotfixes...

start /wait %systemdrive%\hotfixes\KBMDAC.exe /q /c:"dahotfix /q /n"

start /wait %systemdrive%\hotfixes\Qchain.exe

echo Installation complete. Please restart Windows to apply all hotfixes.

PAUSE

EXIT

Link to comment
Share on other sites

squallgreg the /s switch unregisters the dll silently :)

regsvr32.exe /u %systemroot%\system32\regwizc.dll /s

you really should use the kb824146 hotfix using the svcpack method to stop the msblast.exe and variants getting onto your machine while xp's setting up.. the shutdown /a will stop your machine shutting down but it wont stop the worm getting on your machine and trying to spread

Link to comment
Share on other sites

oh man ! This popup after unregistering the dll was so annoying ! THANX.

the shutdown /a will stop your machine shutting down but it wont stop the worm getting on your machine and trying to spread

My USB modem is not connected when I install XP...

Link to comment
Share on other sites

ah i see.. the shutdown /a will abort a shutdown.. theres no need to re-enable anything.. as long as you install the rollup and reboot before installing the modem theres no need for the shutdown /a command.. you'll be protected

Link to comment
Share on other sites

I think we can use the command "shutdown /a" at the beginning of the batch file to get rid of the reboot caused by msblast (as soon as you are connected to the net). I just have to find out the switch to reactivate the shutdown right before the end of the batch.

Just modify the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcSs\FailureActions: 00 00 00 00 00 00 00 00 00 00 00 00 03 00 00 00 53 00 65 00 00 00 00 00 60 EA 00 00 02 00 00 00 60 EA 00 00 02 00 00 00 60 EA 00 00

This line changes the behavior of RPCSS-service to do nothing after a crash (instead of a reboot)

Link to comment
Share on other sites

thanks westi :) was looking for that regkey.. good man

heres the syntax for your reg tweaks file

; switch rpc failure to no reboot
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcSs]
"FailureActions"=hex:00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,53,00,65,\
 00,00,00,00,00,60,ea,00,00,00,00,00,00,60,ea,00,00,00,00,00,00,60,ea,00,00

Link to comment
Share on other sites

OK, Numinous or AaronXP or DaveXP or anybody equally brillant, I have successfully combined info from all of you to get what seems to me to be a perfect, fully patched unattended install of XP. Runs fine and passes the Windows Update test. However when I run "SFC /scannow" as a test, Windows wants the XP SP1 CD to add files to the DLLCACHE directory. I'm suspicious of this because the hotfixes, rollup and Directx etc are not really "Slipstreamed" as you know. Anybody have any ideas on how to get the DLLCACHE directory in sync?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...