logo
search
Office Apps Not Opening

How to Fix the Word TEMP Environment Variable Work File Error

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

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.
Before you start

Ensure you close Microsoft Word entirely and save any ongoing work in other applications before adjusting your system environment variables or File Explorer settings.

Solution 1Recommended

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.

1
Open Windows File Explorer

Press the Windows key + E on your keyboard to launch a new File Explorer window.

2
Access the View Settings

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'.

3
Turn Off the Preview Pane

Click on 'Preview pane' to uncheck and hide it. Make sure the preview section on the right side of your File Explorer window disappears.

4
Restart Microsoft Word

Relaunch Microsoft Word and try opening your document again to verify that the error is resolved.

Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS Office website and click the 'Download' button to get the free installer.
  2. 2. Install the Software: Run the setup file and follow the on-screen instructions to install WPS Office on your Windows PC.
  3. 3. Open Your Documents: Double-click your .docx files to open them instantly in WPS Writer, bypassing previous Microsoft Word errors.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Lightweight architecture prevents common cache and temporary work file errors.Familiar user interface ensures a seamless transition from Microsoft Office.Completely free to use with built-in PDF editing and cloud storage integration.
microsoft office alternative - wps office

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.