Jump to content

Recommended Posts

Posted

Hey guys, I got a really weird problem, I ask the computer to run "RUNONCE.CMD" at [GUIRUNONCE] and as expected, the computer runs the file "RUNONCE.CMD" during the 1st logon as administrator after installation. Then the problem comes in.

All the codes in "RUNONCE.CMD" was executed until the part

CMDOW @ /HID

REG ADD codes A...
REG ADD codes B...

rundll32.exe iernonce.dll,RunOnceExProcess

REG ADD codes C...
REG ADD codes D...

Codes C and Codes D will not be executed at all.. is it because windows will not execute anything after command "rundll32.exe iernonce.dll,RunOnceExProcess"? However i try to run this file again when i have loaded windows completely and it works... i'm really kinda freak out, can anyone help?


Posted

You need to have it wait for runonceex to finish before adding the next group of keys. easiest way, add a start /wait

start /wait rundll32.exe iernonce.dll,RunOnceExProcess

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