Fix OneDrive Offline Files Disappearing or Becoming Corrupted
Question details
Users experience files disappearing or getting corrupted when saving to OneDrive while offline or when sync is delayed.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Working offline or experiencing an interrupted internet connection while editing and saving documents to a OneDrive directory.
- Observed behavior
- Files appear to be saved locally but later disappear, fail to upload to the cloud, or become corrupted once the internet connection is restored.
Before attempting a client reset, ensure your internet connection is stable and manually copy any accessible, recently edited files from your local OneDrive folder to your Desktop to prevent permanent data loss.
Reset the OneDrive Desktop Client
Resetting the OneDrive application clears local cache errors and forces a full resynchronization of your offline files without deleting your data.
If the synchronization routine is stuck or delayed, resetting the OneDrive desktop client is the most effective way to restore normal operations. This process does not delete your files but will re-sync all data.
Press the Windows key + R on your keyboard simultaneously to open the Run dialog box.
Type '%localappdata%\Microsoft\OneDrive\onedrive.exe /reset' and press Enter.
Wait for the OneDrive cloud icon in the system tray to disappear and reappear. If it does not reappear after two minutes, open the Start menu, search for 'OneDrive', and click to launch it manually.
Leave your computer connected to the internet and allow OneDrive to complete a full synchronization of all files.

Check the Local File Explorer Cache
Since AutoSave saves edits to the local folder while offline, you can manually check File Explorer for missing file versions before they are overwritten.
Escalate to Microsoft 365 Support
If resetting OneDrive does not resolve the data loss, escalating the issue via the Microsoft 365 Admin Center is required for deeper technical support.
Try WPS Office for Reliable Cloud Saving and Editing
If you are frustrated by OneDrive sync issues and Office file corruption, WPS Office provides a stable, lightweight, and free alternative. With built-in WPS Cloud, your documents are securely synced and auto-saved, preventing unexpected data loss even when switching between offline and online states.
- 1. Download and Install: Visit the official WPS website to download and install WPS Office for free.
- 2. Activate WPS Cloud: Sign in with your email or social account to activate your free WPS Cloud storage space.
- 3. Enable Auto-Backup: Turn on Auto-Backup in the settings to ensure your local edits are securely saved and seamlessly synced once online.

Frequently Asked Questions
Why do my OneDrive files disappear when I work offline?
When working offline, files are cached locally in your File Explorer. If the OneDrive sync client encounters an error, conflicts with another version, or is closed abruptly before the connection is restored, the files may fail to upload to the cloud, making them appear missing.
Can I recover a corrupted file from OneDrive?
Yes, you can often recover corrupted files using the Version History feature. Log into OneDrive online via your web browser, right-click the affected file, select 'Version history', and restore an earlier, uncorrupted version of the document.
Does resetting OneDrive delete my local files?
No, resetting the OneDrive client only clears the application's cache and sync settings. Your actual files remain safe in their respective folders, and OneDrive will simply perform a full resynchronization once it restarts.
How does the AutoSave function work when I am offline?
The Office AutoSave toggle is designed to save changes directly to the cloud. When you go offline, AutoSave temporarily saves your edits to the local OneDrive folder cache. These cached edits will automatically synchronize with the cloud once your internet connection is restored.




