Add server address to SolidNetWork License Management via terminal

Hi all
We will soon be migrating our license server to a new server. In order to minimize frustrations, we want to add the second server to all SolidNetWork clients. This way, when we do the migration, all customers will be able to automatically switch without having to enter the new address, which requires additional privileges.

As we have 600 client workstations, I would like to be able to administer this on the command line, in order to push the addition of the name of the future server.

I found the registry key that handles the PORT@NOM_SERVEUR names:
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\FLEXlm License Manager]
" SW_D_LICENSE_FILE "=" 25734@srv-lic1 "

I added a server via the UI to see how it changes this, after I changed the registry keys as follows:

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\FLEXlm License Manager]
" SW_D_LICENSE_FILE "=" 25734@srv-lic3; 25734@srv-lic1 "

So logically, SolidNetWork will be able to call our future server srv-lic3.

But when I change this registry key on a client, SolidNetWork won't read the registry keys, but overwrites that value with the one it had in memory, I end up with only the old one again

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\FLEXlm License Manager]
" SW_D_LICENSE_FILE "=" 25734@srv-lic1 "

Has anyone ever encountered this behavior?
Is there another way to add a name on the client side without going through the UI?

Thank you in advance
Dan

Hello

So there was a time (5 years now) we changed servers and we had therefore anticipated.
We went through a reg add command line formatted as follows:
reg add " HKLM\Software\FLEXlm License Manager " /v " SW_D_LICENSE_FILE " /t REG_SZ /d " 25734@xxx;25734@yyy " /f
reg add " HKLM\Software\FLEXlm License Manager " /v " SW_D_LICENSE_FILE " /t REG_SZ /d " 25734@xxx;25734@yyy " /f /reg:32

3 Likes

The information is stored in 2 registry keys, not just one.
Well seen @Cyril_f, I hadn't paid attention to the fact that our two keys are almost identical.

I changed the keys as follows and it works perfectly:

reg add " HKLM\SOFTWARE\WOW6432Node\FLEXlm License Manager " /v " SW_D_LICENSE_FILE " /t REG_SZ /d " 25734@srv-lic3; 25734@srv-lic1 » /f
reg add " HKLM\SOFTWARE\FLEXlm License Manager " /v " SW_D_LICENSE_FILE " /t REG_SZ /d " 25734@srv-lic3; 25734@srv-lic1 » /f

Hello @Dan_Steinmann

Your modifications to the answer provided by @Cyril_f only consisted of changing the location of the FLEX and the name of the keys, specific to each one, a minimum of decency would dictate that the best answer should go to @Cyril_f .

Thank you

Hello @Sylk
You're absolutely right, I misread his message and I thought he had indicated the same order 2 times. I didn't pay attention to the /reg:32 which is equivalent to the WOW6432Node.
Have a good day and thank you again thank you for the help :slight_smile: