I have to start some program when the computer boots, for all users, and possibly before the user login.
So how and where does I have to put them?
22 Answers
I see 3 ways
- Task Scheduler has support to run it both in startup and in login
- If the path I commented on OP exists you can drop an executable there
- Registry. Don't do this if you don't know what you're doing, but they're in HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>Windows>CurrentVersion>Run
For a beginner I'd recommend doing task scheduler since it's pretty and almost kinda debuggable.
In Windows 10 shell:common startup command in windows "run" can be used to open up startup folder and we can place script/batch files to be run during startup for all users.
Please check this link for more details starup and common startup details