Rename Window 10 user profile folder
So, I used transfer wizard to move a profile from one computer to the other, and for some reason, it didn’t rename the user profile folder (moved it from one user account to another at the same time). Well, applications like Outlook are not happy when they can’t open the .ost files because the profile path has changed.
- Reboot the computer to make sure no software is accessing the c:\users\profile to be renamed folder
- Log in with an administrator account
- Determine the SID for the correct user account. This is required if the copied profile data has the same name as a previous user on the computer. So, if you just browse the proflist, you’ll see two users with the same profile path
- wmic useraccount get name,SID
- Note the last few digits of the users SID
- In regedit, go to the proflist
- Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
- and to the SID that matches the correct user. Double-click on the ProfileImagePath and update it to the correct folder name
- Lastly, edit the c:\users\folder name to match.
That’s it, you should be all set.