Jump to content

GuiRunOnce vs RunOnceEx


Recommended Posts

Hello,

I've got a RIS distrubition setup wich use 2 template (sif file) I'm using in this distrubtion a runonceex.cmd wich add command to run for both template. GuiRunOnce runs specific command for each template. SO can't be run from RunOnceEx

But i'd like to know wich one runs first? GuiRunOnce or RunOnceEx

Thank you!

Link to comment
Share on other sites


If you launch RunOnceEx.cmd from cmdlines.txt it will run BEFORE the stuff at GuiRunOnce under Winnt.sif. However, we tend to think that both of them are running at the same time.

Keep in mind that the RunOnceEx process need a reboot before starting... if you don't want to wait for the next reboot, just add this line at the bottom of your RunOnceEx.cmd so it will start immediatly:

rundll32.exe iernonce.dll,RunOnceExProcess

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