Here's some other ways to autostart programs at startup
Startup folders
You have two folders that will autorun executable in Windows. This one will start a program only for a specific user:
C:\Users\YOUR SESSION\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
And this one for all users:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
Or you can press Windows Key + R and enter
shell:startup
for the current user, or:
shell:common startup
for all users
Task Scheduler
You can plan a task to run a program at startup (or periodically!) on your computer. You have plenty tutorials on the internet if you want it's pretty easy to setup.
Windows Service
Last option is to create a Windows Service in C#. I don't really know for this option as I try it once a while back and in the end I ended doing something else.
You can look it up too on Google