Jump to content

program in batch_file.cmd causing reboot


r4esh

Recommended Posts

around T-13 when XP runs batch_file.cmd a program is cousing windows install to reboot thus cousing the installation process to start over. I'm not quite sure exactly which program it is, it might be office 03, but this is preventing me from installing windows xp. How can i fix this? If you need me to post the batch_file, i will. or any other files for that matter. :blink:

Link to comment
Share on other sites


Is there a universal code i can type in to prevent or ignore all program's request to reboot? So that regardless of what the program says the process wont occer and the installation of windows xp will continue?

Link to comment
Share on other sites

Is there a universal code i can type in to prevent or ignore all program's request to reboot? So that regardless of what the program says the process wont occer and the installation of windows xp will continue?

Link to comment
Share on other sites

here is the batch_file.cmd where it install the programs.

 CLS

@echo off

TITLE Windows XP SP2 - Unattended Installation

ECHO.

ECHO Over the next few minutes you will see automated installations

ECHO of various sofware applications, windows updates, and registry

ECHO tweaks being implemented. The computer will restart automatically

ECHO once the whole process has finished!

ECHO.

ECHO Removing Wallpapers and Screensavers...

DEL "%systemroot%\*.bmp"

DEL "%systemroot%\Web\Wallpaper\*.jpg"

DEL "%systemroot%\system32\dllcache\*.scr"

DEL "%systemroot%\system32\*.scr"

ECHO.

ECHO Removing useless shortcuts...

DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"

DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"

DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"

ECHO.

ECHO Applying Registry Tweaks...

REGEDIT /S %systemdrive%\install\RegTweaks.reg

ECHO.

ECHO Installing AIM 5.5

ECHO Please wait...

start /wait %systemdrive%\install\Applications\AIM\Install_AIM.exe /s

echo.

Echo Removing WeatherBug

echo.

start /wait %systemdrive%"\program files\aws\weatherbug\unwise.exe" /a "%systemdrive%\program files\aws\weatherbug\install.log"

exit

ECHO.

ECHO Installing Windows Media Player 10

ECHO Please wait...

start /wait %systemdrive%\install\WMP10\MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore"

ECHO.

ECHO Installing Lavasoft Ad-Aware 6 Pro (Will ask for Serial)

ECHO Please wait...

start /wait %systemdrive%\install\Applications\AdAware\aaw6181.exe /s

ECHO.

ECHO Installing Adobe Reader 6

ECHO Please wait...

start /wait %systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_basic.exe -p"-s /v\"/qn\""

ECHO.

ECHO Registering Nero Burning ROM...

REGEDIT /S %systemdrive%\install\Applications\Nero\register.reg

ECHO.

ECHO Installing Nero Burning ROM v6.3.1.17

ECHO Please wait...

start /wait %systemdrive%\install\Applications\Nero\Nero60015.exe /silent /noreboot /no_ui /sn=4a21-8591-1596-4263-6211-0426 /write_sn

ECHO.

ECHO Installing Google Toolbar

ECHO Please wait...

start /wait %systemdrive%\Install\Applications\GoogleBar\GoogleToolbarInstaller.exe /s /qn

ECHO.

ECHO Installing Sun Java VM 1.4.5

ECHO Please wait...

start /wait j2re-1_4_2_05-windows-i586.exe /s /v/qn ADDLOCAL=jrecore IEXPLORER=1"

ECHO Installing .NET Framework v1.1

ECHO Please wait...

start /wait %systemdrive%\install\NetFramework\netfx.msi /qb

ECHO Installing .NET Framework v1.1 SP1

ECHO Please wait...

start /wait %systemdrive%\install\NetFramework\NDP1.1sp1-KB867460-X86.exe /Q

ECHO.

ECHO Installing Office 2003 Professional with SP1 Embedded

ECHO Please wait...

start /wait %systemdrive%\install\Applications\OfficeXP\setup.exe TRANSFORMS=Unattended.MST /qb-

ECHO Installing Steam

ECHO Please wait...

start /wait %systemdrive%\install\Steam\Steam.exe

ECHO Installing DVD Shrink 3.2

ECHO Please wait...

start /wait %systemdrive%\install\DVD Shrink 3.2\DVD Shrink 3.2.exe

ECHO Installing Middle Man AIM addon

ECHO Please wait...

start /wait %systemdrive%\install\Middle Man\MM.exe

ECHO Installing Skype

ECHO Please wait...

start /wait %systemdrive%\install\Skype\Skype.exe

ECHO Installing ExtractNow

ECHO Please wait...

start /wait %systemdrive%\install\ExtractNow\ExtractNow.exe

ECHO Installing RegScrubXP

ECHO Please wait...

start /wait %systemdrive%\install\RegScrubXP\RegScrubXP.exe

ECHO.

ECHO Restarting the PC in 1 minute...

shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

ECHO.

ECHO Deleting Temp Installation Files...

RD /S /Q %systemdrive%\Drivers

EXIT

Link to comment
Share on other sites

ECHO.

ECHO Restarting the PC in 1 minute...

shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

If you have this running at T-13 it will definately reboot, run your cmd from runonce in winnt.sif

Link to comment
Share on other sites

QUOTE

ECHO.

ECHO Restarting the PC in 1 minute...

shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

If you have this running at T-13 it will definately reboot, run your cmd from runonce in winnt.sif

Yeah ... you are running a shutdown command you know .. no wonder it's rebooting! :whistle:

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