Runonce does not work as expected

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
 
A

Anthony

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top