Skip to main content
Solved

DeviceHub requires logged on user - use as service


Forum|alt.badge.img

It appears that DeviceHub must be running in an interactive session.  If you log off the session then DeviceHub closes. 

 

Is there a way to make this run as a service so it’s always running regardless of logged in user?

Best answer by darylbowman

Use Task Scheduler to start it with ‘Run with highest privileges’ and ‘Run whether user is logged on or not’.

Make sure to use the user account where DeviceHub was set up (because it needs to access the settings from that profile).

View original
Did this topic help you find an answer to your question?

2 replies

darylbowman
Captain II
Forum|alt.badge.img+13
  • 1608 replies
  • Answer
  • March 31, 2023

Use Task Scheduler to start it with ‘Run with highest privileges’ and ‘Run whether user is logged on or not’.

Make sure to use the user account where DeviceHub was set up (because it needs to access the settings from that profile).


Forum|alt.badge.img
darylbowman wrote:

Use Task Scheduler to start it with ‘Run with highest privileges’ and ‘Run whether user is logged on or not’.

Make sure to use the user account where DeviceHub was set up (because it needs to access the settings from that profile).

 

Thanks, worked well.

For others, the configuration file is located in `%APPDATA%\Local\Acumatica\DeviceHub.exe_Url_<hash>\<version number>` and named user.config.   

 

We copied this file to another profile we use for scheduled tasks and it worked fine without re-setting everything up.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings