This guide uses the built-in Administrator account to rename the main profile folder and update its path in the Registry. Examples of names in these steps are GnProj as the old name and Lt7 as a new name.
Notes: Profile and Registry folder changes can cause problems when logging in if the path is incorrect. Back up important data before starting.
Step 1: Enable it and log in to the built-in Administrator
- Click Start, type
cmd. - Right click Command Prompt, then select Run as administrator.
- Type the following command and press Enter:
net user administrator /active:yes - Sign out of the account you are using.
- On the log-in screen, select an account Administrators and enter.
Step 2: Rename the folder in C:\Users\
- Open File Explorer and go to
C:\Users\. - Right click the old folder (example:
GnProj), select Rename, then change the name (example:Lt7).
Step 3: Update profile path in Registry
- Press Windows + R, type
regedit, then press Enter. - In the left bar, go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList - Select long folders that start with
S-1-5-21-.... - In the right bar, search for
ProfileImagePath. - Double click and change the Value Data from the old path to the new path (example:
C:\Users\GnProjbeC:\Users\Lt7). - Click OK.
Step 4: Install a symbolic link
- In the Administrator account, open Command Prompt (Admin).
- Type the following command. Customize old and new folder names:
mklink /d C:\Users\GnProj C:\Users\Lt7 - Press Enter until the report appears
symbolic link created.
Step 5: Login to the main account and set up the Administrator account
- Sign out of the Administrator account.
- Log back into your main account using your regular PIN or password.
- To disable the built-in Administrator, open Command Prompt (Admin), then run:
net user administrator /active:no
Examples of account and folder names in this guide are GnProj and Lt7. Match the name on your device.
Comments