System Startup Event Detection

I would like to perform a procedure that should only start when Windows starts, and starting here does not mean starting the program. Is there anything I can do to call my procedure. If possible, I would like to avoid mess with the registry. I am using delphi 2010.

+3
source share
1 answer

There are many options, but all of them will include settings that require administrator rights. These options include:

  • Put your program in a service that will start automatically. This will start when the system starts up and before any user logs in.
  • HKLM\Software\Microsoft\Windows\CurrentVersion\Run. .
  • , . At startup.
+7

All Articles