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_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<User SID>\
結束!