How to change Windows User Account name throughout the system?

0

1

Is it possible to change the Windows User Account name throughout the system?

Like the examples below, there may be other locations where there is no change in account name.

image

If yes, please let me know how to do it.

FewL

Posted 2017-05-05T08:39:26.810

Reputation: 215

Answers

2

The two images you have included show both the same - the profile folder.

As Microsoft says :

When you rename a user account [...], the user profile path is not changed automatically. It may cause some confusion when the %SystemDrive%\users folder is viewed

The article recommends this procedure :

  1. Log-in as another admin account
  2. Rename your C:\Users\<user-name> folder
  3. Use regedit to go to the key
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.
  4. Find your account as a sub-key. It can be identified by the ProfileImagePath item.
  5. Modify the value of ProfileImagePath to the new path name
  6. Log out and log in again by using the user whose name was changed

I suggest creating at least a system restore point as backup before starting.

A more detailed wiki of the procedure can be found here (although written for Windows 7 and has more steps).

I don't know of other places where the old user-name may still be left. You will have to deal with them when encountered.

harrymc

Posted 2017-05-05T08:39:26.810

Reputation: 306 093

0

You have to:

  1. Create another administrator account, as you seem to have only one
  2. Log in with said new administrator account
  3. Rename your user folder, so in your case C:\Users\MyDesktop to C:\Users\Digital Machine
  4. With regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\
  5. Among the entries, identify your account using the ProfileImagePath key
  6. Change said key, in your case to C:\Users\Digital Machine
  7. Log out.

On your next login, your user account should use the updated user path.

Source: https://support.microsoft.com/de-de/help/2454362/renaming-a-user-account-does-not-automatically-change-the-profile-path

m3rt

Posted 2017-05-05T08:39:26.810

Reputation: 21

I got there first by 6 whole minutes .... – harrymc – 2017-05-05T09:36:30.110

@harrymc you beat me. Nice, I guess – m3rt – 2017-05-05T09:41:27.000