Hi,
You can use Process Monitor to track the changes of the registry value "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\HOST_ARMACAD" where your system variable HOST_ARMACAD is stored. Open Filter (Ctrl-L) in Process Monitoir, add entries "Path > is > HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\HOST_ARMACAD" and "Operation > is > RegSetValue", then apply.
You can get Process Monitor from here.
https://learn.microsoft.com/en-us/sysinternals/downloads/procmon
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.