错误 (漫游配置文件未完全同步) 和登录,Windows 10版本 1803 中的注销延迟

本文提供有关在 Windows 10 版本 1803 中使用漫游用户配置文件时出现的错误和登录/注销延迟的帮助。

适用于:Windows 10版本 1803
原始 KB 编号: 4340390

症状

在运行 Windows 10 版本 1803 的计算机上,使用漫游用户配置文件时会遇到登录或注销延迟。 还会收到以下错误消息:

漫游配置文件未完全同步。 有关详细信息,请参阅事件日志或联系管理员”

此外,系统可能会在事件日志中记录以下条目。

  • 事件 1509 (源:用户配置文件常规)

    Windows cannot copy file \\?\C:\Users\%username%\AppData\Local\Microsoft\Windows\<Path to a file> to location \\?\UNC Path\%username%.V6\AppData\Local\Microsoft\Windows\<path to a file>. This error may be caused by network problems or insufficient security rights.  
    DETAIL - Access is denied.
    
  • 事件 509 (源:用户配置文件常规)

    Windows cannot copy file \\?\C:\Users\UserName\AppData\Local\Microsoft\Windows\UPPS\UPPS.bin to location \\?\UNC Path\UserName.V6\AppData\Local\Microsoft\Windows\UPPS\UPPS.bin. This error may be caused by network problems or insufficient security rights.  
    DETAIL - Access is denied.
    
    Windows cannot copy file \\?\C:\Users\UserName\AppData\Local\Microsoft\WindowsApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe to location \\?\UNC\WS2016DC1\rup\UserName.V6\AppData\Local\Microsoft\WindowsApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe. This error may be caused by network problems or insufficient security rights.  
    DETAIL - The file cannot be accessed by the system.
    
    Windows cannot copy file \\?\C:\Users\UserName\AppData\Local\Microsoft\WindowsApps\MicrosoftEdge.exe to location \\?\UNC\WS2016DC1\rup\UserName.V6\AppData\Local\Microsoft\WindowsApps\MicrosoftEdge.exe. This error may be caused by network problems or insufficient security rights.  
    DETAIL - The file cannot be accessed by the system.
    
  • 事件 1504 (源:用户配置文件常规)

    Windows cannot update your roaming profile completely. Check previous events for more details.
    

原因

出现此问题的原因是在 Windows 10 版本 1803 中进行了更改。 此更改无意中导致在登录或注销时漫游用户配置文件同步通常从漫游中排除的文件夹。

解决方案

以下针对 Windows 10 版本 1803 的更新中修复了此问题:

2018 年 7 月 24 日-KB4340917 (OS 内部版本 17134.191)

解决方法

重要

请仔细遵循本部分中的步骤进行操作。 对注册表修改不当可能会导致严重问题。 修改之前,备份注册表以便在发生问题时进行还原

若要解决此问题,可以将 ExcludeProfileDirs 注册表项从基于 Windows 10 版本 1709 的计算机复制到遇到此问题的基于版本 1803 的计算机。 注册表项的完整路径:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\ExcludeProfileDirs

有关如何使用 reg.exe 工具导出和导入注册表项的信息,请参阅以下 Windows IT 专业中心文章:

reg export