エラー (ローミング プロファイルが完全に同期されませんでした) とログオン、Windows 10でのログオフ遅延、バージョン 1803

この記事では、Windows 10 バージョン 1803 でローミング ユーザー プロファイルを使用するときに発生するエラーとログオン/ログオフの遅延を修正するためのヘルプを提供します。

適用対象: Windows 10バージョン 1803
元の KB 番号: 4340390

現象

バージョン 1803 Windows 10実行しているコンピューターでは、ローミング ユーザー プロファイルを使用するとログオンまたはログオフの遅延が発生します。 次のエラー メッセージも表示されます。

ローミング プロファイルが完全に同期されませんでした。 詳細については、イベント ログを参照するか、管理者に問い合わせてください"

さらに、システムはイベント ログに次のエントリを記録する場合があります。

  • イベント 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.
    

原因

この問題は、バージョン 1803 Windows 10で行われた変更が原因で発生します。 この変更により、通常はローミングから除外されるフォルダーが、ログオンまたはログオフ時にローミング ユーザー プロファイルによって同期される原因となります。

解決方法

この問題は、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 Pro センターの記事を参照してください。

reg export