Share via

Word could not create work file

Robert James 0 Reputation points
2026-03-31T17:57:44.7866667+00:00

I am running Windows 11 Pro Version 25H2 OS Build 26200.8116.

I am running Microsoft Office 365. When close a Word file I get a message saying that word could not create the work file and to check the Temp environment. When I check the user variables, I see the Temp and TMP variable. Then I go into File Explorer and follow the path and the folder C:\Users\bobja\AppData\Local\Temp is there is a lot of files in there should they be deleted?

Microsoft 365 and Office | Word | For home | Windows
0 comments No comments

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-31T17:57:59.6333333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The files in C:\Users\bobja\AppData\Local\Temp are temporary and can generally be deleted, but deleting them is not what fixes the specific “Word could not create the work file. Check the temp environment variable.” error.

    To address the Word error, use the supported fixes for this message:

    1. Scan for system and disk issues
      1. Open an elevated Command Prompt (Start → type cmd → right‑click Command PromptRun as administrator).
      2. Run:
              sfc.exe /scannow
        
      3. After it completes, run:
              chkdsk /r /f
        
      4. Restart Windows and test Word again.
    2. Add the missing environment variable (if needed)
      1. Go to StartSettingsSystemAbout.
      2. Under Related settings, select Advanced system settings.
      3. Select Environment Variables.
      4. Under User variables for bobja, select New.
      5. Set Variable name to:
              %userprofile%
        
      6. Set Variable value to:
              C:\Users\bobja
        
      7. Select OK on all dialogs, restart Windows, and test Word.
    3. Ensure the Word cache folder exists
      1. Open File Explorer.
      2. Browse to:
              C:\Users\bobja\AppData\Local\Microsoft\Windows\INetCache
        
      3. If a folder named Content.Word does not exist there, create it.
      4. Restart Windows and test Word again.

    Regarding the many files already in C:\Users\bobja\AppData\Local\Temp:

    • They are temporary files used by Windows and applications (including Word).
    • They can usually be deleted safely when the associated apps are closed, but some in‑use files will be locked and cannot be removed.
    • Deleting them may free disk space but is not required to resolve this specific Word error; the environment variable and cache folder steps above are the relevant fixes.

    If the error persists after these steps, turn off the Preview pane in File Explorer as a workaround when working with Word documents.


    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.