[FIX] Outlook Could Not Create The Work File. Check The Temp Environment Variable.

If Outlook refuses to open due to "Outlook could not create the work file. Check the temp environment variable." message, this post will help you to fix it.

Kapil Arya
11x Microsoft MVP · Admin
2 min read
Add as a preferred
source on Google

Windows File Explorer and Office apps saves temporary Internet Files to a pre-defined location. The location includes the usage of environment variable as a crucial factor. If the location becomes inaccessible for the existing user account, the account holder may not be able to start some Office apps.

Recently, while opening Microsoft Outlook Desktop app, I came around this weird temp environment variable error. Here is the message received in this case:

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

FIX - Outlook Could Not Create The Work File. Check The Temp Environment Variable.

If I click OK in above warning message, although Outlook starts, but after few moments, the message appears again, disturbing the session. To solve this issue, I created a new profile for Outlook but it didn’t helped me. Then I tweaked the registry relating temporary environment variables and if worked for me.

If you’re also facing this issue with either Outlook/Word or any other Office app, try following this registry manipulation and see if it helps:

FIX : Outlook Could Not Create The Work File. Check The Temp Environment Variable.

1. Press W8K + R and put regedit in Run dialog box to open Registry Editor (if you’re not familiar with Registry Editor, then click here). Click OK.

Windows 10 Registry Editor

2. In the left pane of Registry Editor, navigate to following registry key:

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

FIX - Outlook Could Not Create The Work File. Check The Temp Environment Variable.

3. In the right pane corresponding User Shell Folders registry key, look for Cache named expandable registry string (REG_EXPAND_SZ). Since you’re facing this issue, the Data for this string might set incorrectly. Double click on the string to modify its Value data:

FIX - Outlook Could Not Create The Work File. Check The Temp Environment Variable.

4. Finally, in Edit String box, put following as the correct Value data as per your Operating System (OS) and click OK:

# OS Value data
1 Windows 10 and 8.1 %USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache
2 Windows 8 or 7 or Vista %USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files
3 Windows XP
%USERPROFILE%\Local Settings\Temporary Internet Files

Close Registry Editor, reboot and start Microsoft Outlook. You’ll find that the error no longer appears now.

That’s it!

Share this article
https://www.kapilarya.com/outlook-could-not-create-the-work-file-check-the-temp-environment-variable-windows-10

Shareable URL

Article by

Kapil Arya
11x Microsoft MVP · Admin

Kapil holds Microsoft MVP title in Windows IT Pro expertise, 11-times in a row (2014-2025). He is 8-times Windows Insider MVP as well, and author of 'Windows Group Policy Troubleshooting' book. In 2015, Microsoft India accomplished him as 'Windows 10 Champion'. Being passionate Windows blogger, he loves to help others on fixing their system issues. Kapil has worked with official Microsoft Community Engagement Team (CET) on several community projects. You can subscribe him for news/updates and fixes for Windows.

2 Comments
paul

hi I am running win 10 home I have entered the registry and the string is the same as the one you described?

any other thoughs

Kapil Arya Author

^^ Try repairing Office, see if it helps: https://www.kapilarya.com/how-to-repair-office-2013-offline

Leave a Comment

Your email address will not be published. Required fields are marked *