Share via

Word could not create the work file issue

Pierrette GreXplore Travel 0 Reputation points
2026-03-13T13:25:50.9666667+00:00

Word could not create the work file. Check the temp environmental variable

Microsoft 365 and Office | Word | Other | Windows
0 comments No comments

2 answers

Sort by: Most helpful
  1. Ramesh Srinivasan 77,725 Reputation points Independent Advisor
    2026-03-13T14:09:33.8066667+00:00

    Hi Pierrette,

    If the Q&A Assist suggestions do not help, please do the following:

    Post the version/bitness of your Office installation. Please see About Office: What version of Office am I using? - Microsoft Support. A screenshot of that dialog can be helpful.


    Open Command Prompt and run these two commands to query the shell folder settings:

    reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
    
    icacls %USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache
    

    Copy the output and post it in your next reply.

    0 comments No comments

  2. Q&A Assist
    2026-03-13T13:26:08.4433333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error indicates Word cannot create or access its required temporary files. Fix it by validating the TEMP-related environment and required folders, then, if needed, adjusting File Explorer preview/registry.

    1. Scan system and disk
      1. Run a full antivirus scan.
      2. Open an elevated Command Prompt (Start → type cmd → right-click Command Prompt → Run as administrator).
      3. Run:
              sfc.exe /scannow
        
      4. When finished, run:
              chkdsk /r /f
        
      5. Restart Windows and test Word.
    2. Verify TEMP environment variable and disk The error often occurs if the TEMP/TMP location is invalid, read-only, or the drive is full.
      1. Check disk space on the drive used by TEMP; free space if needed.
      2. Ensure TEMP points to a valid, writable folder:
        • Select Start → Settings → System → About.
        • Under Related settings, select Advanced system settings.
        • Select Environment Variables.
        • Under User variables for <username>, confirm that TEMP (and TMP, if present) point to an existing, writable directory on a drive with free space.
        • If TEMP points to an invalid or read-only location, change it to a valid path (for example, a folder under the user profile) or remove the read-only restriction.
      If there is no suitable user variable, add one as in step 3.
    3. Add a user environment variable based on the profile
      1. In Environment Variables (as above), under User variables for <username>, select New.
      2. Variable name: %userprofile%.
      3. Variable value: C:\Users\<username> (replace <username> with the actual user name).
      4. Select OK on all dialogs.
      5. Restart Windows and test Word again.
    4. Ensure Word’s cache folder exists Word uses a subfolder under the Internet cache for some temporary work files.
      1. Open File Explorer.
      2. Browse to: C:\Users\<username>\AppData\Local\Microsoft\Windows\INetCache
      3. Turn on Hidden items on the View ribbon if needed.
      4. Inside INetCache, create a folder named: Content.Word
      5. Restart Windows and test Word.
    5. If using File Explorer Preview pane The error can be triggered when previewing Office files in File Explorer. Option A – Work around:
      • Turn off the Preview pane in File Explorer and test again.
      Option B – Fix preview handler registration (advanced):
      • Open Registry Editor (Start → Run → regedit).
      • Carefully delete these subkeys:
        • Word Preview: HKCR\CLSID\{84F66100-FF7C-4fb4-B0C0-02CD7FB668FE}
        • PowerPoint Preview: HKCR\CLSID\{65235197-874B-4A07-BDC5-E65EA825B718}
        • Excel Preview: HKCR\CLSID\{00020827-0000-0000-C000-000000000046}
      • Close Registry Editor and restart Windows.
      Editing the registry incorrectly can cause serious problems; back up the registry before making changes.

    If the TEMP drive is valid, writable, and not full, the INetCache\Content.Word folder exists, and the Preview-related registry keys are corrected or removed, Word should be able to create its work file again.


    References:

    0 comments No comments

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.