Windows 11 Community

Windows 11 Community is a community of amazing Windows users

We're a place where Windows 11 and 10 users can ask for help and share their knowledge.

Create account Log in
Cover image for How to Change User Name and Account Name in Windows 11?

How to Change User Name and Account Name in Windows 11?

Muhammed Cetin on July 14, 2021

In this tutorial, I'll show you how to change your User Name, also known as the User Folder Name, and Account Name on Windows 11 without being too ...
Collapse
leryan profile image
Ryan Lemand

Informative post and clear instructions, however, the devil is in the details. In your conclusion you say "Since some of your apps might look for their user data in the old User Folder path, you might encounter some errors." and this is the biggest issue. Nothing works anymore, Onedrive, Outlook, etc. So it is not "some app", the most important apps do not work anymore!

Collapse
ronnyb profile image
Ronald Bombey • Edited on

Changing the environment variables of these apps should help.
For example; C:\Users<old_user_folder_name>\OneDrive should now be
C:\Users<new_user_folder_name>\OneDrive . In case you don't know how to change the environment variables, check this article out.

Collapse
ce7in profile image
Muhammed Cetin Author

Thanks, Ronald, this might help to solve the problem.

Collapse
ce7in profile image
Muhammed Cetin Author

All apps you have mentioned are new generation apps, so they should work after changing your user folder name. I have meant some old-school apps and programs there.

Have you changed anything else except renaming your user folder?

However, I will move the info to the top of the tutorial.

Collapse
leryan profile image
Ryan Lemand

I have Windows 11 and all my apps are up to date. Changing the name as per your instructions was a breeze however Outlook and OneDrive stopped working and were giving an error message that they cannot locate the folder anymore. I didn’t want to complicate things so I reverted back to the original name using your method as well, and they worked only then.

Thread Thread
ce7in profile image
Muhammed Cetin Author

For OneDrive, all you need to do is sign out and re-sign to it. When you do that, OneDrive is synchronized with your system changes.

I'll also find a solution for Outlook.

Thread Thread
jasper profile image
Jasper • Edited on

I also encountered the problem for Outlook, did you find a solution for that?
Edit: run as administrator bypasses the problem, so I now automatically run as admin (would still prefer it to work normally though).

Collapse
alfa_06eca5f9241843 profile image
John Doe • Edited on

Merhaba Muhammet,
Her adımı doğru şekilde uyguladım fakat C:\Users\Cristiano\OneDrive\Masaüstü kullanılamıyor sorunu ile karşılaştım. Bir an önce cevap yazarsan değişiklik düzeltebilirim. Şimdiden teşekkür ederim.😇

Collapse
ce7in profile image
Muhammed Cetin Author

OneDrive'ın bu sorununu çözmek için tüm yapman gereken System Tray'deki (saatin solundaki uygulama ikonlarının bulunduğu alan) OneDrive ikonuna tıklayarak Sign-out yapıp tekrar Sign-in ile giriş yapmak. Bunu yaptığında OneDrive sistemdeki kullanıcı klasör ismi değişikliğini senkronize edecek.

Collapse
alfa_06eca5f9241843 profile image
John Doe • Edited on

Çok teşekkürler 👍

Collapse
curomac profile image
Charles Howarth

Great tutorial. Worked like a charm. Couple comments from my Experience:
After you rename the User folder (name) and before signing in as Admin, I recommend a reboot. Something still thinks Windows is accessing the old name and errors.

Apps I had to repoint to profile: Blizzard Games, One Drive(uninstall reinstall worked perfect) and Google Drive needed to be repointed. Other than it went well.

Thank you.

Collapse
ce7in profile image
Muhammed Cetin Author

Your suggestions are so valuable for other Windows users who will have similar problems on Blizzard Games, One Drive, or Google Drive when renaming their Windows 11 accounts or users.

Thank you, too.

Collapse
yhk profile image
Kim Yeon Hwi

Dear Sir, Muhammed Cetin,

Could you help me, Sir?

After I installed all the programs (MS Office 365, our company email on outlook, WhatsApp, WeChat, Kakao talk, Line, MS Teams, our office printer driver, etc) on the new laptop, I’ve moved my old laptop’s all the data under Documents of User Folder name.

When I moved all the data, I couldn’t recognize the User Folder name. But, after all data moved, I found the User Folder name is not good. So, I tried to change it but it was not possible by myself. I googled and found your explanation here. But, unfortunately, I wrongly understood the process and I took the following steps only.
• 17~24 of “Changing User (Folder) Name”.

At the step 24, when I tried to reboot laptop, log in was not possible. After Cntr + Alt + Del, I could enter into desktop scene but it looks like safe mode.
• 4 icons (Only Recycle Bin, Chrome, MS Edge, MS Teams) are shown on desktop.
• On task bar, there is no programs which placed today. Hidden icons at right side are Kaspersky, TeamViewer, Bluetooth, one drive(inactive), window security(with exclamation mark)
• More seriously, there is no Start Menu. I cannot try to do anything basically.

After that, I relooked your explanation and found that I did not take steps of the followings. It was totally my mistake and my carelessness.

Changing Account Name and User Name share the first three steps:
• 1~3

Changing User (Folder) Name
• 1~16
• 25~27 <= actually, these was not possible because I couldn’t log in.

Is there any way that I can recover all the set up, Sir?
I had spent about 10hours to do all the set ups, (if I add data transfer time, another 10hours is counted). I cannot repeat such time consumption again due to busy works from Monday.

Could you give your professional and kind advices, Sir?

Collapse
xxdeveloper profile image
Murathan Kocak

If you want to save your data, you need to a usb. You might see a blue screen select; Troubleshoot > Advanced Troubleshooting > Command Prompt

Then type notepad (Opens notepad)
Type File > Open or CTRL + O to open file dialog
Plug in the USB
Then go to C:/Users/(usr_name)/ directory
Here you go copy the files you want to save, copy them and paste to your USB. Glad if help

Collapse
gurjas profile image
Gurjas Singh Sehmbey

Hey, I am Gurjas..
I read your problem and wanted to confirm somethings..

  • Do you have a back up of your data?
  • Do you have a licensed operating system? If you answer these, then I can help your proceed forward :-)

-Gurjas Singh Sehmbey

Collapse
xxdeveloper profile image
Murathan Kocak

Yea, same on me. I forgot to change in File Explorer then it crashed. It’s sad to say but only way to use your computer is reboot, if you want to save your data this is possible (no return). : C

Collapse
neeraj profile image
Neeraj Pahadiya • Edited on

Hey Muhammed, I have been trying to change my pc user name and I'm actually stuck at the sixth step of "Changing User (Folder) Name". I'm not getting the same "Local users and Group(local)" window that you are getting above. I am attaching my window's screenshot with this message for your reference. Require urgent help on this because I am stuck at this for some time. Thanks in advance!
This is the screenshot :- s3.us-west-1.amazonaws.com/answr.t...

Collapse
ce7in profile image
Muhammed Cetin Author • Edited on

Hey Neeraj,

I think you use Windows 11 Home. If I'm right you cannot use Local Users and Groups because it is not included in your Windows version.

Alternatively, you can follow the steps below to enable the Built-in Administrator account:

  1. Open the Command Line as an Administrator (Start Menu > CMD > Right Click > Run as administrator).
  2. Enter this command: net user administrator /active:yes
  3. If you see a message like that "The command completed successfully.", it means your Built-in Admin account is enabled.
  4. You can continue on the 10th step.
Collapse
soundara profile image
Soundara

Hello Muhammed
I am a long time Windows 7 user. Just got my new laptop with Windows 10 and upgraded to Windows 11. Still learning to use Windows 11.

  1. I log into my Windows 11 with Microsoft Account. I like to change my Account Name to "Soundara". Must it be a unique name? As it is an online account, what if someone else is using the same name; will it cause problems?
  2. My User Folder name is "C:\Users\sound". Is it restricted to 5 chars only? I wish I can change it to "C:\Users\Soundara".

I want to make the changes according to your instructions above. But need some confirmation from you before I go in!
Thank you.

Collapse
loknadh_reddy profile image
Loknadh Reddy

Hey cetin.....everything worked till step 15.in step 16 when I tried to rename user it's showing an error telling that some programs in this folder are being used . So try again....no matter how many times it's showing error....please help me out....

Collapse
sander profile image
Sander

Hi Muhammed,

I've used your tutorial yesterday on the Windows 11 Home version, because my local user folder was "sande" which I changed to "Sander". Did a reboot and it worked.

Not sure if this is relevant but I then had a prompt from Lenovo Vantage for a BIOS update so did that as well, still worked after a reboot.

Today I could not sign in to my account. Restarting in every way I could think of did not work. I could also not boot Windows 11 in Safe Mode. Performing Automatic Startup Repair gave me an error message saying "Startup Repair couldn't repair your PC". And when I eventually went for "Uninstall latest quality update" I would get past the "Preparing Windows" part after logging in, followed by a message can't sign into your account and ended up on a temporary user profile with a task bar where the start and search are missing.

I have now performed a system restore to yesterday which I luckily had and it seems to work (although Windows did magically throw all kind of bloatware on like a Tiktok, Disney+ and Amazon Prime in my start menu. Never used any of those.)

Now I have both "sande" and "Sander" as user folders. How do I safely remove the incorrect one?

Sorry for the long post, help would be very appreciated.

Cheers,

Sander

Collapse
surfacetension profile image
Barnaby

Hi Muhammed, thank you for this tutorial! It was really helpful and well-written. I too was using Windows 11 Home, so I used your comment to replace step 6 of "Changing User (Folder) Name". Also, for step 13, "query" wasn't recognized as a command by my terminal, so I restarted the computer to force the logoff instead.

Collapse
dehop13408 profile image
dehop

Hi

After doing this I noticed that the search bar ("select here to search") does not show apps anymore. (i.e. type eventviewer and nothing shows up under apps while it is installed)

How to fix this issue?

Collapse
spari profile image
Daniel • Edited on

Hi everyone
For me, everything worked fine until step 15. When I wanted to change the folder name, the "folder in use" error appeared although I was logged off . How can I resolve this?

Collapse
ce7in profile image
Muhammed Cetin Author

Have you tried to restart your PC, then applied all steps?

Collapse
spari profile image
Daniel

Hi Muhammed
Yes, I restarted it several times, so did I for all the steps but I always had to stop there and encountered this error.
Cheers

Collapse
sobanbhat profile image
Soban Bhat • Edited on

Command query session is not executable in my pc. Would you please help sir @ce7in

Collapse
bdjohnsjr profile image
Brian Johns

I had same problem, but I found out that signing out from the start menu works just as well.

Collapse
yhk profile image
Kim Yeon Hwi

Sorry, Sir! I am not sure if the photo was uploaded or not. So, I am uploading again.

Collapse
ramadavana profile image
Rama Davana

Hello Muhammad, your tutorial are great. But I have question, can I use space for my username? like "Rama Davana" as my Users Folder name?

Collapse
xxdeveloper profile image
Murathan Kocak

Hi Muhammed,

“Users must enter a user name and password to use this computer” option is appearing…

Collapse
iamchriswick profile image
Christian Wick

How does one disable the built in Administrator account again after this is done?

Collapse
riveshsalmani profile image
Rivesh Salmani

Hey Cetin,
I didn't found "Users" and "Groups" option in "Local Users and Groups (Local)" of Step-6.
Please guide me.!