It seems that the limit is hard-coded to 512. I have a registry value with more than 512 characters.
For example, the following code fragment would fail if the value is longer then the currently supported limit:
const value = vsWinReg.GetStringRegKey('HKEY_LOCAL_MACHINE', 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion', 'ProgramFilesPath');
assert.notStrictEqual(value, '');
It seems that the limit is hard-coded to 512. I have a registry value with more than 512 characters.
For example, the following code fragment would fail if the value is longer then the currently supported limit: