dukeleto Posted August 18, 2004 Posted August 18, 2004 I have just finished my full DVD for XP SP2 and have noticed that after the install is complete and I log into my username for the first time, it loads to the desktop and does not run the runonceex.cmd file.When I reboot the machine, login to my username again, then the runonceex.cmd file runs perfectly and the cleanup etc all takes place.Why does it not run the first time I log in.. have i done something wrong?
Aaron Posted August 18, 2004 Posted August 18, 2004 The official guide states to run runonceex.cmd from cmdlines.txt, which is why on first logon it would usually run. But in your case it looks like you ran runonceex.cmd on first logon instead of cmdlines.txt.To solve this, add rundll32.exe iernonce.dll,RunOnceExProcess just before EXIT in the cmd file, or launch runonceex.cmd from cmdlines.txt
dukeleto Posted August 18, 2004 Author Posted August 18, 2004 I have the runonceex.cmd command at the very bottom of my winnt.sif file?So where should it go now?
Aaron Posted August 18, 2004 Posted August 18, 2004 http://unattended.msfn.org/xp/runonceex.htm follow Getting Started, and put RunOnceEx.cmd in the same folder, that's all you need to do.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now