We want to install an app through hex node that requires to set a key in HKCU (KH_CURRENT_USER) registry in Windows. The msi package installs the app fine when it was ran by the logged in user. However, once it is installed through hex node, it does not set it correctly. There is no error. The command succeeds. But the current user’s HKCU registry is not modified.
I believe this is because hex node runs as Administrator and thus sets it under the wrong HKCU.
How can we do this through hex node? I am sure that this problem is encountered by other people so that is why I’m asking here. Here is the key that we want to set
reg add “HKCU\software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyEnable /t REG_DWORD /d 1