Safe to Delete

OneDrive .tmp.driveupload & Sync Temp Files

Quick Answer: .tmp.driveupload files are temporary cache chunks created during OneDrive cloud sync. Deleting stuck temp files is safe and clears sync errors.

Bottom Line: It is 100% safe to delete .tmp.driveupload files and clear the OneDrive sync cache. Doing so will not delete your actual cloud files saved on OneDrive.


What are .tmp.driveupload Files?

Located inside your OneDrive folder (or hidden in %LocalAppData%\Microsoft\OneDrive\logs), .tmp.driveupload files are temporary chunk files created by the Microsoft OneDrive sync client.

When OneDrive uploads large files, videos, or zip archives to the cloud, it splits them into smaller .tmp.driveupload temporary chunks. If an internet disconnection or crash occurs during sync, these temp files can get stuck permanently on your SSD.


Can You Delete .tmp.driveupload Files?

✅ Yes, it is completely safe to delete.

  • No cloud data loss: Files that have already synced to OneDrive online are 100% safe.
  • Fixes sync loops: Deleting orphaned sync temp files fixes OneDrive status stuck on “Processing 1 change” or “Sync pending”.

How to Safely Clean Up OneDrive Temp & Cache Files

Method 1: Reset Microsoft OneDrive (Official Microsoft Fix)

Resetting OneDrive clears stuck temp files and resyncs your cloud library:

  1. Press Win + R to open the Run dialog.
  2. Paste the following command and press Enter:
    %LocalAppData%\Microsoft\OneDrive\onedrive.exe /reset
  3. If OneDrive doesn’t restart automatically after 2 minutes, run:
    %LocalAppData%\Microsoft\OneDrive\onedrive.exe

Method 2: Manual File Deletion

To delete stuck .tmp.driveupload files manually:

  1. Open your OneDrive folder in File Explorer.
  2. Type .tmp.driveupload into the search bar at top right.
  3. Select and delete the stuck temporary files.

Discussion

Loading authentication...

Related in cache

Discord Code & GPU Cache (%AppData%\discord\Code Cache)

Discord's Electron app caches compiled V8 JavaScript bytes and GPU textures. Clearing the cache is safe.

Safe to Delete

Dropbox Local Cache Folder (.dropbox.cache)

.dropbox.cache stores staging files and deleted file backups for Dropbox. Deleting it is safe and reclaims hidden local SSD storage.

Safe to Delete

Google Drive File Stream Cache (file_stream_cache)

file_stream_cache stores local cached copies of Google Drive cloud files. Clearing the cache is safe and recovers lost space on PC or Mac.

Safe to Delete
Back to all files