How to change your user account name
The user account name on a Windows device shows the name of the signed-in Microsoft account or work/school account.
To change which user is signed in, select the Start button on the taskbar. Then select the account name icon or picture to see a list of users you can switch to. Select another user to switch.
To edit the account name shown, select the account type:
Need more help?
Want more options?
Explore subscription benefits, browse training courses, learn how to secure your device, and more.
Если текущее имя пользователя Windows, отображаемое при входе или в меню Пуск вам не по душе, его сравнительно легко можно изменить как для локальной учетной записи, так и для локальной учетной записи Майкрософт. Если вы также хотите поменять имя папки пользователя — здесь сложнее, но и эту тему мы также затронем.
В этой пошаговой инструкции подробно о том, как переименовать пользователя Windows 11 или Windows 10 с локальной учетной записью или учетной записью Майкрософт, а также кратко об изменении имени папки пользователя.
Как переименовать локального пользователя
Если требуется переименование локальной учетной записи пользователя, сделать это можно одним из следующих способов.
Управление учетными записями пользователей
Первый вариант — использование утилиты управления учетными записями пользователей, порядок действий будет следующим:
- Нажмите правой кнопкой мыши по кнопке «Пуск», выберите пункт «Выполнить» (или нажмите клавиши Win+R на клавиатуре), введите
netplwiz
или
control userpasswords2
и нажмите Enter.
- В открывшемся окне выберите нужного пользователя и нажмите кнопку «Свойства».
- Задайте новое имя пользователя и нажмите «Ок», затем — «Ок» в окне управления учетными записями.
- Выйдите из системы и снова зайдите — имя вашего пользователя будет изменено.
Учитывайте, что несмотря на то, что имя пользователя изменится, название его папки останется прежним.
Локальные пользователи и группы
Второй способ подойдет только для Pro (Профессиональная) и Enterprise (Корпоративная) версий Windows 11/10. Необходимые шаги:
- Нажмите клавиши Win+R на клавиатуре, введите
lusrmgr.msc
и нажмите Enter.
- В окне «Локальные пользователи и группы» перейдите в раздел «Пользователи», нажмите правой кнопкой мыши по имени пользователя, которое нужно изменить и выберите пункт «Переименовать».
- Укажите новое имя пользователя, закройте окно, выйдите из системы и снова зайдите.
Командная строка
Ещё одна возможность — изменение имени пользователя в командной строке Windows:
- Запустите командную строку от имени администратора.
- Введите команду
wmic useraccount where name='старое_имя' rename новое_имя
и нажмите Enter.
- Закройте командную строку, выйдите из системы и вновь зайдите, уже под новым именем.
Изменение имени пользователя для учетной записи Майкрософт
Если вы используете учетную запись Майкрософт, изменение имени выполняется на соответствующем сайте:
- Зайдите на страницу вашей учетной записи Майкрософт https://account.microsoft.com/ с вашими учетными данными.
- Нажмите по вашему имени или перейдите на вкладку «Сведения».
- Нажмите «Изменить имя» и укажите новые имя и фамилию (необязательно).
После применения сделанных настроек они, через некоторое время (не сразу и, возможно, после перезагрузки) будут синхронизированы с вашим устройством, и вы увидите, что имя пользователя в Windows также изменилось.
Изменение имени папки пользователя
Изменить имя папки пользователя, если оно вам не нравится, в принципе, возможно, но часто приводит к неожиданным результатам: от неработоспособности некоторых программ, для которых были прописаны абсолютные пути, до невозможности зайти в Windows из-за ошибок профиля пользователя.
Простой и безопасный способ
Если вам нужен простой и безопасный способ, рекомендую использовать следующий подход:
- Создайте новую локальную учетную запись с нужным именем (рекомендую использовать латиницу), для нее будет создана папка с тем же именем, сделайте нового пользователя администратором. Подробно о том, как это сделать в статьях: Как создать пользователя Windows 11, Как создать пользователя Windows 10.
- Зайдите под вновь созданным пользователем, и, если нужно, прикрепите учетную запись Майкрософт (это можно сделать в Параметрах).
- Убедившись, что всё работает как нужно и перенеся все данные из старого профиля (например, хранящиеся в папках Документы, Изображения, Рабочий стол), удалите старого пользователя и работайте с новой учетной записью и новым именем папки.
Рискованный метод
Способ переименования папки текущего пользователя без создания нового выглядит иначе (и, ещё раз предупреждаю, небезопасный):
- Выйдите из текущей учетной записи и зайдите в систему с другой учетной записью Администратора (не с той, для которой мы изменяем имя папки), можно включить скрытую учетную запись Администратор.
- При желании измените имя пользователя, для которого меняется имя папки одним из способов, описанным ранее.
- Перейдите в папку C:\Пользователи (C:\Users\) и переименуйте папку нужного пользователя тем же способом, которым вы переименовываете другие папки.
- Запустите редактор реестра и перейдите в раздел
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
- В подразделах этого раздела найдите такой, где для параметра с именем ProfileImagePath задан путь к изменяемой папке, дважды нажмите по этому параметру и измените путь на нужный.
- Закройте редактор реестра, перезагрузите компьютер и попробуйте вновь зайти в учетную запись, для которой менялся путь к папке.
Несмотря на то, что этот метод описан на официальном сайте Майкрософт , он остается крайне ненадежным и, если на почти чистой системе обычно работает, на ОС с множеством установленных программ зачастую вызывает неожиданные проблемы.
Иногда бывает достаточным изменить старые пути на новые в реестре, выполнив поиск по старому имени папки, а иногда даже это не позволяет избежать проблем: от необходимости повторно настраивать OneDrive и проблем с WinGet до, уже упоминавшихся проблем с профилем пользователя. О случаях неудачных попыток вы можете прочесть, например, в комментариях к статье Как изменить имя папки пользователя в Windows 10.
Creating and managing user accounts is easy in Windows 10. After creating user accounts, you can enable or disable user accounts, add or remove user account passwords, and delete user accounts with ease.
Some users want to rename their existing user accounts for some reason. They want to rename user accounts without deleting the existing one or creating a new one. Luckily, there is a way to rename user accounts in Windows 10 without losing data or creating a new user account.
The catch is that this method doesn’t work for Microsoft accounts. Since Microsoft account is not a local user account, Windows 10 will continue to show your actual Microsoft account name on the login screen and other areas of the operating system even after renaming the account in Computer Management. If you want to rename Microsoft accounts, please refer to our how to rename Microsoft accounts guide.
That said, this method works great for local user accounts. You can easily rename local user accounts.
In this guide, we will give you step-by-step directions to rename a local user account in Windows 10.
Method 1 of 2
Rename local user accounts in Windows 10 Pro and above
NOTE: Local Users and Groups is not available in Windows 10 Home edition. If you are on Windows 10 Home edition, please refer to the directions in Method 2.
Step 1: Open Computer Management. The easiest way is to right-click on the Start button on the taskbar and then click Computer Management.
Step 2: In the left-pane of Computer Management window, expand Local users and groups folder to see Users and Groups folders. Click on Users folder.
Step 3: All users accounts on your PC will now appear on the right-side. To rename a user account, right-click on a user account in the list and then click Rename option.
Enter a new name for the user account. That’s it!
Alternatively, right-click on the user account that you want to rename and then click Properties. In the Properties dialog, under the General tab, enter a new name for your account and type description for the user account. Finally, click Apply.
Method 2 of 2
Although Local Users and Groups is not present in Windows 10 Home, you can use the classic Control Panel to rename local user accounts in Windows 10.
Step 1: Sign-in to the user account that you want to rename.
Step 2: Type Control Panel in Start/taskbar search box and then press Enter key to open Control Panel. You can refer our five ways to open Control Panel in Windows 10 guide to know all the ways out there to open Control Panel in Windows 10.
Step 3: Change the View by to Small icons, and then click User Accounts.
Step 4: Click Change the account name link. If you are asked to enter the admin password, please enter the same.
Step 5: Finally, enter a new name for your user account. Click Apply button.
That’s all!
,
If you ‘re using a Windows 10/8 or 7 personal computer (not part of a Domain) and you want to rename the user account name and the related User Profile folder name then this tutorial may be useful for you.As you may know when you change the username of a user in Windows, the related user folder remain unchanged and you must perform some additional steps to accomplish this. In this tutorial you ‘ll learn how to rename a user in Windows and how to rename the user folder in order to match the name of the user.
How to Rename User and User Profile Folder in Windows 10/8/7 *
* Important: To apply the steps below you must sign into Windows, by using an account with Administrative privileges.
Assumption: Let’s suppose that the current username and the related profile folder is named «Josh» and you want to change the account name and the profile folder name to «Joshua».
Step 1. Rename the User from User Account Properties.
To change the username of a local account in Windows:
1. Press simultaneously the Windows + R keys to open the run command box.
2. Type netplwiz & Press Enter.
3. Highlight the user that you want to rename and select Properties.
4. Then change the current User name (e.g. «Josh) with the new one (e.g «Joshua»)
5. When done click Apply and OK twice to close all open windows.
Step 2. Change the User Profile Folder Path in Registry.
1. Open Registry Editor: To do that:
-
- Press simultaneously the Windows + R keys to open the run command box.
- Type regedit & Press Enter.
2. Navigate to the following key at the left pane:
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
3. Click at any “S-1-5-21-xxx…” registry key, until you find which one contains the path for your profile folder at the «ProfileImagePath» REG_DWORD value.
* e.g. If your Username is “Josh” then see which S-1-5-21-xxx…” registry key, contains the “C:\Users\Josh” value at ProfileImagePath.
4. When you find that key, double click at ProfileImagePath and rename the current path (profile folder name) to the new one. *
* e.g. At this example we proceed to change the «C:\Users\Josh» folder name, with the new folder name «C:\Users\Joshua».
5. When done, click OK.
6. Close Registry Editor and Restart your computer.
Step 3. Rename the User Profile Folder.
1. After restart you ‘ll be sign to a temporary profile (empty profile) with the message «We can’t sign in to your account». (Click Close at this message and continue below).
2. Open Windows Explorer and explore the contents of the «C:\Users» folder.
3. Right click on the user profile folder (e.g. «Josh» in this example) and choose Rename.
4. Type the new name for the profile folder (e.g. «Joshua» in this example) and press Enter.
5. Click Continue when asked to provide administrator permission to rename the folder. *
* Note: If you receive an «Access denied» error, when you try to rename the user folder, then try to rename the folder in Safe Mode or try the following:
1. Open Command Prompt as Administrator.
2. Type the following command and press enter: net user administrator /active:yes
3. Restart the computer and login as Administrator
4. Rename the user profile folder.
5. Restart again and login to the (renamed) user.
6. If everything is OK, then disable the administrator account by typing this command (in Command Prompt Admin): net user administrator /active:no
6. Restart your computer to login to your profile with all files and settings untouched!
Step 4. FIX Invalid Registry References.
The next step, is to fix in the Registry, the references to the old profile folder. To do that:
1. Download the Registry Finder utility in an archive format, according your Windows version (32 or 64Bit) and extract the download file (RegistryFinder.zip).
2. From the extracted folder, double click to run the RegistryFinder application.
3. In Registry Finder, click the Edit menu and choose Find.
4. Type the old folder name (e.g. Josh») and click Find.
5. When the search is completed, click Edit and choose Replace in Find Results.
6. At ‘Find what’ field type the old name (e.g. Josh») and in the ‘Replace with’ field type the new name (e.g. Joshua). When done, click Replace.
7. When the operation is completed, you should receive an error message that says «error encountered». Just ignore the error message and click No to close the window.
8. Close the Registry Finder and restart your PC.
Step 5. Rebuild the Search Index.
The final step is to rebuild the search index. To do that:
1. Navigate to Windows Control Panel and open Indexing Options.*
* If you don’t see the Indexing Options, set the View (View by) to Small icons.
2. At Indexing Options click Advanced.
3. At Troubleshooting section, click the Rebuild button.
4. Press OK to rebuild the Index.
5. Wait until the index rebuilding is completed and then restart your computer again.
That’s all folks! Did it work for you?
Please leave a comment in the comment section below or even better: like and share this blog post in the social networks to help spread the word about this problem.
If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us.
- Author
- Recent Posts
Konstantinos is the founder and administrator of Repairwin.com. Since 1995 he works and provides IT support as a computer and network expert to individuals and large companies. He is specialized in solving problems related to Windows or other Microsoft products (Windows Server, Office, Microsoft 365, etc.).