Runonce does not work as expected

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We have a web shop getting installed and then after re-start we want to
launched the web shop. We are making a registry entry in HKCU >>> Runonce
registry. But when the web shop is launched, a Page Not Found Error comes up.
On manual re-try it works.

Any ideas why it doers not do it the first time?
Thanks
 
I use the runonce key to launch a program for some scripts that I
created. The thing I have noticed with Runonce is that it is the first
thing to get processed when the user logs in. You may be executing your
IE instance before the TCP/IP stack has finished loading.

You could use a batch file or script to launch your page and tell it to
sleep before it launches the IE object, see it that works, if it does
then you have fixed it.

Also you can use the
HLKM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce which will only
run your page once, the key you are using will run every time a new
person logs in, maybe that is what you are trying to do.

Here are some links about the different runonce/run/setup and how they act.

http://www.dewassoc.com/support/useful/registry/reg_run_keys.htm

http://luna.scriptlogic.com/support/kb/displayarticle.asp?UID=66&Str=

Regards.
 
Back
Top