Solution:
Root Cause: Connected Devices Platform Service (CDPSvc) Token Desynchronization
Cross-device clipboard synchronization relies on the Microsoft Connected Devices Platform Service (
CDPSvc) and its user-level instance (
CDPUserSvc). These services negotiate TLS sockets with the Azure Cloud Relay using an OAuth 2.0 refresh token tied to your Microsoft Account (MSA). If the local token cache stored under
C:\Users\[Username]\AppData\Local\ConnectedDevicesPlatform becomes desynchronized or corrupted during network transitions,
CDPSvc fails silent authentication checks and drops outgoing clipboard payloads.
# Diagnostic Verification:
Open PowerShell as Administrator and run: powershell
Get-Service -Name CDPSvc, CDPUserSvc*
Confirm whether
Status is
Running.
Check Event Viewer under Applications and Services Logs > Microsoft > Windows > ConnectedDevicesPlatform > Operational for Event ID 102 or 109 indicating authentication token rejection.# Step-by-Step Fix:
1. Stop Connected Devices Services:
Open Admin PowerShell and execute: powershell
Stop-Service -Name CDPSvc -Force
Get-Service -Name CDPUserSvc* | Stop-Service -Force
2. Purge Local Connected Devices Cache Directory:
Navigate to the local CDP storage folder: powershell
Remove-Item -Path "$env:LOCALAPPDATA\ConnectedDevicesPlatform\*" -Recurse -Force -ErrorAction SilentlyContinue
3. Verify Account Identity Sign-in State:
Open Settings > Accounts > Your info.If you see Verify under your account email, click it and follow the prompts to complete multi-factor authentication.4. Re-enable Service Auto-Start and Restart:
Run the following in PowerShell: powershell
Set-Service -Name CDPSvc -StartupType Automatic
Start-Service -Name CDPSvc
5. Toggle Cloud Clipboard Setting:
Go to Settings > System > Clipboard.Toggle Clipboard history to Off and then back to On.Ensure Sync across your devices is set to Automatically sync text that I copy.# Prevention & Long-Term Monitoring:
Ensure corporate firewalls or third-party security software do not block outbound HTTPS traffic on port 443 to *.activity.windows.com and *.cdp.microsoft.com.