How to Fix PowerPoint Exporting Empty Files to OneDrive on Windows
Question details
Users need to resolve an issue where exporting PowerPoint slides directly into a OneDrive folder creates zero-byte files.

- Product
- Microsoft PowerPoint, Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Exporting PowerPoint presentations to PDF, TIFF, or JPG formats into a OneDrive synchronized folder.
- Observed behavior
- The export process completes, but the resulting files in the OneDrive folder are empty (zero bytes) on Windows, despite the same process working perfectly on a Mac.
Before proceeding with repairs, try exporting your PowerPoint presentation to a local, non-synced folder (such as your Desktop) to verify if the issue is strictly isolated to OneDrive synchronization.
Repair Office Online and Reset OneDrive
Use Microsoft's built-in repair tools and reset the OneDrive client to fix temporary sync-related export glitches.
Because the export function usually works locally but fails in the OneDrive directory, the issue often stems from a conflict between Office and the OneDrive sync engine on Windows.
Export your presentation to a local folder like Documents or Desktop to confirm the issue is exclusively related to the OneDrive directory.
Go to Windows Settings > Apps > Installed apps. Scroll down to find your Microsoft Office installation, click the three dots, select 'Modify', and choose 'Online Repair'.
Press Windows + R to open the Run dialog. Type '%localappdata%\Microsoft\OneDrive\onedrive.exe /reset' and press Enter. This will restart the OneDrive sync client.
Restart your Windows computer, open PowerPoint, and attempt to export your file to the OneDrive folder again.

Unlink and Reinstall the OneDrive Client
If a reset doesn't work, completely reinstalling OneDrive and syncing to a new folder can resolve deep-rooted cache issues.
Contact Microsoft 365 Administrator Support
When local troubleshooting fails, the issue may require backend investigation and log collection by Microsoft.
Avoid Sync Errors with WPS Office
If Microsoft PowerPoint and OneDrive integration continues to cause frustrating zero-byte file errors, consider switching to WPS Office. It provides a lightweight, highly compatible, and free alternative that seamlessly creates and exports PDFs and images without complex sync conflicts.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your Windows PC.
- 2. Open your Presentation: Launch WPS Presentation and open your existing .pptx file seamlessly.
- 3. Export without errors: Use the built-in 'Export to PDF' or 'Export to Picture' features to safely save your files directly to any cloud or local folder.

Frequently Asked Questions
Why does PowerPoint create zero-byte PDF files only in OneDrive?
This typically occurs due to a synchronization conflict or cache error within the OneDrive client on Windows, which interrupts the application's file writing process during the export.
Does this issue affect PowerPoint on Mac?
No, this specific zero-byte export issue is usually isolated to the Windows OneDrive client. Mac users exporting to OneDrive typically do not experience this same file generation error.
How do I export my PowerPoint as a high-quality JPG?
You can go to File > Save As or Export, select JPEG as the file format, and choose to save either the current slide or all slides. If OneDrive is causing errors, save it to your local Desktop first, then move it to OneDrive.




