Is there any way to autorun an exe when windows boots up, but before user logs in? One of the options is register a windows service, however sometimes this is not possible. I'm looking for sth like a registry key (HKCU\Software\Windows\CurrentVersion\Run).
feedback
|
migrated from stackoverflow.com Feb 6 '10 at 3:57
This question came from our site for professional and enthusiast programmers.
|
You can actually turn pretty much any program to a Windows Service. See NSSM - the Non-Sucking Service Manager. | |||
feedback
|
|
Scheduled Tasks allows you to create a task that runs when the computer starts. You can either follow the instructions in the Microsoft KB to create a scheduled task through the GUI, or you can run a command similar to this:
| |||
|
feedback
|
|
Just make a batch file to run the program and insert it into the standard startup scripts:
| |||
|
feedback
|