Troubleshoot Office and OneDrive Issues on Windows Server 2019 RDS
Question details
Users experience intermittent performance, synchronization, and licensing issues with Microsoft Office and OneDrive in a Windows Server 2019 Remote Desktop Session Host environment.

- Product
- Microsoft Office, OneDrive
- Device & OS
- Windows Server 2019 RDS
- Scenario
- Running Office applications and OneDrive synchronization on a production Remote Desktop Session Host server.
- Observed behavior
- Intermittent black screens, synchronization failures, and licensing errors occur across RDS servers, temporarily resolving after a server restart. Event Viewer logs Event ID 2 with error code 0xC000022.
Before making system-level changes or analyzing services, ensure you have administrative access to the Windows Server 2019 RDS environment and that event logging is properly enabled.
Collect Logs and Investigate RDS Services
Since the issue spans multiple Office applications and temporary server restarts resolve it, investigate the underlying Remote Desktop Services rather than just Office components.
Troubleshooting RDS environments requires capturing errors precisely when the outage occurs. Relying on temporary server restarts clears the current state and makes root-cause analysis difficult.
Press Windows Key + R, type eventvwr.msc, and press Enter to launch the Event Viewer on the affected Windows Server 2019 host.
Navigate to Windows Logs > System and Application logs. Filter the logs to check for Event ID 2 with error code 0xC000022 during the exact time of the outage.
Simultaneously collect active logs for Remote Desktop, Office, OneDrive, and licensing services while the users are experiencing black screens or sync failures.
Review the collected data to identify service-level bottlenecks or permission conflicts (often indicated by the 0xC000022 access denied code) in the RDS environment.

Consult Microsoft Support and RDS Communities
Reach out to specialized Microsoft channels for advanced Remote Desktop troubleshooting and log analysis.
Try WPS Office for a Streamlined RDS Experience
If Microsoft Office and OneDrive continue to cause intermittent RDS server issues and complex licensing errors, consider switching to WPS Office. It offers a lightweight, highly compatible alternative that is easier to deploy and manage on server environments without complex activation bottlenecks.
- 1. Download the Installer: Visit the official WPS Office website to download the lightweight installer.
- 2. Deploy on the Server: Run the installation file on your Windows environment to deploy the software for your users.
- 3. Start Creating: Open WPS Writer, Spreadsheet, or Presentation to immediately start working with full Microsoft format compatibility.

Frequently Asked Questions
Why does restarting the server only temporarily fix the Office and OneDrive issues?
Restarting the server clears the immediate memory or service deadlock causing the black screens and sync failures. However, it does not resolve the underlying RDS configuration or permissions issue that triggers Event ID 2.
What does Event ID 2 with error code 0xC000022 mean in Windows Server?
Error code 0xC000022 typically indicates an 'access denied' status or a permissions conflict at the system level. In an RDS environment, this can prevent Office applications and OneDrive from accessing required system resources, network paths, or licensing tokens.
Can this RDS issue be fixed by simply reinstalling Microsoft Office?
Because the issue affects multiple components across Remote Desktop Session Host servers and is linked to system-level Event ID 2 errors, reinstalling Office alone is unlikely to resolve it. The root cause typically lies within the server configuration or Remote Desktop Services itself.




