Fix OneDrive Files On-Demand Counting Toward Disk Quota on Server 2019
Question details
OneDrive files marked as online-only are still consuming local disk quota on Windows Server 2019.

- Product
- Microsoft OneDrive
- Device & OS
- Windows Server 2019
- Scenario
- Using OneDrive Files On-Demand in a Windows Server 2019 Remote Desktop Services (RDS) environment.
- Observed behavior
- Files set to online-only appear to consume user disk quota, even though third-party disk analysis tools indicate reduced local storage usage.
Ensure you have administrator privileges on the Windows Server 2019 RDS environment and verify that your OneDrive sync client is updated to the latest production version.
Verify OneDrive Client Version and Cross-Check Devices
Ensure the issue is isolated to Windows Server 2019 by testing the Files On-Demand feature on a standard Windows 10 desktop.
OneDrive Files On-Demand is designed to reduce local disk usage to zero when files are made online-only. Confirming that this feature works on a standard OS helps isolate the issue to the Windows Server environment.
Click the OneDrive cloud icon in your system tray, click the gear icon for Help & Settings, select Settings, and navigate to the About tab to verify you are running the latest production release.
Log into the same Microsoft 365 account on a standard Windows 10 or Windows 11 computer.
Right-click a large OneDrive folder and select 'Free up space'. Wait for the status icon to change to a blue cloud.
Right-click the same folder, select Properties, and confirm that the 'Size on disk' value drops to zero.

Escalate to Microsoft 365 Administrator Support
Since this is an environment-specific issue on Windows Server 2019 RDS, a back-end support ticket is required for a permanent fix.
Try WPS Office for Lightweight Document Management
While server-level OneDrive and quota issues require IT administrator or Microsoft support, you can optimize your daily document workflow with WPS Office. It is a highly compatible, free, and lightweight alternative to Microsoft Office that works seamlessly with your existing local and cloud files without heavy resource consumption.

Frequently Asked Questions
Why do online-only files still show full size in Windows File Explorer?
Windows File Explorer displays two metrics in properties: 'Size' (the logical, full size of the file) and 'Size on disk' (the actual storage space it consumes). For online-only files, 'Size on disk' should be zero, even though 'Size' reflects the total file weight.
Does OneDrive Files On-Demand work perfectly on Windows Server 2019?
While technically supported, Windows Server 2019 Remote Desktop Services (RDS) environments sometimes experience disk quota calculation glitches where placeholder files are incorrectly counted against user storage limits. This often requires IT backend investigation.
How do I force OneDrive to free up space manually?
Open File Explorer, locate the files or folders you want to remove from your local drive, right-click them, and select 'Free up space'. The file status icon will change to a blue cloud, indicating the local copy has been removed but remains accessible in the cloud.




