Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

program in batch_file.cmd causing reboot

Featured Replies

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:

  • Author

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?

  • Author

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?

u can try

shutdown.exe -a

but i really doubt it'll work, post your .cmd file so someone can help u :P

  • Author

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

its either officexp or java.. i guess java.. heres what i use for that..

<java.exe here> /s /v"/qn REBOOT=Suppress

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

Hmm, my guess. Maybe WeatherBug, it may be running in background and then you try to uninstall, might force a reboot?

:unsure:

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:

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.