How To Change Windows — User Folder Name
This is one of those tasks that seems simple but is notoriously tricky. Unlike changing your account name in Settings, renaming the C:\Users\YourName folder requires specific steps to avoid breaking your apps, desktop paths, and system settings.
The Ultimate Guide: How to Safely Rename Your Windows User Folder Why is this so difficult? Windows ties thousands of registry entries, environment variables, and app permissions to the absolute path of your user profile folder. Simply renaming it in File Explorer will result in a "Folder in Use" error, and even if forced, will cause "Access Denied" errors or a temporary profile at next login. Before You Begin: Two Critical Warnings
Back up your data. If something goes wrong, you may lose access to your documents. Do NOT use this method on a domain-joined work PC. It can break Group Policy and corporate app permissions. For personal PCs only.
Method 1: The Official (Safest) Way – Using a Local Admin Account This method uses Windows’ built-in profile management tools. It requires a second local administrator account on your PC. Step 1: Create a Temporary Admin Account how to change windows user folder name
Open Settings → Accounts → Family & other users (Windows 11) or Other users (Windows 10). Click Add account → I don't have this person's sign-in information → Add a user without a Microsoft account . Name it TempAdmin , set a password, and change account type to Administrator .
Step 2: Log Into the TempAdmin Account
Sign out of your main account (the one whose folder you want to rename). Log into TempAdmin . This is one of those tasks that seems
Step 3: Rename the User Folder
Open File Explorer and navigate to C:\Users\ . Locate your old folder (e.g., OldName ). Right-click → Rename → change to your desired name (e.g., NewName ). Use no spaces or special characters; letters/numbers only.
Step 4: Update the Registry
Press Win + R , type regedit , and press Enter. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList Under ProfileList , you’ll see several long keys ( S-1-5-21-... ). Click each one and look at the ProfileImagePath value on the right. Find the entry where ProfileImagePath ends with your old folder name (e.g., C:\Users\OldName ). Double-click ProfileImagePath and change it to the new path: C:\Users\NewName . Click OK and close Registry Editor.
Step 5: Fix File Ownership (Crucial) Even after renaming, Windows may deny access. Fix this: