After renaming a local account, you might notice that when you open File Explorer and navigate to C:\Users\ , the folder corresponding to your account still displays your old username.
For example, to change the name from JohnDoe to JohnSmith , you would type: how to change the name of my local account in windows 11 hot