Accounts Change Name of User Profile Folder in Windows 11


  • Staff
User_profile_folder_banner.png

This tutorial will show you how to rename a user profile folder for any account (local account or Microsoft account) in Windows 10 and Windows 11.

When adding a new user account in Windows, a profile for the account is automatically created when the user signs in to the new account for the first time.

A user profile is a collection of settings that make the computer look and work the way you want it to for a user account. It is stored in the account's C:\Users\<user name> profile folder, and contains the account's settings for desktop backgrounds, screen savers, pointer preferences, sound settings, and other features. User profiles ensure that your personal preferences are used whenever you sign in to Windows.

A user's profile folder also contains their personal folders such as the Contacts, Desktop, Documents, Downloads, Favorites, Links, Music, OneDrive, Pictures, Saved Games, Searches, and Videos folders.

Since a user's profile folder is automatically named by Windows by default, it will not always be named what you may have wanted its name to be. For example, when you add a Microsoft account to the PC, its user profile folder in the "C:\Users" folder will be named with the first 5 characters of the email address used for the Microsoft account.

Reference:


You must be signed in as an administrator to change the name of a user profile folder.

Changing the name of an account's user profile folder will not change the user account name.




Here's How:

1 Sign out of the user account (ex: "Brink2") you want to change the name of its user profile folder (ex: "C:\Users\Brink2").

2 Sign in to any administrator account on the PC that you are not changing its user profile folder name.

If you do not have another administrator account, then you can temporarily enable the built-in Administrator to sign in to do these steps.


3 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.

4 Copy and paste the wmic useraccount get name,SID command into Windows Terminal, and press Enter. (see screenshot below)

Make note of the SID (ex: "S-1-5-21-2212846312-626644311-134141314-1002") for the account (ex: "Brink2") you want to change the name of its user profile folder. You will need to know this SID in step 6 below.


SID.png

5 Open Registry Editor (regedit.exe).

6 Navigate to the key below in the left pane of Registry Editor. (see screenshot below)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<SID>

Substitute <SID> in the registry key path above with the actual SID (ex: "S-1-5-21-2212846312-626644311-134141314-1002") from step 4 above for the account name (ex: "Brink2") you want to change the name of its user profile folder.

For example:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-2212846312-626644311-134141314-1002


User_profile_folder_name_regedit-1.png

7 In the right pane of the SID key (ex: "S-1-5-21-2212846312-626644311-134141314-1002"), double click/tap on the ProfileImagePath expandable string value (REG_EXPAND_SZ) to modify it. (see screenshot above)

8 Change the current name of the user profile folder in its full path (ex: "C:\Users\Brink2") to what you want (ex: "C:\Users\Brink3") instead, and click/tap on OK. (see screenshot below)

Make note of the current full path and name (ex: "C:\Users\Brink2") and new name (ex: "Brink3") for this account's user profile folder.

You will need to know both in step 10 and step 12 below.


User_profile_folder_name_regedit-2.png

9 You can close Registry Editor and Windows Terminal if you like. (see screenshot below)

User_profile_folder_name_regedit-3.png

10 Open File Explorer (Win+E), and navigate to the original full path of the user profile folder (ex: "C:\Users\Brink2") from step 8 above.

11 Select the user profile folder (ex: "Brink2"), and click/tap on the Rename icon on the command bar at the top. (see screenshot below)

User_profile_folder_name_File_Explorer-1.png

12 Change the current name of the user profile folder (ex: "Brink2") to the same new name (ex: "Brink3") from step 8 above. (see screenshot below)

User_profile_folder_name_File_Explorer-2.png

13 You can now close File Explorer if you like.

14 Create a symbolic link using the command below in an elevated command prompt. This symbolic link will show as a folder shortcut with the old profile name so anything that still references the old user profile folder name will be automatically redirected to the new user profile folder name.

mklink /d "Full path of old profile folder name" "full path of new profile folder name"

Substitute Full path of old profile folder name in the command above with the actual full path of the old user profile folder name (ex: "C:\Users\Brink2").

Substitute full path of new profile folder name in the command above with the full path of the new user profile folder name (ex: "C:\Users\Brink3").

For example: mklink /d "C:\Users\Brink2" "C:\Users\Brink3"



15 If you use OneDrive, then while signed in to the account you ranamed its profile folder for, change the OneDrive folder location to correct it for the new user profile folder name (ex: "Brink3") if needed. (see screenshot below)

User_profile_folder_name_OneDrive.png

16 Reset and rebuild the Windows Search index to clear any entries pointing to the old profile folder name.


That's it,
Shawn Brink


 
Last edited:
Hello Mikey, and welcome. :alien:

Since it's the same name, you won't need to use all the steps in the tutorial, and would only need to do the usual simple rename of the folder to "Mikey".
Hi Brink,

thanks! when I press F2 on the folder nothing happens, also the rename folder is not in the menu. The folder is on read-only. Why is this? is it safe to remove the read-only property?
 

My Computer

System One

  • OS
    Windows 11
Hi Brink,

thanks! when I press F2 on the folder nothing happens, also the rename folder is not in the menu. The folder is on read-only. Why is this? is it safe to remove the read-only property?
This is most likely due to you being signed into the account you want to rename its profile folder.

Sign out of your account, and sign in to another administrator account. You should then be able to rename the folder.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium

Latest Support Threads

Back
Top Bottom