12

解决 Win 8.1 User Profile Service 无法登录的问题

 3 years ago
source link: http://misaka.im/index.php/archives/39/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

解决 Win 8.1 User Profile Service 无法登录的问题

2018.11.17默认分类 0 评

因为复制硬盘后忘记修改分区,导致 Windows 找不到原位置的 User 用户文件夹。

在登录界面用户头像也变成默认的,输入正确的密码后便提示:

User Profile Service服务未能登录。

无法加载用户配置文件。

下意识就知道是路径不存在,导致配置文件读取失败。

被挡在登录界面,进不了桌面。

只好尝试进入安全模式,点击重启前按住 Shift 键(7 是 开机时按住 Shift + F8 ),转圈后进入蓝色背景,

依次点击 疑难解答 - 高级选项 - 启动设置 - 重启

再次进来的时候敲 4) 就可以进入全模式啦。

很快,右下角便提示:

windows不能加载用户的配置文件,但是用系统的默认配置让您登录。

修改为正确路径

这里先用 DiskGenius 或者 PartAssist 将复制后的盘符更改为原先的 E: 盘。

但当前使用的用户配置是临时的,需要手动指定配置目录。

在安全模式中 通过

WIN + R regedit 打开注册表,定位到这个路径:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

image

  • 删除 default 项
  • 修改 ProfilesDirectory 到正确的 User 路径(一般为系统盘下的用户文件夹)
  • 修改 Public 到正确的 UserPublic 路径

重启 2 次之后会加载启动项,拷贝硬盘引发的问题也解决了。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK