2
The two images you have included show both the same - the profile folder.
As Microsoft says :
When you rename a user account [...], the user profile path is not changed automatically. It may cause some confusion when the
%SystemDrive%\users
folder is viewed
The article recommends this procedure :
C:\Users\<user-name>
folderregedit
to go to the keyHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
.ProfileImagePath
item.ProfileImagePath
to the new path nameI suggest creating at least a system restore point as backup before starting.
A more detailed wiki of the procedure can be found here (although written for Windows 7 and has more steps).
I don't know of other places where the old user-name may still be left. You will have to deal with them when encountered.
0
You have to:
C:\Users\MyDesktop
to C:\Users\Digital Machine
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\
ProfileImagePath
keyC:\Users\Digital Machine
On your next login, your user account should use the updated user path.
I got there first by 6 whole minutes .... – harrymc – 2017-05-05T09:36:30.110
@harrymc you beat me. Nice, I guess – m3rt – 2017-05-05T09:41:27.000