How to Fix Access Denied Error When Deleting Word TMP Files
Question details
Users are unable to delete temporary TMP files generated while editing Microsoft Word and PDF documents due to a Windows access-denied error.

- Product
- Microsoft Word
- Device & OS
- Windows
- Scenario
- Editing Microsoft Word or PDF documents, particularly those stored on a USB flash drive.
- Observed behavior
- Temporary TMP files remain in the document folder and cannot be removed, with Windows throwing an access-denied error when deletion is attempted.
Ensure you have saved all your current work in Microsoft Word, as resolving this issue requires closing the application completely.
Close Microsoft Word and Restart Your Computer
The most common reason for the access-denied error is that Microsoft Word is still running in the background and actively locking the TMP files.
Temporary files are actively used by Word to store unsaved data and auto-recovery information. While the document is open, the operating system prevents these files from being modified or deleted.
Ensure all your active Word documents are properly saved, and then close the Microsoft Word application.
Check your taskbar or use the Task Manager (Ctrl + Shift + Esc) to ensure no instances of 'WINWORD.EXE' are running in the background.
If the files are still locked, restart your computer. This forces Windows to release any lingering file locks.
Navigate to the folder containing the TMP files and delete them normally.

Hide Hidden Files in Windows File Explorer
Word normally creates TMP files as hidden files. If you are seeing them, your File Explorer settings may be configured to display hidden system files.
Report the USB Drive Issue to Microsoft
If you are consistently experiencing this issue with files stored on a USB drive, it may be a software bug that needs to be reported to Microsoft.
Enjoy Cleaner File Management with WPS Office
Tired of dealing with locked TMP files and access-denied errors? WPS Office is a free, lightweight alternative that manages temporary data cleanly behind the scenes, ensuring your folders remain clutter-free without compromising auto-save features.
- 1. Download and Install: Get the free installer from the official WPS website and set it up on your PC.
- 2. Open Your Documents: Launch WPS Writer and open your existing Word files with perfect formatting compatibility.
- 3. Edit Without Clutter: Enjoy editing directly from your hard drive or USB without leaving stubborn temporary files behind.

Frequently Asked Questions
Why does Microsoft Word create TMP files?
Word creates temporary (.tmp) files to manage memory and prevent data loss. They act as a backup mechanism, holding auto-recovery information and the edits you make while working on a document.
Is it safe to delete TMP files left by Word?
Yes. If Microsoft Word is completely closed and you still see TMP files in your folder, they are likely remnants of an unexpected shutdown or crash and can be safely deleted.
How do I bypass the 'Access Denied' error when deleting files?
The 'Access Denied' error occurs because Windows thinks a program is still using the file. Closing Microsoft Word, ending any WINWORD.EXE processes in the Task Manager, or restarting your PC will remove the file lock.




