Always make backups where applicable.
Always verify instructions fit your need.
Requires the ability to sign into another account with admin privileges on the workstation.Â
Make sure the user profile is signed out of.
Log into an Administrator account.
Find the user folder, right-click it, click rename, and change the name for the user folder.
Get the user account SID
Open PowerShell / CMD
wmic useraccount get name,SID | findstr /i <username>
Note the SID
Change C:/users/<username> in Registry Editor.
Open regedit
Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<User SID>\.