Run application after system reboot

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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.
 
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...
 
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!
 
Back
Top