Jump to content

RunOnceEx not executed on first boot, but second?


Recommended Posts

A strange problem... I stripped my Windows XP SP2 using nLite. In the WINNT.SIF file I have

[GuiRunOnce]
%systemdrive%\Install\RunOnceEx.cmd

The "RunOnceEx.cmd" script is in the Install folder and is copied to the harddisk during setup.

But something goes wrong... During the first boot of the OS I get to the desktop, without the stuff inside RunOnceEx.cmd executed. When I look at the registry, the necessary keys are there. It looks like if the keys were added after the OS reads the RunOnceEx registry keys because when I reboot the computer the RunOnceEx registry keys get executed. But of course I'd like to see this happen upon the first boot.

Anyone knows what's going wrong?

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