VHUI as a service, startup parameters

<p>TL;DR - Service starts, but auto-find always off, would like it to be on at service start-up.
<p>Server on a RaspberryPi, client on Win7x64 installed as a service (v2.9.7). Client PC needs a reboot every night due to flaky 3rd party software. When the VHUI service starts I'd like auto-find to be on by default. Currently auto-use is on, but auto-find is off. Works fine if I issue the VHUI -t autofind from the command line, but this is lost after the reboot. The vhui.ini file contains the line AutoFind=1, but is located in C:\Users\<username>\appdata\roaming\vhui.ini - I wonder if the service knows where to find this file when it's starting?
<p>Any ideas welcome.
<p>Thanks,<br />


Hi Matthew,

Actually when running as a service virtualhere sends its messages to the event log, and that will show where the settings file is, for example in event log Application Log, there is an informational message saying

Using config at C:\Windows\system32\config\systemprofile\AppData\Roaming\vhui.ini

This is also probably where your settings file is if you installed the client service the normal way via the -i command

stop the service, then edit that file and add AutoFind=1 then restart the service.


<p>Many thanks, the app. event log did indeed point to ...\systemprofile\AppData\Roaming\...
<p>The ini file did have AutoFind=1 and AutoUse=1. I will see what happens next time the PC reboots &amp; I have users on there now.
<p>Many thanks,<br />