You cannot rename a User Profile folder in Windows 11/10 if one or more of the following conditions are true: You are not signed in as an administrator. You are signed in to the same user account, ...
This solves a common issue for people whose folder names are cut off because of their Microsoft account email or profile name ...