File Corruption & Recovery

Fix Visible Temporary Files When Saving Office Files to USB

Kushani NimanthikaKushani Nimanthika Oct 22, 2026 871 views

Question details

The user needs to prevent Microsoft 365 applications from leaving visible temporary (.tmp) files behind when saving documents to a USB flash drive.

How to Fix Visible Temporary Files When Saving Office Files to USB
Product
Microsoft 365 (Word, Excel, PowerPoint)
Device & OS
not provided
Scenario
Saving Microsoft Office files directly to an external USB flash drive.
Observed behavior
When saving files to a USB drive, visible temporary files are created and not automatically deleted by the system. This issue does not occur when saving documents to the local hard drive.
Before you start

Ensure you have safely closed all active Office documents and backed up any important files from your USB drive to your local computer before changing system security settings or formatting the drive.

Solution 1Recommended

Temporarily Disable or Configure Antivirus Software

Antivirus software often scans files as they are written to a USB drive, which can lock the temporary file and prevent Microsoft Office from deleting it after the save is complete.

Third-party antivirus and antimalware programs (such as McAfee) actively monitor external USB ports. When Office writes a .tmp file to the USB during a save, the antivirus immediately scans it. This brief lock prevents Office from automatically removing the .tmp file once the actual document is saved.

1
Locate Antivirus Settings

Find your antivirus software icon in the Windows system tray (bottom-right corner) and open the main dashboard.

2
Pause Protection Temporarily

Look for an option to temporarily disable or pause real-time protection (e.g., pause for 15 to 60 minutes) to test the issue.

3
Test Saving to USB

Open a Word, Excel, or PowerPoint file and save it to your USB drive. Check if the visible temporary file still appears.

4
Add an Exclusion

If the issue stops, re-enable your antivirus and add your USB drive path or Microsoft Office applications to the antivirus exclusion/whitelist settings. For a permanent patch, you may need to contact your antivirus vendor's support team.

Temporarily Disable or Configure Antivirus Software
Security Warning: Remember to re-enable your antivirus protection immediately after testing to keep your computer secure from external threats.
Free Microsoft Office alternative

Save and Manage Your Documents Hassle-Free with WPS Office

If Microsoft Office temporary files continue to clutter your USB drives due to system conflicts, consider switching to WPS Office. It is a highly compatible, free, and lightweight suite that provides a smooth saving experience across local and external storage without leaving messy system files behind.

  1. 1. Download and Install: Get the free WPS Office installer from the official website and complete the quick installation.
  2. 2. Open Your Existing Files: Double-click your existing .docx, .xlsx, or .pptx files to open them directly in WPS Office.
  3. 3. Save Seamlessly: Edit and save your documents directly to your USB drive without worrying about leftover temporary files.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx)Lightweight architecture ensures fast and clean saving to USB drives and external storageFree to use with a familiar, easy-to-navigate tabbed interfaceOptimized file handling reduces conflicts with third-party antivirus scanners
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft Office create temporary files in the first place?

Office applications like Word and Excel create .tmp files during the editing and saving process to prevent data loss, enable the AutoRecover feature, and manage system memory. Normally, these files are hidden and are automatically deleted by the application the moment you close the document.

Can I safely delete the leftover .tmp files on my USB drive?

Yes. As long as the original Word, Excel, or PowerPoint document has been successfully saved and is fully closed, you can safely delete the remaining .tmp files from your USB drive to free up space and remove visual clutter.

Why does this temporary file issue only happen on my USB drive and not my local hard drive?

External USB drives often use different file systems (like FAT32) and have slower read/write speeds than internal hard drives. When combined with third-party antivirus software actively scanning external USB ports for threats, the .tmp file gets temporarily locked during the scan, which prevents Office from deleting it after the save is complete.