Windows 11 computer showing user profile folder management in File Explorer
WindowsIntermediate

How to Change User Profile Folder Name in Windows 11 25H2

Learn two methods to rename user profile folders in C:\Users\ on Windows 11: during initial setup (OOBE) and post-installation with registry editing.

Emanuel DE ALMEIDAEmanuel DE ALMEIDA
March 11, 202612 min read9 Steps

Why Would You Want to Change Your Windows 11 User Profile Folder Name?

Windows 11 automatically creates user profile folders in C:\Users\ based on your account name, often using the first five characters of your Microsoft account email or the username you choose. Sometimes this results in cryptic folder names like 'johnd' instead of 'JohnDoe', or you might want a more professional naming convention for work computers.

Changing your user profile folder name isn't officially supported by Microsoft for existing installations, but it's possible with careful registry editing and file system manipulation. Windows 11 version 25H2 introduced limited support for customizing the folder name during initial setup, making this process somewhat easier for fresh installations.

What Are the Two Methods for Changing Profile Folder Names in Windows 11?

There are two distinct approaches depending on your situation:

MethodWhen to UseDifficultyRisk Level
OOBE Setup MethodFresh Windows 11 25H2 installationEasyLow
Post-Installation MethodExisting Windows 11 systemAdvancedMedium-High

The OOBE (Out-of-Box Experience) method works only during initial Windows setup on version 25H2 or later. For existing systems, you'll need to use the more complex post-installation method involving registry editing and folder manipulation.

How Do You Check if Your Windows 11 Version Supports OOBE Profile Naming?

Before starting, verify your Windows 11 version and build number. Press Win + R, type winver, and press Enter. Look for:

  • Windows 11 25H2: Full OOBE support with set userfoldername command
  • Windows 11 24H2 (build 26100+): Limited OOBE support, post-installation method recommended
  • Earlier versions: Post-installation method only

If you're on an older version, update through Settings > Windows Update before proceeding. The latest stable build as of March 2026 includes cumulative updates for both 24H2 and 25H2.

Pro tip: Always create a system restore point before attempting profile folder changes. Press Win + R, type sysdm.cpl, go to System Protection tab, and click 'Create'.

How Does the OOBE Method Work for Fresh Windows 11 25H2 Installations?

The OOBE method is the safest approach but only works during fresh Windows 11 25H2 installations. Here's the complete process:

When you reach the Microsoft account sign-in screen during setup, press Shift + F10 to open Command Prompt. This interrupts the normal setup flow and gives you access to system commands.

cd oobe
oobe\bypassnro

This command bypasses the network requirement and reboots the system, allowing you to create a local account instead of requiring a Microsoft account. After the reboot, proceed through region and language selection.

When you reach the user account creation screen, press Shift + F10 again to open Command Prompt. Now set your desired folder name:

set userfoldername=YourDesiredName

Replace 'YourDesiredName' with your preferred folder name. Use 5 or more alphanumeric characters without spaces or special characters. Close Command Prompt and complete the setup normally.

The system will create your user profile folder in C:\Users\YourDesiredName instead of using the default naming convention.

Warning: This method only works during the initial OOBE setup. You cannot use these commands on an existing Windows installation.

What's the Step-by-Step Process for Post-Installation Profile Folder Renaming?

For existing Windows 11 installations, the process is more complex and involves creating a temporary administrator account, editing the registry, and manipulating the file system. This method works on all Windows 11 versions but carries higher risks.

Step 1: Create a Temporary Administrator Account

Open Settings with Win + I, navigate to Accounts > Family & other users, and click 'Add someone else to this PC'. Choose to create a local account without a Microsoft account. Make this account an administrator:

net user TempAdmin /add
net localgroup administrators TempAdmin /add

Log out and sign into this temporary account to verify it works properly.

Step 2: Identify Security Identifiers (SIDs)

Log back into your original account and open Command Prompt as administrator. Run:

wmic useraccount get name,SID

Note the SID for your original account - it's a long string starting with 'S-1-5-21'. You'll need this for registry editing.

Step 3: Edit Registry Profile Path

Press Win + R, type regedit, and navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Find the folder matching your account's SID. Double-click 'ProfileImagePath' and change the path from C:\Users\OldName to C:\Users\NewName.

Step 4: Rename the Physical Folder

In File Explorer, navigate to C:\Users\ and rename your profile folder to match the registry entry. If you encounter permission errors, restart in Safe Mode:

shutdown /r /o /f /t 00

Select Troubleshoot > Advanced options > Startup Settings > Restart, then press F4 for Safe Mode.

Step 5: Create Compatibility Symbolic Link

Some applications may still reference the old path. Create a symbolic link for compatibility:

mklink /D "C:\Users\OldName" "C:\Users\NewName"

This creates a junction point that redirects old path references to the new location.

How Do You Handle Common Issues and Application Path Updates?

After renaming your profile folder, several applications may need path updates:

OneDrive Path Issues:

OneDrive often stores absolute paths to your profile folder. Reset OneDrive to force path detection:

%localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Wait a few minutes, then restart OneDrive from the Start menu. You may need to reselect which folders to sync.

Browser Download Folders:

Check your browser's download settings and update the path if it still points to the old folder location. Most browsers will adapt automatically if you use the symbolic link method.

Game Save Locations:

Steam and other game platforms may store save files in your profile folder. Verify that games can still access their save data, and manually copy saves if necessary.

Pro tip: Keep a list of applications that use your profile folder for data storage. Check each one after the rename to ensure they're working correctly.

What Are the Risks and How Do You Minimize Them?

Microsoft doesn't officially support changing profile folder names on existing installations because it can cause system instability. Here are the main risks and mitigation strategies:

Profile Corruption: Incorrect registry edits can prevent Windows from loading your profile. Always backup the registry before making changes:

reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" C:\backup_profilelist.reg

Application Failures: Some applications hardcode profile paths and may stop working. The symbolic link method helps, but some apps may require reinstallation.

Permission Issues: Windows may deny access to rename the profile folder while it's in use. Safe Mode usually resolves this, but in extreme cases, you might need to take ownership of the folder:

takeown /f "C:\Users\OldName" /r /d y
icacls "C:\Users\OldName" /grant administrators:F /t

System File References: Some system files and services may reference the old profile path. The symbolic link method addresses most of these issues, but monitor system logs for errors.

Warning: Never attempt this process on a domain-joined computer or a system with roaming profiles. These configurations have additional complexities that can cause serious issues.

How Do You Verify the Profile Folder Rename Was Successful?

After completing the rename process, perform these verification steps:

Basic Functionality Test:

  • Restart your computer and log into your account
  • Verify that your desktop, documents, and downloads folders work correctly
  • Check that installed applications launch without errors
  • Confirm that your user data (bookmarks, settings) is intact

Path Verification:

Open Command Prompt and run:

echo %USERPROFILE%

This should display your new profile path. Also check:

reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" /s | findstr ProfileImagePath

Your account's entry should show the new path.

Application-Specific Checks:

  • Open File Explorer and verify that Quick Access shows correct folder paths
  • Check OneDrive sync status if you use it
  • Test any applications that store data in your profile folder
  • Verify that Windows Search can index your new profile location

If you encounter issues, you can restore the original configuration using your registry backup:

reg import C:\backup_profilelist.reg

Then rename the folder back to its original name and restart the system.

Pro tip: Keep the symbolic link in place for at least 30 days after the rename. This gives you time to identify any applications that were using hardcoded paths to your old profile folder.

Step-by-Step Guide

1
Step 1 / 9

Check Your Windows 11 Version

First, determine which method you can use based on your Windows version. Press Win + R, type winver, and press Enter.

winver

Look for build number 26100 or higher for Windows 11 24H2/25H2. If you see 25H2, you can use the OOBE method during fresh installation. For existing installations, you'll use the post-installation method.

Pro tip: Update to the latest Windows 11 version via Settings > Windows Update before attempting either method for best compatibility.
2
Step 2 / 9

Method 1: Change Profile Name During OOBE Setup (25H2 Only)

This method works only during initial Windows 11 25H2 setup. When you reach the Microsoft account sign-in screen, press Shift + F10 to open Command Prompt.

cd oobe
oobe\bypassnro

The system will reboot and allow local account creation. During the user creation screen, press Shift + F10 again and run:

set userfoldername=YourDesiredName

Replace 'YourDesiredName' with your preferred folder name (5+ alphanumeric characters, no spaces). Complete the setup normally.

Warning: This method only works on fresh Windows 11 25H2 installations during OOBE. You cannot use it on existing systems.
3
Step 3 / 9

Create a New Administrator Account

For post-installation renaming, create a secondary admin account first. Open Settings by pressing Win + I, navigate to Accounts > Family & other users, then click 'Add someone else to this PC'.

Choose 'I don't have this person's sign-in information', then 'Add a user without a Microsoft account'. Create a local account with your desired username (this will become your folder name).

net user NewUserName /add
net localgroup administrators NewUserName /add

Alternatively, use the GUI method. After creation, sign out and log into this new account to verify it works.

Pro tip: Use the exact folder name you want as the username during creation - this saves registry editing later.
4
Step 4 / 9

Identify User Account SIDs

Log back into your original account and open Command Prompt as administrator. Run this command to list all user accounts and their Security Identifiers (SIDs):

wmic useraccount get name,SID

Note down the SID for your original account - it looks like 'S-1-5-21-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxx'. You'll need this for registry editing.

Verification: The output should show both your original account and the new account with their respective SIDs.

5
Step 5 / 9

Edit Registry Profile Path

Press Win + R, type regedit, and press Enter. Navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Find the folder matching your original account's SID. Double-click 'ProfileImagePath' and change the path from:

C:\Users\OldFolderName

to:

C:\Users\NewFolderName

Click OK and close Registry Editor.

Warning: Always backup your registry before editing. Incorrect changes can prevent Windows from booting.
6
Step 6 / 9

Rename the Physical Folder

Open File Explorer and navigate to C:\Users\. Right-click your old profile folder and select 'Rename'. Change it to match the name you set in the registry.

If you get a 'permission denied' error, restart Windows in Safe Mode:

shutdown /r /o /f /t 00

Select Troubleshoot > Advanced options > Startup Settings > Restart, then press F4 for Safe Mode. Try renaming the folder again.

Verification: The folder should now have your desired name in C:\Users\.

7
Step 7 / 9

Create Symbolic Link for Compatibility

Some applications may still reference the old folder path. Create a symbolic link to maintain compatibility. Open Command Prompt as administrator and run:

mklink /D "C:\Users\OldFolderName" "C:\Users\NewFolderName"

This creates a junction point that redirects old path references to the new location.

Verification: You should see a folder icon with an arrow overlay at the old location, and accessing it should show your profile contents.

Pro tip: Keep this symbolic link for at least a month to catch any applications that use hardcoded paths.
8
Step 8 / 9

Test and Clean Up

Restart your computer and log into your original account. Verify that:

  • Desktop items appear correctly
  • Documents, Downloads, and other folders work
  • Installed applications launch properly

If everything works, delete the temporary admin account. Open Settings > Accounts > Family & other users, select the temporary account, and click 'Remove'.

Alternatively, use the classic interface:

sysdm.cpl

Go to Advanced tab > User Profiles > Settings, select the temporary profile, and click Delete.

9
Step 9 / 9

Update Application Paths

Some applications store absolute paths to your profile folder. Update these manually:

  • OneDrive: Settings > Account > Choose folders
  • Browsers: Check download folder settings
  • Steam/Games: Verify save game locations

For OneDrive specifically, you may need to unlink and relink your account:

%localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Then restart OneDrive from the Start menu.

Warning: Some applications may require reinstallation if they can't adapt to the new profile path.

Frequently Asked Questions

Can I change my Windows 11 user profile folder name without reinstalling Windows?
Yes, but it requires advanced registry editing and file manipulation. The process involves creating a temporary admin account, editing the ProfileImagePath registry entry, renaming the physical folder, and creating symbolic links for compatibility. This method works but isn't officially supported by Microsoft and carries risks of system instability.
What's the difference between changing the account name and the profile folder name in Windows 11?
Changing the account name (visible in Settings or netplwiz) only affects the display name and login screen. The profile folder in C:\Users\ remains unchanged. To change the actual folder name, you need to edit the registry ProfileImagePath entry and rename the physical folder, which is a more complex process that affects where Windows stores your user data.
Does Windows 11 25H2 officially support changing profile folder names during setup?
Yes, Windows 11 25H2 introduced limited official support for customizing profile folder names during OOBE setup. You can press Shift+F10 during initial setup, use the 'set userfoldername=YourName' command, and Windows will create the profile folder with your specified name. This is much safer than post-installation methods but only works during fresh installations.
What happens to my applications after changing the Windows 11 profile folder name?
Most applications will continue working if you create a symbolic link from the old folder name to the new one using 'mklink /D'. However, some applications that hardcode profile paths may require manual path updates or reinstallation. OneDrive typically needs to be reset, browsers may need download folder updates, and games might need save file verification.
Is it safe to change user profile folder names in Windows 11 and what are the risks?
Microsoft doesn't officially support changing profile folder names on existing installations due to potential system instability. Risks include profile corruption from incorrect registry edits, application failures from hardcoded paths, permission issues, and system file reference problems. Always backup your registry and data before attempting this process, and consider testing in a virtual machine first.

About the Author

Emanuel DE ALMEIDA

Emanuel DE ALMEIDA

Senior IT Journalist & Cloud Architect

Microsoft MCSA-certified Cloud Architect | Fortinet-focused. I modernize cloud, hybrid & on-prem infrastructure for reliability, security, performance and cost control - sharing field-tested ops & troubleshooting.

Last updated March 11, 2026

Discussion

Share your thoughts and insights

You must be logged in to comment.

Loading comments...