Override config location via Registry

Override config location via Registry

avatar

Hi All

I'm trying to override my configuration path using the registry, as explained on 'http://help.remotedesktopmanager.com/index.html?installation_configurationfilelocation.htm'

"2. By adding a key in the registry: CurrentUser\SOFTWARE\RemoteDesktopManager, OptionPath. Set the desired path in the key OptionPath. You must not include the file name in the value, just the path."

I'm struggling to work out exactly where to put the new location, should 'OptionPath' be a String value inside the Key RemoteDesktopManager?

All Comments (7)

avatar

Hi,
Do you run RDM 32bit or 64 bit? It's not the same registry. You can also try the override.cfg file in the installation folder.

Regards

David Hervieux

avatar

Hi David

It would be the 32-bit exe (RemoteDesktopManager.exe) but on a 64bit machine, so which location would it be?

I've been using the override.cfg method for a while, but looking at something that could be a bit more user specific without having to have multiple copies of the binaries floating around.

avatar

Hello,

For a 32 bit edition of RDM, the key is

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\RemoteDesktopManager

Best regards,

Maurice

avatar

and the override.cfg file can contain environment variables, the registry would be a candidate only for truly user specific values

Maurice

avatar

Under CurrentUser there is no differentiating 64bit or 32bit.. only under local machine. And it would be a string value..

reg.exe add hkcu\software\remotedesktopmanager /v optionpath /d <path>

David F.

avatar

The key that we read is in localMachine.

Maurice

avatar

Cheers all, I completely forgot/didn't think about using environmental variables in the override.cfg file. That should do what I need.

Could the configuration folder be an optional parameter that can be passed to the executable?


If the key that is read is HKLM, rather than HKCU then the page on your support/wiki needs updating