I would like to run a software before the windows logon screen, this software installs a small tray icon near the system’s clock on the taskbar.
The service was created using sc.exe, and was able to check if it’s active and set to run automatically whenever the system starts.
The service is there, but when I reboot the computer, it doesn’t seem to be active for some reason.
I’ve tried to run the service manually but it seems to be timing out, and it won’t run. If I login and run it manually, no problems: the tray icon shows up.
Could this be because of the fact that at the logon moment, there’s no tray bar?
The command I’ve used to create the service is this:
sc.exe create “KVMDevice” start= “auto” binPath= “c:….”
Many thanks,
Vlad
Before the “logon moment”, there is NO Desktop associated with the interactive user (who has not logged yet), thus not tray bar.
When creating a service that should show some message to the user, be sure that you configure your service as “being capable to interact with the desktop“