Jump to content

runoncecmd


delboy2028
 Share

Recommended Posts


Would indeed help to post your runonceex file and whatever other scripts it may execute.

Just guessing (once) - maybe it's because you're not using start /wait in your scripts?

Link to comment
Share on other sites

I can see no reason from what you posted, which would explain all the commands running at the same time.

You should however change

REG ADD %KEY%\030 /VE /D "AVG Anti-Virus" /f
REG ADD %KEY%\030 /V 1 /D "%systemroot%\Install\avgsetup.exe\" /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED" /f

REG ADD %KEY%\030 /VE /D "Bootscreen" /f
REG ADD %KEY%\030 /V 1 /D "%systemroot%\Install\bootscreen.cmd" /f

REG ADD %KEY%\030 /VE /D "Blocklist" /f
REG ADD %KEY%\030 /V 1 /D "%systemroot%\Install\Blocklist_revised\Domain_blocklist.cmd" /f
REG ADD %KEY%\030 /V 2 /D "REGEDIT /S %systemroot%\Install\Blocklist_revised\Domain_blocklist.reg" /f

to

REG ADD %KEY%\025 /VE /D "AVG Anti-Virus" /f
REG ADD %KEY%\025 /V 1 /D "%systemroot%\Install\avgsetup.exe\" /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED" /f

REG ADD %KEY%\030 /VE /D "Bootscreen" /f
REG ADD %KEY%\030 /V 1 /D "%systemroot%\Install\bootscreen.cmd" /f

REG ADD %KEY%\035 /VE /D "Blocklist" /f
REG ADD %KEY%\035 /V 1 /D "%systemroot%\Install\Blocklist_revised\Domain_blocklist.cmd" /f
REG ADD %KEY%\035 /V 2 /D "REGEDIT /S %systemroot%\Install\Blocklist_revised\Domain_blocklist.reg" /f

I would also suggest, that the office 2003 install at the very beginning should be moved to the end, just before the Cleaning Up and Rebooting.

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...