KeepAliveHD icon indicating copy to clipboard operation
KeepAliveHD copied to clipboard

Feature request: install as a servce

Open c-dump opened this issue 6 years ago • 6 comments

It would be nice if the application could have an option to install itself as a system service, so that the user can remove the icon from systray, having the process always running in background.

c-dump avatar Dec 06 '19 21:12 c-dump

Hi @c-dump Sorry for not answering soon.

I don't plan to add support for running as windows service as that would take more time then I currently have. Maybe I could consider it in the future.

stsrki avatar Dec 09 '19 09:12 stsrki

@c-dump use NSSM for run as a system service.

GitHubbie0836 avatar Aug 29 '22 07:08 GitHubbie0836

Installing as a service with nssm doesn't seem to work. It looks like the auto-start option in KeepAliveHD settings only works if it's been started by task scheduler (not a service). I'm also looking for a hdd keep alive that I can run as a service (as my machine often reboots and starts services intentionally, but doesn't actually login to a user account).

ahaverty avatar Mar 09 '23 14:03 ahaverty

Installing as a service with nssm doesn't seem to work.

Works fine for me (Winsvr 2022).

GitHubbie0836 avatar May 18 '23 12:05 GitHubbie0836

Works fine for me (Winsvr 2022).

nssm runs KeepAliveHD as a service for you, without requiring manual login first? e.g you reboot, and don't manually login, but KeepAliveHD still runs correctly?

ahaverty avatar May 18 '23 13:05 ahaverty

nssm runs KeepAliveHD as a service for you, without requiring manual login first? e.g you reboot, and don't manually login, but KeepAliveHD still runs correctly?

Yes. When installing the service, in the "Log on" tab, select "Virtual service account". Stop the service after installation. Run the program then in the usual way. Make all settings. Close it and transfer all settings to the appropriate folder located in "C:\Windows\ServiceProfiles". Then start the service.

GitHubbie0836 avatar May 19 '23 12:05 GitHubbie0836