Windows - How to relocate user profiles?

Environment
  • Microsoft Windows


Content
Relocating default profiles directory that is for new user account.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList] - "ProfilesDirectory" = D:\Users

To relocate current user profile directory that needs to edit "ProfileImagePath" per user, for example
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-1861140286-939526006-2222552481-500] - "ProfileImagePath" = D:\Users\{username}