Zhorn Software
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
daverunda
Guest

Caffeine as a Windows Service Empty Caffeine as a Windows Service

Thu Feb 28, 2019 10:21 pm
Is it possible for Caffeine to run as a service so that:  1.) it starts up automatically when the computer is booted up, and 2.) it runs even when no user is logged on to windows?  
Thanks
avatar
juliowong
Guest

Caffeine as a Windows Service Empty Re: Caffeine as a Windows Service

Wed Apr 13, 2022 9:39 pm
To create a Windows Service from an executable, you can use
sc.exe

Code:
sc.exe create <new_service_name> binPath= "<path_to_the_service_executable>"

Taken from stackoverflow
Admin
Admin
Admin
Posts : 526
Join date : 2018-03-30
Location : London
http://www.zhornsoftware.co.uk

Caffeine as a Windows Service Empty Re: Caffeine as a Windows Service

Thu May 05, 2022 6:29 pm
I don't think that will, or can work.  Caffeine keeps alive a desktop session, whereas a system service doesn't have a desktop session.  As part of the system it doesn't interact with the desktop at all - of any user.

Tom
Sponsored content

Caffeine as a Windows Service Empty Re: Caffeine as a Windows Service

Back to top
Permissions in this forum:
You can reply to topics in this forum