How to Fix the Word TEMP Environment Variable Work File Error
Question details
Users encounter a 'Word cannot create a work file. Check the TEMP environment variable' error message when attempting to open or use Microsoft Word.
- Product
- Microsoft Word
- Device & OS
- Windows 11, Windows 10
- Scenario
- Opening Word documents or running Microsoft Word while the File Explorer Preview pane is enabled or temp files are misconfigured.
- Observed behavior
- Microsoft Word fails to load properly or open documents, displaying a prompt stating it cannot create a work file due to TEMP environment variable issues.
Ensure you close Microsoft Word entirely and save any ongoing work in other applications before adjusting your system environment variables or File Explorer settings.
Disable the File Explorer Preview Pane
Turning off the Preview pane in Windows File Explorer resolves file locking conflicts that often trigger this Word error.
The Windows File Explorer Preview pane can sometimes lock document files to generate a visual preview, preventing Microsoft Word from creating the necessary temporary work files. Disabling this feature is a quick and effective workaround.
Press the Windows key + E on your keyboard to launch a new File Explorer window.
Click on the 'View' tab located at the top of the File Explorer window. If you are using Windows 11, click on 'View' in the command bar, then hover over 'Show'.
Click on 'Preview pane' to uncheck and hide it. Make sure the preview section on the right side of your File Explorer window disappears.
Relaunch Microsoft Word and try opening your document again to verify that the error is resolved.
Verify and Correct TEMP Environment Variables
Check and fix the system TEMP variables to ensure Word can properly locate and utilize temporary folders.
Switch to WPS Office to Avoid Word Cache Errors
Tired of dealing with complex Microsoft Word temporary file and environment variable errors? WPS Office provides a lightweight, highly compatible alternative that opens your documents smoothly without the need for extensive system troubleshooting.
- 1. Download WPS Office: Visit the official WPS Office website and click the 'Download' button to get the free installer.
- 2. Install the Software: Run the setup file and follow the on-screen instructions to install WPS Office on your Windows PC.
- 3. Open Your Documents: Double-click your .docx files to open them instantly in WPS Writer, bypassing previous Microsoft Word errors.

Frequently Asked Questions
What does 'Word cannot create a work file' mean?
This error means Microsoft Word is unable to generate the temporary files it needs to function correctly. This usually happens when the designated Temp folder is inaccessible, missing, or when another process like the File Explorer Preview pane is locking the file.
Where is the default Windows TEMP folder located?
By default, the temporary folder for a Windows user profile is located at C:\Users\[YourUsername]\AppData\Local\Temp. The AppData folder is hidden by default, so you may need to enable 'Hidden items' in File Explorer to see it.
Will disabling the Preview pane affect other Windows apps?
No, disabling the Preview pane only stops Windows File Explorer from generating real-time visual previews of selected files. It does not negatively impact the performance or functionality of other applications installed on your computer.




