Do not delete or rename the active TMP files; close the application creating them, restart the computer, and then move only the remaining stale TMP files outside OneDrive before repairing the sync connection.
An underscore is not among Microsoft’s listed restricted filename characters, so changing that naming convention is not the relevant next step. Temporary .tmp files are working or recovery files created by an application, and altering one while it is active can cause lost work or break the originating application.[^1^](https://support.microsoft.com/onedrive/onedrive-is-stuck-on-sync-pending#onedrive-folder-shows-sync-pending-but-no-file-is-visible "OneDrive is stuck on "Sync pending" | Microsoft Support")
Clear the active temporary-file cycle
- Save the document under its intended filename.
- Close the document and fully exit the application that edits it.
- Select the OneDrive cloud icon in the taskbar or menu bar and note which files are syncing or showing an error. Temporary or hidden files can block synchronization.[^2^](https://support.microsoft.com/onedrive/troubleshoot-onedrive-sync-issues-stuck-on-processing-changes#how-to-fix-onedrive-sync-stuck-on-processing-changes "Troubleshoot OneDrive Sync Issues: Stuck on "Processing Changes" | Microsoft Support")
- Restart the computer. This releases a TMP file that the application may still have locked.
- If the TMP files remain after restarting, move them to a temporary folder outside the OneDrive folder. Keep them until the original documents have opened correctly and synced successfully.
- Open one affected document, make a small test change, close it, and confirm through OneDrive on the web that the original filename received the update.
If this happens only with one application or file type, that application is the likely creator of the temporary files. Test another Office document in the same OneDrive folder to distinguish an application-specific save problem from a general OneDrive sync problem.
Repair OneDrive for Windows if every application is affected
For OneDrive Personal on Windows, unlink and reconnect the PC:
- Select the OneDrive cloud icon → Help & Settings → Settings → Account.
- Select Unlink this PC → Unlink account.
- Press Windows+R, enter
%localappdata%\Microsoft\OneDrive\settings, and select OK.
- Delete
PreSignInSettingsConfig.json.
- Start OneDrive, sign in, and select Use this folder when told the folder already exists.
- Wait for synchronization to finish before testing another edit.
Unlinking temporarily disconnects the local folder but does not delete the cloud or local files.^3^
If the behavior continues, reset the sync client:
- Press Windows+R.
- Run:
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
- If Windows cannot find it, run:
C:\Program Files\Microsoft OneDrive\onedrive.exe /reset
- Start OneDrive manually from the Start menu.
A reset rebuilds OneDrive’s sync state and performs a full synchronization; it does not delete the files.^4^
Check these distinct cases
- Files receive the computer name as a suffix, such as
Report-DESKTOP.xlsx: this is duplicate/conflict behavior rather than TMP handling. Open Credential Manager → Windows Credentials → Generic Credentials, remove entries containing MicrosoftAccount and the account username, and restart OneDrive.^5^
- Mac shows
OneDriveCloudTemp in Finder: that folder is temporary storage used by OneDrive’s Open in App feature and is normally hidden. To remove it only from Finder’s sidebar, Option-click it → Remove from Sidebar. This does not delete the folder or repair files that are genuinely being renamed.^6^
- Office reports a document-cache problem or remains stuck uploading: in an Office application, use File → Options → Save → Cache Settings → Delete cached files, then restart Office. Newer Microsoft 365 versions maintain this cache even when Upload Center is not visible.^7^
After the original filename remains stable and the latest version appears online, create a new sharing link; an existing link can stop working after the target filename changes.^8^
References
- OneDrive is stuck on "Sync pending" | Microsoft Support
- Troubleshoot OneDrive Sync Issues: Stuck on "Processing Changes" | Microsoft Support
- Fix OneDrive sync problems
- Reset OneDrive | Microsoft Support
- Duplicate files in OneDrive | Microsoft Support
- [Mac](https://support.microsoft.com/onedrive/fixes-or-workarounds-for-recent-issues-in-onedrive)
- Managing Office document cache size | Microsoft Support
- Why has my filename changed? | Microsoft Support