How to Rename a Chinese User Folder to English

1. Overview

Many programs don't support Chinese paths. If your computer's user folder has a Chinese name, you can use this method to rename the user folder.

2. Procedure

  1. First, back up the operating system so that you don't lose data if something goes wrong. Here we used Synology's Active Backup for Business.
    • Step 1: Install the Synology Active Backup for Business Agent on the client machine and sign in.
    • Step 2: Sign in to DSM, open Active Backup for Business and start the backup. We only need to back up the system drive here; just wait for the backup to finish.
  2. Next, enable the Administrator account.
    • Step 1: Open a PowerShell window as administrator and enter the following command:
    net user administrator /active:yes
    
    • Step 2: Switch to the Administrator account and restart the computer, so that programs holding files open don't prevent you from renaming the user folder.
    • Step 3: After the restart, sign in to the Administrator account.
  3. Finally, rename the user folder.
    • Step 1: Open File Explorer, find the folder named after the user inside the Users (用户) folder, right-click it, choose "Rename", and change it to an English name.
    • Step 2: Open the Registry Editor, go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX, and change the user name to the English name.
    • Step 3: Configure the environment variables. Open Settings, go to "System - About - Advanced system settings - Environment Variables", and change any environment variables that point to the Chinese user folder to the English name.
    • Step 4: Link the original Chinese folder to the English folder. Run a PowerShell window as administrator and enter the following command:
    mklink /J "C:\Users\原中文用户文件夹" "C:\Users\现英文用户文件夹" 
    
    • Step 5: Run a PowerShell window as administrator and enter the following command:
    net user administrator /active:no
    
    • Step 6: Restart the computer and you're done.

3. FAQ

Question 1: I can't rename the user folder. It says "The action can't be completed because the folder is open in another program. Close the folder and try again."

Answer 1: Search for "Resource Monitor" in the Start menu and open it. In Resource Monitor, click the CPU tab, type the Chinese user folder name into the search box to the right of "Associated Handles", and click the drop-down arrow on the right to see which programs are using the folder. End the processes of those programs.