Skip to content
Follow
Windows 🟡 Intermediate

How to change Name of User Profile Folder in Windows 11

Richard
Written by
Richard
Jul 22, 2021 Updated Jul 22, 2026 7 min read
How to Change Name of User Profile Folder in Windows 11
How to Change Name of User Profile Folder in Windows 11

Changing the name of your user profile folder in Windows 11 updates the actual folder that stores your files and settings.

When you create an account on Windows 11, it automatically names your user profile folder based on your account details. This might be your first name or part of your email address.

Your default Windows 11 user profile folder name may not be what you prefer. You can change this profile folder name to something more personal or logical by following a few specific steps.

⚡ Quick Answer

Log in with a different administrator account. Open Command Prompt to find your account SID, then use Registry Editor to update the ProfileImagePath to your new desired folder name. Finally, rename the actual user folder in File Explorer to match.

Getting Ready to Rename

Follow these steps before you start changing anything to make the process easier.

Step 1Sign Out of Your Account

You can’t change a folder that Windows is currently using. So, first, log out of the account you want to rename.

  • Click the Start button.
  • Click your user account picture or name.
  • Choose Sign out.

Step 2Log In to an Administrator Account

You need to sign in to a different account that has administrator rights to change your user profile folder name. If you don’t have another admin account ready, it’s a good idea to create one temporarily before you start this process.

You can create a temporary administrator account before starting the profile folder name change process. Remember to delete this temporary administrator account afterward if you no longer need the temporary administrator account.

Step 3Open Windows Terminal

We need a special tool to get some information about your account. Windows Terminal is the best way to do this.

  • Right-click the Start button.
  • Choose Windows Terminal (Admin). This gives it the needed permissions.

Step 4Find Your Account’s Unique ID (SID)

Every Windows account has a unique code called a Security Identifier, or SID, which Windows uses to tell accounts apart. You’ll need this special code to find your account in the next steps. Open Windows Terminal and type this command: powershell “Get-LocalUser | Select-Object -Property @(‘Name’, ‘SID’)”

This will show you a list of accounts and their SIDs. Find the username of the account you want to rename and write down its SID. It will look like a long mix of numbers and dashes, similar to S-1-5-21-....

⚠️Warning
Be very careful to copy the correct SID. If you use the wrong one, it could cause serious problems.

Editing the Windows Registry

Now, let’s move on to editing the Windows Registry. Here, we’ll inform Windows about the new name for your user folder. The Registry Editor is a powerful tool, so be very careful.

Step 5Open Registry Editor

Press the Windows key + R on your keyboard. Type regedit and press Enter. Click Yes if a security window pops up.

Step 6Go to the List of User Profiles

In the Registry Editor, you need to find the specific list where Windows keeps track of all user profiles. Navigate to this exact location: 🗝️HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. Inside this folder, you’ll see other folders named with SIDs.

Inside the ProfileList folder, you’ll see several folders named with those long SIDs. Click on the folder that matches the SID you wrote down earlier.

Registry editor showing Windows user profile folder path for renaming.
Registry editor showing Windows user profile folder path for renaming.
💡Tip
If you’re not sure which SID is yours, click on each SID folder. Then, look at the ProfileImagePath value in the right-hand box. This shows the current user folder name, like C:\Users\YourOldName.

Step 7Change the Profile Path

After clicking on the correct SID folder, look to the right side. You should see an entry named ProfileImagePath. This tells Windows where your user folder is. Double-click on ProfileImagePath to change it.

Step 8Enter the New Folder Name

A window will pop up showing the current location of your user folder. You only need to change the very last part of this address, which is the folder’s name itself, to your desired new name. Make sure to use a simple name without any strange characters and remember it exactly.

Important: Use a simple name without unusual characters. Remember the exact new name and its full path for the next steps.

Click OK. You can now close the Registry Editor and Windows Terminal.

Renaming the Actual Folder

We’ve told Windows the new path in the registry. Now, we need to rename the folder on your computer to match.

Step 9Open File Explorer

Press Windows key + E to open File Explorer.

Step 10Go to the Users Folder

In File Explorer, go to the main folder where user profiles are kept. It’s usually here:C:\Users

Step 11Rename the Profile Folder

Find the folder with your *old* user profile name. Click on it once to select it. Then, click the Rename option at the top, or right-click the folder and choose Rename.

Step 12Enter the New Name

Now, you need to actually rename the folder on your computer to match what you just typed in the registry. Go to File Explorer and find your user folder, then change its name to the exact new name you chose earlier. If you get an error, double-check that you’re signed out of the account you’re renaming.

Press Enter.

Tip: If you get an error saying the folder is in use, make sure you’re signed out of the account you’re renaming and logged into an administrator account.

This next step is a bit more advanced but helps prevent problems. Some older programs might still look for your folder using the old name. A symbolic link, often called a symlink, functions like an intelligent shortcut, automatically redirecting requests to the new name.

Step 13Open Command Prompt as Administrator

Open the Command Prompt with administrator privileges. Search for cmd in the Start menu, right-click the result, and then select Run as administrator.

To make sure Windows can still find your files after renaming the folder, you need to create a special link. Open the Command Prompt and type this command, replacing the example paths with your old and new folder names: mklink /d “📁C:\Users\YourOldFolderName” “📁C:\Users\YourNewFolderName”.

For example, if your old folder was C:\Users\Richard2 and your new one is C:\Users\Richard3, the command would be:mklink /d "C:\Users\Richard2" "C:\Users\Richard3"

Press Enter. If it works, you’ll see a message saying the link was created. You’ll see a new folder icon in your C:\Users folder that looks like a shortcut.

Warning: If you skip creating the symbolic link and later find some apps cannot find your files, you might need to return to the registry editor and create this symbolic link to fix the problem.

Final Checks

You’re almost done! Here are a couple more things to make sure everything works with your new folder name.

Step 15Check OneDrive Settings (If You Use It)

If you use OneDrive to save your files, you might need to tell it about your new folder name. After you sign back into your renamed account, open OneDrive settings and check if the folder location needs to be updated to match your new profile folder. This usually involves going to Settings > Account > Choose folders.

Step 16Rebuild the Windows Search Index

Windows Search might show outdated information and slow down searches after you change your user folder name. To fix Windows Search slowness, you need to rebuild the search index. Type 'Indexing Options' in the Start menu, open the tool, click 'Advanced,' and then under 'Troubleshooting,' click 'Rebuild.' Rebuilding the index updates Windows Search with your new user folder name.

  • In the Start menu search, type Indexing Options and open it.
  • Click the Advanced button.
  • Under “Troubleshooting,” click the Rebuild button.

This might take a while depending on how many files you have. Your computer might seem a bit slower during this process.

Summary

Changing your user profile folder name in Windows 11 involves several steps: sign into an administrator account, locate your account’s unique SID, update the registry to reflect a new folder name, rename the folder itself in File Explorer, and then create a symbolic link. Finally, check your OneDrive settings and rebuild the Windows search index to ensure everything works correctly.

Why can't I change my user folder name?

Go to Computer management > Local User > Users > Activate built in admin. Sign out and log in to this admin account. Select your account and give it the same name as in the users folder. Double click it and in the new dialogue box, change the display name.

Why can't i change the name of a folder in 🪟 Windows 11?

If you still cannot rename the folder, it might be due to permissions or the folder being in use. Make sure the folder is not open in any application and that you have the necessary permissions to rename it.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Enable or Disable Window Preloading in File Explorer on Windows 11
Windows How to Enable or Disable Window Preloading in File Explorer on Windows 11
How to Enable or Disable Sync in Windows 11
Windows How to Enable or Disable Sync in Windows 11
How to Share Your Files with OneDrive in Windows 11
Windows How to Share Your Files with OneDrive in Windows 11
Enable OneDrive Files On-Demand in Windows 11
Windows Enable OneDrive Files On-Demand in Windows 11

0 Comments

  • Unable to open the folders on This PC. Getting an error saying that the location is not available. How should I proceed?

    Reply
  • Won’t allow the folder name change, says it’s in use.

    Reply
    • Hi Chris,

      you need to use an different account than this one which you want to rename. Use netplwiz.exe to create a new user with admin rights, log off the account you want to change and use the created one instead. The folder of the account you logged in with is always in use and cannot be edited

      Reply
    • Devi riavviare il pc e eseguire il login come amministratore e riprovare. A me ha funzionato. Poi se usi oneDrive una volta fatto il login come utente apri l’app onedrive e imposta la nuova path utente.

      Reply
  • For some reason in Windows 11, following this, while it works there are two problems.

    One drive brings an error in each login that it cannot find the old folder.
    I cannot pin anything to taskbar

    Reply
  • Tried it in Windows 11, but search in settings is no longer working, cannot search anything in windows settings

    Reply
    • That is totally correct, yet all these posts fail to mention that and now you are stuck!! A lot of these so called guru-charlatan just copy from one site some info, yet don’t have clue or never test this themselves.

      Reply
  • Thank you very much. It works.

    Reply
  • Joseph Reda

    As soon as I did this in same order my windows icon did not work. I tried to go back and lost windows .. I tried to restore and nothing is working.. even I created another admin user before I started this and its not working either .. this is crazy !!

    Reply
  • don’t do this on windows 11 if you’re logged in with a Microsoft account!!

    Reply
    • I second that! These instructions will likely make some of your programs not work.

      Reply
  • did not do the make a new account and i did it all in the account i want the folder to rename and now its stuck at preparing windows

    Reply
  • Thanks for a great and straightforward set of instructions. That Microsoft would make it so hard to make such a simple change is mind-boggling. I guess there must be some security reason, but obfuscation has never been a useful security strategy!

    Reply
  • This broke my windows – cannot open start menu and the windows 11 context menu broke.
    Don’t know if its related to the account being a Microsoft account – but no other way to restore but to reinstall windows.

    Honestly, don’t fucking do this.

    Reply
    • You went into safe made, so you can undo the steps to rename back to the original name it was and you will be back to the same condition.

      Reply
  • This worked for me, but later on none of the already installed apps can be updated/uninstalled as it looks at the path with the old name and errors out.

    Reply
  • Baskar B

    Not working. Rename option not enabled.

    Reply
  • I keep getting the error: Cannot edit ProfileImagePath: Error writing the value’s new contents.

    I’m logged out of my main account, logged into a local account I created. I opened command prompt with administrator access. Not really sure what I’m doing wrong here.

    Reply
  • This article caused more damage than the problem I was trying to solve.

    Maybe it works for some people, but if like me, your PC was preinstalled with Windows 11, then chances are your desktop and environment are actually romaing, and pointing to OneDrive directories.

    So after going through all the steps.. creating an admin user in order to rename original user, logging back in as original user, and then opening explorer it complained that the Desktop folder didnt exist, every single time I opened it.

    Luckily you can fix this. Open regedit, and navigate to..

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

    Now modify each value to replace each key where the value contains user1, and replace that bit with your new username

    Reply

Leave a Comment

Your email address will not be published. Required fields are marked *