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:
| Method | When to Use | Difficulty | Risk Level |
|---|---|---|---|
| OOBE Setup Method | Fresh Windows 11 25H2 installation | Easy | Low |
| Post-Installation Method | Existing Windows 11 system | Advanced | Medium-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 userfoldernamecommand - 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.
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\bypassnroThis 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=YourDesiredNameReplace '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.
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 /addLog 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,SIDNote 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\ProfileListFind 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 00Select 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 /resetWait 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.
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.regApplication 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 /tSystem 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.
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 ProfileImagePathYour 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.regThen rename the folder back to its original name and restart the system.


