User Tools

Site Tools


create_new_profile_win11

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
create_new_profile_win11 [2024/11/02 19:20] – created admincreate_new_profile_win11 [2024/11/02 19:33] (current) admin
Line 1: Line 1:
-Change Name of User Profile Folder in Windows 11 Tutorial+**Change Name of User Profile Folder in Windows 11 Tutorial**
  
  
Line 21: Line 21:
 If you do not have another administrator account, then you can temporarily enable the built-in Administrator to sign in to do these steps. If you do not have another administrator account, then you can temporarily enable the built-in Administrator to sign in to do these steps.
  
-3 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.+  3Open Windows Terminal, and select either Windows PowerShell or Command Prompt.
  
-4 Copy and paste either command below into Windows Terminal, and press Enter. (see screenshot below)+  4Copy and paste either command below into Windows Terminal, and press Enter. (see screenshot below)
  
-powershell "Get-LocalUser | Select-Object -Property @('Name', 'SID')"+  powershell "Get-LocalUser | Select-Object -Property @('Name', 'SID')"
  
 OR​ OR​
  
-wmic useraccount get name,SID​+  wmic useraccount get name,SID​
  
 Make note of the SID (ex: "S-1-5-21-2212846312-626644311-134141314-1002") for the account (ex: "Brink2") you want to change the name of its user profile folder. You will need to know this SID in step 6 below. Make note of the SID (ex: "S-1-5-21-2212846312-626644311-134141314-1002") for the account (ex: "Brink2") you want to change the name of its user profile folder. You will need to know this SID in step 6 below.
  
-SID.png+{{ :sid.webp |}}
  
-5 Open Registry Editor (regedit.exe).+  5Open Registry Editor (regedit.exe).
  
-6 Navigate to the key below in the left pane of Registry Editor. (see screenshot below)+  6Navigate to the key below in the left pane of Registry Editor. (see screenshot below)
  
-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<SID>+  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<SID>
  
 Substitute <SID> in the registry key path above with the actual SID (ex: "S-1-5-21-2212846312-626644311-134141314-1002") from step 4 above for the account name (ex: "Brink2") you want to change the name of its user profile folder. Substitute <SID> in the registry key path above with the actual SID (ex: "S-1-5-21-2212846312-626644311-134141314-1002") from step 4 above for the account name (ex: "Brink2") you want to change the name of its user profile folder.
  
-For example:+For example:  
 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-2212846312-626644311-134141314-1002 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-2212846312-626644311-134141314-1002
  
-User_profile_folder_name_regedit-1.png+{{ :user_profile_folder_name_regedit-1.webp |}}
  
-7 In the right pane of the SID key (ex: "S-1-5-21-2212846312-626644311-134141314-1002"), double click/tap on the ProfileImagePath expandable string value (REG_EXPAND_SZ) to modify it. (see screenshot above)+  7In the right pane of the SID key (ex: "S-1-5-21-2212846312-626644311-134141314-1002"), double click/tap on the ProfileImagePath expandable string value (REG_EXPAND_SZ) to modify it. (see screenshot above)
  
-8 Change the current name of the user profile folder in its full path (ex: "C:\Users\Brink2") to what you want (ex: "C:\Users\Brink3") instead, and click/tap on OK. (see screenshot below)+  .Change the current name of the user profile folder in its full path (ex: "C:\Users\Brink2") to what you want (ex: "C:\Users\Brink3") instead, and click/tap on OK. (see screenshot below)
  
 Make note of the current full path and name (ex: "C:\Users\Brink2") and new name (ex: "Brink3") for this account's user profile folder. Make note of the current full path and name (ex: "C:\Users\Brink2") and new name (ex: "Brink3") for this account's user profile folder.
Line 56: Line 57:
 You will need to know both in step 10 and step 12 below. You will need to know both in step 10 and step 12 below.
  
-User_profile_folder_name_regedit-2.png+{{ :user_profile_folder_name_regedit-2.webp |}}
  
-9 You can close Registry Editor and Windows Terminal if you like. (see screenshot below)+  9You can close Registry Editor and Windows Terminal if you like. (see screenshot below)
  
-User_profile_folder_name_regedit-3.png+{{ :user_profile_folder_name_regedit-3.webp |}}
  
-10 Open File Explorer (Win+E), and navigate to the original full path of the user profile folder (ex: "C:\Users\Brink2") from step 8 above.+  10Open File Explorer (Win+E), and navigate to the original full path of the user profile folder (ex: "C:\Users\Brink2") from step 8 above.
  
-11 Select the user profile folder (ex: "Brink2"), and click/tap on the Rename icon on the command bar at the top. (see screenshot below)+  11Select the user profile folder (ex: "Brink2"), and click/tap on the Rename icon on the command bar at the top. (see screenshot below)
  
-User_profile_folder_name_File_Explorer-1.png+{{ :user_profile_folder_name_file_explorer-1.webp |}}
  
-12 Change the current name of the user profile folder (ex: "Brink2") to the same new name (ex: "Brink3") from step 8 above. (see screenshot below)+  12Change the current name of the user profile folder (ex: "Brink2") to the same new name (ex: "Brink3") from step 8 above. (see screenshot below)
  
-User_profile_folder_name_File_Explorer-2.png+{{ :user_profile_folder_name_file_explorer-2.webp |}}
  
-13 You can now close File Explorer if you like.+  13You can now close File Explorer if you like.
  
-14 Create a symbolic link using the command below in an elevated command prompt. This symbolic link will show as a folder shortcut with the old profile name so anything that still references the old user profile folder name will be automatically redirected to the new user profile folder name.+  14Create a symbolic link using the command below in an elevated command prompt. This symbolic link will show as a folder shortcut with the old profile name so anything that still references the old user profile folder name will be automatically redirected to the new user profile folder name.
  
 You can skip this step 14 if you like so as not to have a folder shortcut with the old profile name. You can skip this step 14 if you like so as not to have a folder shortcut with the old profile name.
Line 80: Line 81:
 If you skip this step 14 and have any issues of something not able to find your new profile folder name, then you will just need to do this step 14 to fix it. If you skip this step 14 and have any issues of something not able to find your new profile folder name, then you will just need to do this step 14 to fix it.
  
-mklink /d "Full path of old profile folder name" "full path of new profile folder name"+  mklink /d "Full path of old profile folder name" "full path of new profile folder name"
  
 Substitute Full path of old profile folder name in the command above with the actual full path of the old user profile folder name (ex: "C:\Users\Brink2"). Substitute Full path of old profile folder name in the command above with the actual full path of the old user profile folder name (ex: "C:\Users\Brink2").
Line 86: Line 87:
 Substitute full path of new profile folder name in the command above with the full path of the new user profile folder name (ex: "C:\Users\Brink3"). Substitute full path of new profile folder name in the command above with the full path of the new user profile folder name (ex: "C:\Users\Brink3").
  
-For example: mklink /d "C:\Users\Brink2" "C:\Users\Brink3"+  For example: mklink /d "C:\Users\Brink2" "C:\Users\Brink3" 
 + 
 +  15. If you use OneDrive, then while signed in to the account you ranamed its profile folder for, change the OneDrive folder location to correct it for the new user profile folder name (ex: "Brink3") if needed. (see screenshot below) 
 + 
 +{{ :user_profile_folder_name_onedrive.webp |}} 
 + 
 +  16. Reset and rebuild the Windows Search index to clear any entries pointing to the old profile folder name.
  
-15 If you use OneDrive, then while signed in to the account you ranamed its profile folder for, change the OneDrive folder location to correct it for the new user profile folder name (ex: "Brink3") if needed. (see screenshot below)+That'it!
  
-User_profile_folder_name_OneDrive.png+Enjoy,
  
-16 Reset and rebuild the Windows Search index to clear any entries pointing to the old profile folder name.+**Your ArtIT Team** 
 +\\ 
 +\\
  
-That's it,+**[[windows|BACK]]**
create_new_profile_win11.1730571620.txt.gz · Last modified: 2024/11/02 19:20 by admin