修改Windows用户名后用户路径没有修改的解决方案

Windows10之前,新建一个系统用户userfirst后,会自动在系统盘C下的Users里头增加一个userfirst的文件夹。

在当前情况下,若更改用户名 usersecond,此时,C下的Users里头并不会生成usersecond的文件夹,而是沿用

userfirst文件夹。

解决方案:


1. Log in by using another administrative account.

(另外再创建一个管理员帐户UserThird)

Note You may need create a new administrative account at first.

2. Go to the Cusers folder and rename the sub folder with the original user name to the new user name.

(退出Usersecond帐户,用UserThird帐户进入电脑, 手动将C:¥Users¥userfirst改成C:¥Users¥userSecond)


3. Go to registry and modify the registry value ProfileImagePath to the new path name.

(进入下面的注册表,找到相关路径下,找到ProfileImagePath =C:¥Users¥userfirst ,将其更改为

ProfileImagePath =C:¥Users¥usersecond)

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionProfileList<User SID>

结束!

Love it, and you live without it
原文地址:https://www.cnblogs.com/tomclock/p/6863618.html