Hi all,
I’m developing a small UDP Server to monitor my computers.
I wanna put this into autostart of win10 but my app won’t start on windows start.
(I’ve got a default user which is auto logged on when the machine is starting)
My app is not signed.
Is it maybe because of the popup window from windows who asks me if I wanna enable this software everytime?
How can I manage this to work?
i just put shell:startup in explorer
it opens C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
link my exe into this folder
reboot and after login a few seconds this app start at win 10 without popup.
Hi Eric, thx for your quick response.
I’m on Port 44001 so that should be fine.
Yes I can start the program manually, it also works via the windows task scheduler.
I didn’t build in a debug routine where I can see if it stars and then stops yet.
But yes the user is Admin.
I can’t build a service I think because its window application.
Hey guys, thanks for your help.
After some troubleshooting I managed it to work.
My mistake was that I configured my *.exe file as “run always as administrator”, that leaded that the autostart would not work.
But just for your information, if you put this into the windows task scheduler than it will also work.
Now I removed the “run always as admin” and now it’s working on shell:startup as I wanted it to be.
So thank you very much for your help!
A desktop application cannot be a service. But a console application can. If you don’t need the user interface then a console application is a good choice.