Hello Steve Sabin,
Thank you for sharing your concern with us here in the Microsoft Community.
Based on your detailed description, this appears to be a recurring issue with the Windows App (formerly Remote Desktop) where the desktop client crashes silently after prolonged use and fails to relaunch until reinstalled. Here's a structured approach to diagnose and resolve the problem:
Root Cause Analysis
- Not a Resource Issue
- Confirmed by:
- Error persists after reboot (resources freed).
- Reinstall works without reboot.
- Likely caused by:
- Corrupted local app data after prolonged sessions.
- Broken client-server handshake during auto-reconnection attempts.
- Pattern Recognition
- Triggered when:
- App runs uninterrupted for days.
- Laptop goes to sleep/hibernation with active connection.
- Browser version works → Points to desktop app's local state management bug.
Step-by-Step Solutions
**1. Clear App Data Without Reinstalling (Faster Fix) **
When the error occurs:
- Close all Windows App processes via Task Manager (msrdc.exe).
- Delete local cache files:
- Press Win+R, paste:
%localappdata%\Packages\Microsoft.RemoteDesktop_8wekyb3d8bbwe
- Delete the LocalCache and Temp folders.
- Relaunch the app.
- This often fixes the issue without reinstallation.
**2. Prevent Data Corruption **
- Always manually disconnect (don't just close the app).
- Disable auto-reconnect:
- Open Windows App → Settings (gear icon).
- Under "Connections", toggle off "Reconnect automatically".
**3. Repair App Dependencies **
- Run Windows Store Apps Troubleshooter:
- Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Store Apps.
- Reset the app:
- Settings > Apps > Installed Apps > Windows App > Advanced Options > Reset.
**4. Alternative: Use Classic Remote Desktop Client **
If the issue persists:
- Install the legacy Remote Desktop (MSTSC):
- Open PowerShell as admin and run:
Get-WindowsCapability -Online | Where-Object { $_.Name -like 'Rsat.RemoteDesktop*' } | Add-WindowsCapability -Online
- Access your VM via:
- mstsc.exe (supports persistent connections better).
Long-Term Workarounds
- Schedule Weekly Cache Cleanup: Create a task in Task Scheduler to clear
- %localappdata%\Packages\Microsoft.RemoteDesktop_8wekyb3d8bbwe\LocalCache every 7 days.
- Use Web Client as Backup: Bookmark the browser-based client for emergencies.
Why Reinstalling "Works" (Temporarily)
- The uninstall process deletes corrupted cache files, which the app regenerates on fresh install.
- Better solution: Manually clear cache (Step 1) to avoid download delays.
Pro Tip for Searching Issues
- Use these precise search terms:
- "Windows App" (RemoteDesktop OR MSRDC) crash after idle site:answers.microsoft.com
- "Windows App" connection state bug site:github.com/microsoft.
Best regards,
XXXX | Microsoft Community Support Specialist Hello,
Thank you for sharing your concern with us here in the Microsoft Community.
Based on your detailed description, this appears to be a recurring issue with the Windows App (formerly Remote Desktop) where the desktop client crashes silently after prolonged use and fails to relaunch until reinstalled. Here's a structured approach to diagnose and resolve the problem:
Root Cause Analysis
- Not a Resource Issue
- Confirmed by:
- Error persists after reboot (resources freed).
- Reinstall works without reboot.
- Likely caused by:
- Corrupted local app data after prolonged sessions.
- Broken client-server handshake during auto-reconnection attempts.
- Pattern Recognition
- Triggered when:
- App runs uninterrupted for days.
- Laptop goes to sleep/hibernation with active connection.
- Browser version works → Points to desktop app's local state management bug.
Step-by-Step Solutions
**1. Clear App Data Without Reinstalling (Faster Fix) **
When the error occurs:
- Close all Windows App processes via Task Manager (msrdc.exe).
- Delete local cache files:
- Press Win+R, paste:
%localappdata%\Packages\Microsoft.RemoteDesktop_8wekyb3d8bbwe
- Delete the LocalCache and Temp folders.
- Relaunch the app.
- This often fixes the issue without reinstallation.
**2. Prevent Data Corruption **
- Always manually disconnect (don't just close the app).
- Disable auto-reconnect:
- Open Windows App → Settings (gear icon).
- Under "Connections", toggle off "Reconnect automatically".
**3. Repair App Dependencies **
- Run Windows Store Apps Troubleshooter:
- Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Store Apps.
- Reset the app:
- Settings > Apps > Installed Apps > Windows App > Advanced Options > Reset.
**4. Alternative: Use Classic Remote Desktop Client **
If the issue persists:
- Install the legacy Remote Desktop (MSTSC):
- Open PowerShell as admin and run:
Get-WindowsCapability -Online | Where-Object { $_.Name -like 'Rsat.RemoteDesktop*' } | Add-WindowsCapability -Online
- Access your VM via:
- mstsc.exe (supports persistent connections better).
Long-Term Workarounds
- Schedule Weekly Cache Cleanup:
Create a task in Task Scheduler to clear - %localappdata%\Packages\Microsoft.RemoteDesktop_8wekyb3d8bbwe\LocalCache every 7 days.
- Use Web Client as Backup:
Bookmark the browser-based client for emergencies.
Why Reinstalling "Works" (Temporarily)
- The uninstall process deletes corrupted cache files, which the app regenerates on fresh install.
- Better solution: Manually clear cache (Step 1) to avoid download delays.
Pro Tip for Searching Issues
- Use these precise search terms:
- "Windows App" (RemoteDesktop OR MSRDC) crash after idle site:answers.microsoft.com
- "Windows App" connection state bug site:github.com/microsoft.
Best regards,
Kai Ho | Microsoft Community Support Specialist