码迷,mamicode.com
首页 > Windows程序 > 详细

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

时间:2017-05-16 21:42:46      阅读:231      评论:0      收藏:0      [点我收藏+]

标签:退出   windows10   second   相关   windows   creat   value   with   管理员   

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>\

 

结束!

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

标签:退出   windows10   second   相关   windows   creat   value   with   管理员   

原文地址:http://www.cnblogs.com/tomclock/p/6863618.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!