Hi Dave,
I know it's an old post but I was wondering if you finally found a way to script (c++ or similar) the User ID somehow...
I'm facing a similar problem but cannot find anything about setting User ID via code.
Thanks in advance!
P.S. You've mentioned where in the registry the User ID can be found, but I couldn't find it there (Windows 10 64bit).