How to Fix Office Files Renamed to Random Numbers by OneDrive
Question details
Users experience an issue where open Office files (such as Excel, Word, or PowerPoint) are unexpectedly renamed to random numbers by OneDrive, sometimes causing the original file to disappear after closing.

- Product
- Microsoft Office, OneDrive
- Device & OS
- not provided
- Scenario
- Saving or synchronizing Office documents to OneDrive while working on them.
- Observed behavior
- Files receive random-number filenames while open, and the original document might vanish after it is closed due to synchronization conflicts or temporary upload file glitches.
Before proceeding, do not close or delete the file currently showing a random number name, and immediately use the 'Save As' feature to create a backup copy in a local folder outside of OneDrive.
Resolve Sync Conflicts and Update Software
Updating your Office and OneDrive apps while checking for synchronization conflicts is the primary way to stop temporary file renaming issues.
A random-number filename typically indicates a save or synchronization conflict. It is a temporary behavior that occurs when there is a communication breakdown between Office and OneDrive. Updating your software and resolving conflicts will usually restore normal saving operations.
Open any Office application like Excel, navigate to File > Account > Update Options, and click 'Update Now'. Additionally, ensure your OneDrive desktop client is running the latest version.
Click the OneDrive cloud icon in your computer's system tray or menu bar to view active synchronization errors, file locks, or upload conflicts.
Use 'Save As' to save a test copy of the affected document to your local Desktop or Documents folder to verify if the renaming issue is strictly related to OneDrive synchronized locations.
Pause OneDrive Sync and Disable AutoSave
If conflicts persist, pausing synchronization and turning off AutoSave can temporarily prevent the system from creating random-numbered files.
Experience Stable Cloud Saving with WPS Office
If Microsoft Office and OneDrive sync issues continue to disrupt your workflow with random file renaming, consider switching to WPS Office. It provides a highly compatible, lightweight, and free alternative with reliable local and built-in cloud saving options to prevent file conflicts and data loss.
- 1. Download and Install: Get the free WPS Office suite from the official website and install it on your device.
- 2. Open Your Files: Open your existing Office documents directly in WPS Office; they will retain their original formatting.
- 3. Enable WPS Cloud: Sign in to your WPS account to automatically and safely synchronize your files without filename conflicts.

Frequently Asked Questions
Why does OneDrive rename my Excel files to random numbers?
When OneDrive encounters a synchronization conflict or a file lock while AutoSave is active, it may temporarily save the document using an internal upload filename (often a string of random numbers) to prevent data loss during the transfer.
Can I recover the original file if it disappears after closing?
Yes, you can often recover it by checking the OneDrive online recycle bin or your computer's local Recycle Bin. Alternatively, open the random-numbered file from your recent files list and use 'Save As' to restore its original name and location.
Does disabling AutoSave permanently fix the random number renaming issue?
Disabling AutoSave acts as a temporary workaround by stopping real-time cloud synchronization. To fix the root cause permanently, you need to resolve the underlying OneDrive synchronization errors or update your Office applications.
Is it safe to delete the file with the random number name?
No. While the file has a random number name, it often contains your most recent unsaved changes. Always open the file and save a copy with the correct name to a local folder before deleting the temporary numbered file.




