1

I got a brand new laptop, which was installed Win 11 Pro and has been configurated a little by my friend (with my permission). When I received the laptop, I found the name of user's folder in C:\Users is my friend's name. So, I want to rename it to my name.

I have deleted the old account (with my friend's name) and set my own account as an Administrator with my own name. Then, I restart my computer. But I found the name of the user's folder in C:\Users is still my friend's name. I found similar questions in this post and this post on the site, but that is for Win 10, the step 1 and step 5 in the respective post is not suitable for Win 11. I search on the web and found a few different methods (but not very reliable) to rename the user's folder. I need to change the name of the user's folder to my own. So, I post such a question here to ask for help. Thank you very much!

jsxs
  • 119
  • 2
  • 2
    Please provide a concrete example. How is it incorrect? Are you perhaps confusing account name and display name? – Daniel B Dec 08 '22 at 12:06
  • @Daniel B, It was his name, not my own – jsxs Dec 08 '22 at 12:13
  • 2
    The account that you deleted, and the new admin account, did they have the same name? If not the same, then it's impossible that the new account got the old name. What is possible is that the account delete was not complete and left the old folder. Check if the new folder exists, and if it does then you can't rename the old folder to be the same as an existing folder. – harrymc Dec 08 '22 at 12:15
  • 1. The account that I deleted has his name, and the new admin account that I created has my name. So, they have different names. – jsxs Dec 08 '22 at 12:19
  • 2. The new folder exists and has a temp name, I tried to rename the old folder to a name that I desired, which is of course not the same as the new folder's name, i.e. the temp name – jsxs Dec 08 '22 at 12:23
  • It's unclear : Why do you want to rename the old folder? Why not concentrate of the new one (which I suppose is the one found in the registry)? If you can, better share the true names of the old and new accounts in your post, to clarify it. Tell us exactly what you did. (Add to your comment `@harrymc` for me to be notified.) – harrymc Dec 08 '22 at 12:28
  • Please [edit] your question to add requested information or clarification, don't use comments for this purpose. I suggest to write the old and new name of the user and the folder in your question and describe what you did step by step. – Bodo Dec 08 '22 at 12:40
  • Include also the registry updates that you did. There must have been some mistakes, since this procedure should also work in Windows 11. – harrymc Dec 08 '22 at 13:13
  • @harrymc, please see my updated post, and I did not make any registry updates. Thank you! – jsxs Dec 08 '22 at 13:42
  • @Bodo, please see my updated post, thank you! – jsxs Dec 08 '22 at 13:43
  • Without exact details we cannot advance in helping you. Screenshots will be best. – harrymc Dec 08 '22 at 13:49
  • To me it is still not clear. I suggest to write the actual visible name, the value of the environment variable `USERNAME` and the folder name before and after your changes with a step-by-step description. Example: Logged in in as user "Foo Bar", `USERNAME=foo`, folder was `C:\\Users\\foo`. Created new user "Baz Bletch" with `USERNAME=baz` and home folder `C:\\Users\\baz` etc. Or something like ... Renamed existing user "Foo Bar" to "Baz Bletch" ... – Bodo Dec 08 '22 at 14:15
  • 1
    The process is identical to that on Windows 10, you disconnect the account from the Microsoft Account and provide a new name for the profile, signout of the profile, and sign back into the profile and assign it to the desire Microsoft Account. – Ramhound Dec 08 '22 at 21:19
  • Best option: login a new user. That doesn't work? Reset the computer. That's pretty easy these days too. – music2myear Dec 12 '22 at 05:03

0 Answers0