Jump to content

Recommended Posts


Posted

Ah ha! The /n does not seem to be in your original post either. Somehow my eyes saw it every time even though it was not there. My brain just checked for four switches and saw an "n". I'll correct my code and try again.

Posted

No backup directories now! At last - still entries in add/remove, so I use the little cleanup program (anal retentive, I know). All the hotfixes plus directx install in under 3 minutes on a Celeron 1.3 Ghz. Thanks!!!!

Posted

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

Posted

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

Posted

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...

Posted

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

Posted
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)

Posted

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

Posted
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

I know, and this command was for you. :)

Posted

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?

Posted

sfc /scannow may overwrite system files and you may need to reinstall hotfixes after using it.. saying that, qfecheck reports all hotfixes are current on system and windows update reports nothing needed

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...