Fix: Word could not create the work file when Opening Word Documents

When you try to open or save a document in Microsoft Office Word, you receive the following error message:

Word could not create the work file. Check the Temp environment variable.

word cannot create a work file

The error message can also appear when you preview a .docx or .xlsx file using File Explorer preview pane.

The same error occurs when you start any other Office application — e.g., Outlook, Excel, etc.,

Outlook could not create the work file. Check the Temp environment variable.

outlook cannot create a work file


This problem can occur if you’ve installed 64-bit Office earlier, uninstalled it, and installed the 32-bit version on Windows 64-bit. If a 64-bit version of Office 365 is installed, then uninstalled, and then a 32-bit version of Office 365 is subsequently installed, Explorer may not show document previews. Instead, an error may be shown:

Word: Word could not create the work file. Check the temp environment variable.
PowerPoint: Access denied. Contact your administrator.
Excel: This file cannot be previewed.
Outlook: Outlook could not create the work file. Check the Temp environment variable.

The above errors can also happen if the Temporary Internet Files location for Internet Explorer is set incorrectly. It could be possible that the Temporary Internet Files location is pointed to a folder location in which the user does not have permissions to create new temporary files. Office applications use the Temporary Internet Files folder to create temporary files when you open Office documents or preview a document using the File Explorer preview pane.

handpointerEasy fix: If you’re using Office 32-bit on Windows 64-bit Edition and facing this issue, you can fix the error by uninstalling the Office 32-bit version and installing the 64-bit version.

You can check the bitness of your Office installation by opening an Office product, click on the File menu, choose Accounts, and click the About button.

office 365 check bitness and version

Fix: “Word could not create the work file” error

If installing the 64-bit Office is not a feasible option for you due to plugin compatibility or other issues, then here are some other solutions that help you get rid of the preview errors without having to switch to the Office 64-bit version.

Delete the Office 64-bit Previewer registry entries

If you’re running Office 32-bit Edition, then follow these steps to remove the 64-bit previewer registry entries. Follow these steps:

  1. Start the Registry Editor (regedit.exe)
  2. Go to the following branches one by one:
    [Word Preview]
    [PowerPoint Preview]
    [Excel Preview]
  3. Delete all of the above registry keys. Make sure you export each registry key to a separate .reg file before deleting the keys.
  4. Exit the Registry Editor.
  5. Logoff and login back to your account.

Windows will now use the preview handlers registered under the HKEY_CLASSES_ROOT\Wow6432Node\CLSID\ branch. This should fix the preview issues in Office 32-bit version running on Windows 64-bit.

Change the Temporary Internet Files location for Internet Explorer

Incorrect Temporary Internet Files location can cause Office document preview issues in Explorer. To fix this, follow these steps:

Method 1: Using Internet Options

  1. Open Internet Options (inetcpl.cpl)
  2. In the Internet Options dialog box, click the General tab.
  3. In the Browsing history section, click Settings to open the Website Data Settings dialog box.
  4. In the Website Data Settings dialog, click Move Folder to open the Browse for Folder dialog box.
  5. In the Browse for Folder dialog box, select the following location:
    C:\Users\<user name>\AppData\Local\Microsoft\Windows
  6. Note Whichever location you select, a folder that is called INetCache is created.
    word cannot create a work file
  7. Click OK to close the Browse for Folder dialog box.
  8. Click OK to close the Website Data Settings dialog box.
  9. Click OK to close the Internet Options dialog box.
  10. Logoff and login back to your user account.

Method 2: Using the Registry Editor

  1. Start the Registry Editor (regedit.exe) and go to the following branch:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
  2. Double-click Cache and set its data to:

    (Make sure that the value named Cache is of type REG_EXPAND_SZ. If it’s showing up as REG_SZ, delete the value and create a new one.)

  3. Exit the Registry Editor.
  4. Logoff and login back for the change to take effect.

Automate using .reg file

You can also apply the above settings using the following .reg file:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]

In the above .reg file, the hex code simply refers to the following path:


Create the Office app temp folders

If the above solution isn’t sufficient, create the temp folders for Word, and/or Outlook manually. To do so, run the following commands via Command Prompt:

cd /d %USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache
md Content.Word
md Content.Outlook

word cannot create a work file

Check INetCache folder permissions

The INetCache folder has the following permissions by default:


To check the permissions, run the command in the Command Prompt window.

icacls %USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache

Hope the one or more of the above methods helped you resolve the error “could not create the work file. Check the Temp environment variable” when starting Microsoft Word or Outlook. The solution should work in any version of Office and Windows, even in Office 365 Word 2016 running on Windows 10.

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support, my reader. It won't take more than 10 seconds of your time. The share buttons are right below. :)

About the author

Ramesh Srinivasan founded back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.

22 thoughts on “Fix: Word could not create the work file when Opening Word Documents”

  1. Tried these and still have the problem, verified I could create a file in cd /d %USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache\Content.Word and delete it.
    Verified the pointers in the registry.
    Still have the same problem.
    Windows 10 PC
    Office 365
    The issue is with Word

  2. Can confirm… it seems to be related to the Preview Pane. If it’s off… problem goes away. Anyone found a full resolution?

  3. The issue for me was the Intel 10 Series Processor
    running 32 bit office 365
    works fine with 64 Bit , but does not preview emails in explorer

  4. The preview pane is what causes the error for me too… I tried everything, but fortunately a user mentioned the preview panel!
    Thanks Tommy

  5. Don’t make it so complicated. If you install office 32-bit of your 64-bit system, then you will get the above error! Just install a correct version and enjoy your life! No need to deactivate anything or change the preview in your windows.

  6. THANK YOU! This solved my problem! I appreciate the time you took in sharing your solution with the Internet community!

  7. Your suggestion to remove the 64-bit previewer registry entries worked perfectly. I had previously installed the office 365 64-bit version, changed my mind and then install the 32-bit version. After that I couldn’t use the preview feature with my office documents. I been looking for a solution for 2 years, and it never occurred to me that this was the reason. Many thanks!


    I tried all the folder things a million times, none of that ever did anything. What finally fixed it for me was the “Delete the Office 64-bit Previewer registry entries” stuff. Deleted those 3 registry keys, logged off and back in, and it works perfectly again.


  9. I had read some of the “solutions” on different pages dealing with the registry etc., so I started from the bottom-up on this page. Nothing worked. Then, the very first solution about deleting the 64-bit keys worked like a charm. Here’s to a good, smart solution to a very idiotic MS issue.

  10. I have had this problem with Office 365 and prior versions for years. It was extremely annoying. I would get the error message 20-50 times for each document I tried to open. I have read just about every solution posted to the internet. I just installed a new version of Office 2019 hoping the problem would be solved but it persisted. Then I read this article. It turned out I unknowingly had a 32 bit version of Office on a 64 bit Windows 10 computer. I followed the instructions to delete three registry entries and now PROBLEM IS FIXED. THANK YOU THANK YOU THANK YOU.


Leave a Comment