修改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_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<User SID>\

 

結束!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM