In Linux when I want to share user data and credentials, I only need to ensure that the same user shares the same POSIX UID and GID (typically starting from 1000) across two Linux installations on the same machine.
Now I would like to do this in Windows 10. Because Windows enforces a new user creation in its OOBE procedure and that Windows uses a very long UID format (e.g. S-1-5-21-1234567890-1234567890-1234567890-1001
, it is non-trivial to simply "duplicate" the UID from the old Windows installation, as there are much more to change along, for example the NTFS ACL on %UserProfile%
, as well as HKCU in registry.
How should I achieve this?