Numinous Posted October 19, 2003 Author Share Posted October 19, 2003 thanks FthrJACK.. i reposted the topic again may be best to remove it Link to comment Share on other sites More sharing options...
techtype Posted October 19, 2003 Share Posted October 19, 2003 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. Link to comment Share on other sites More sharing options...
Numinous Posted October 19, 2003 Author Share Posted October 19, 2003 ive added it in to the original post can only be beneficial Link to comment Share on other sites More sharing options...
techtype Posted October 19, 2003 Share Posted October 19, 2003 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!!!! Link to comment Share on other sites More sharing options...
squallgreg Posted October 19, 2003 Share Posted October 19, 2003 Allright I have to rewrite what I said in the deleted copy of this thread... 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.dllIf it may help anyone here is my batch file. I'm using a couple of things found by Numinous :CLS@echo offMODE CON COLS=80 LINES=40COLOR 0BTITLE Updating and tweaking Windows XP SP1echo Post-installation program startingecho Eject the XP CD right now !PAUSEecho.echo Removing zip support...regsvr32.exe -u %systemroot%\system32\zipfldr.dllecho.echo Removing XP spyware...regsvr32.exe -u %systemroot%\system32\regwizc.dllecho.echo Applying Registry Tweaks...regedit.exe /s %systemdrive%\Install\registry.regecho.echo Installing Winrar 3.1b5start /wait %systemdrive%\Install\wrar31b5.exe /silentcopy "%systemdrive%\Install\RARREG.KEY" "%systemdrive%\program files\WinRAR\"echo.echo Installing DirectX 9.0b...start /wait %systemdrive%\Install\dxsetup.exe /windowsupdateecho.echo Applying Update Rollup 1...start /wait %systemdrive%\hotfixes\KB826939.exe /u /q /z /necho Applying SP2 hotfixes...for %%i in (%systemdrive%\hotfixes\1\*.exe) do start /wait %%i /u /q /z /nfor %%i in (%systemdrive%\hotfixes\2\*.exe) do start /wait %%i /q:a /r:necho Applying others hotfixes...start /wait %systemdrive%\hotfixes\KBMDAC.exe /q /c:"dahotfix /q /n"start /wait %systemdrive%\hotfixes\Qchain.exeecho Installation complete. Please restart Windows to apply all hotfixes.PAUSEEXIT Link to comment Share on other sites More sharing options...
Numinous Posted October 19, 2003 Author Share Posted October 19, 2003 squallgreg the /s switch unregisters the dll silently regsvr32.exe /u %systemroot%\system32\regwizc.dll /syou 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 More sharing options...
squallgreg Posted October 19, 2003 Share Posted October 19, 2003 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 spreadMy USB modem is not connected when I install XP... Link to comment Share on other sites More sharing options...
Numinous Posted October 19, 2003 Author Share Posted October 19, 2003 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 More sharing options...
Westi Posted October 19, 2003 Share Posted October 19, 2003 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 00This line changes the behavior of RPCSS-service to do nothing after a crash (instead of a reboot) Link to comment Share on other sites More sharing options...
Numinous Posted October 19, 2003 Author Share Posted October 19, 2003 thanks westi was looking for that regkey.. good manheres 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 More sharing options...
squallgreg Posted October 19, 2003 Share Posted October 19, 2003 as long as you install the rollup and reboot before installing the modem theres no need for the shutdown /a command.. you'll be protectedI know, and this command was for you. Link to comment Share on other sites More sharing options...
Numinous Posted October 19, 2003 Author Share Posted October 19, 2003 oh i see.. thanks squallgreg Link to comment Share on other sites More sharing options...
techtype Posted October 19, 2003 Share Posted October 19, 2003 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 More sharing options...
Numinous Posted October 19, 2003 Author Share Posted October 19, 2003 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 Link to comment Share on other sites More sharing options...
squallgreg Posted October 19, 2003 Share Posted October 19, 2003 did you modify any DLL files such as uxtheme ou sfc_os ? 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