Skip to main content
Solved

DeviceHub requires logged on user - use as service

  • 30 March 2023
  • 2 replies
  • 176 views

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?

2 replies

Badge +12

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).

Userlevel 4
Badge

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