We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

dovk
Posts: 1
Joined: Sat Nov 21, 2020 7:26 pm

Running app as Windows service

At the end of the install of an Electron app, I also added an entry in the Windows Job Scheduler, and this ran the app. I have been asked to change this to run as a Windows Service and it appears as user SYSTEM and not the local logged-on user - I can not get information such as user idle time anymore. It would not be relevant to define the service on each machine with the local user credentials - has anyone come across this kind of problem? I would greatly appreciate any help. Thank you.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Running app as Windows service

Hello and welcome to our forums,

I've done some research on this matter (as I was not aware of this) and it looks like this is the normal behavior (based on this StackOverflow thread).

Unfortunately, I am not aware of any method in which this can be achieved (i.e. getting such information from within an application that runs under the SYSTEM account). However, from what I could see, there are some provided solutions in the above linked thread.

Hope this helps somehow!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”