Run application after system reboot

G

Guest

Hello,

Does anybody know how to run an application once after the system
reboot. I found that RunOnce is supposed to do this. However, I found
that it also runs the application if the user logout and login again.
So, is there anyway to run the application once only after reboot, but
not re-login?

Thanks in advance!
Luk
 
P

Pegasus \(MVP\)

Luk Truyen said:
Hello,

Does anybody know how to run an application once after the system
reboot. I found that RunOnce is supposed to do this. However, I found
that it also runs the application if the user logout and login again.
So, is there anyway to run the application once only after reboot, but
not re-login?

Thanks in advance!
Luk

You can use the Task Scheduler to run a task at boot time.
 
G

Guest

Thanks,
But I like to do it via the registry. Is this possible? The taskschedular
can perform a task after reboot so I think it has to be somewhere in the
registry too? Maybe it is possible to check on the time how long the computer
is started (something you can see when you go to SystemInfo) but than I also
need the registry key where this is stored...
 
P

Pegasus \(MVP\)

No, the Task Scheduler does not use registry entries -
it uses individual files in the %SystemRoot%\Task
folder. What's wrong with using the Task Scheduler?
Why re-invent the wheel?

And by the way: If you wish to increase the size of your
audience, use cross-posting. Never use multi-posting -
it wastes everybody's time!
 

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