If, like me, you’ve received the “Word could not create the work file. Check the temp environment variable” error shown above when starting Word, here’s a couple of quick simple fixes that should address the problem.
Fix – Creating Environment Variables
This issue can be caused by profile corruption, viruses, or disk corruption, however in some cases I have simply been unable to come up with a reason for why this would change. I will address the corruption/possible virus issues towards the end – for now the fix:
- Open system properties. This can be done either of two ways:
- Open explorer, right click “This PC” (or my computer if you’re stuck in the past like me) and go to properties.
- Press the windows key + Pause/Break on your keyboard.
- Choose “Advanced system settings” on the left hand side.
- Then press System Variables in the window that appears.
- In the next window, click the first add button.
- Create a new environment variable as follows, replacing USERNAME in the value field with your username:
- Finally, click OK on each of the windows to confirm the settings and close them.
You should now be able to launch Word without receiving the “Word could not create the work file. Check the temp environment variable” error. In most cases, this will fix the issue, however if not, please read on for Microsoft’s recommended fix. Please also note the points raised after the fixes to address possible corruption or virus issues.
Fix Number 2 – Microsoft’s fix
This method is what’s advised by Microsoft to fix the issue in their knowledge base article. Unfortunately, Microsoft advise the issue is caused by “The Temporary Internet Files folder for Windows Internet Explorer is set to be in a location where you do not have permission to create new temporary files”. In my experience this has not been the case, so I can only make the same assumptions I’ve made above and advise you read on after the fix to ensure no viruses are present or corruption is occurring.
- Browse to C:\Users\USERNAME\AppData\Local\Microsoft\Windows (you may need to show hidden files for this to appear).
- Create a new folder named “INetCacheContent.Word”
You should now be able to launch Word without receiving the “Word could not create the work file. Check the temp environment variable” error. I’ve personally not had this working in many cases, however it’s worth a shot and won’t do any harm if it doesn’t work for you. Either way, please also note the points raised after the fixes to address possible corruption or virus issues.
I’ve mentioned this above, however it’s worth checking for viruses or corruption on your now you’ve solved the above issue. If you’re happy on how to go about this, then you don’t need to read any further – however I’ll leave some basic instructions for those that aren’t.
- Check your computer for viruses by running a scan with your antivirus package. I also recommend running a scan using Malwarebytes – available for free for home users. Malwarebytes will run as secondary protection, therefore there’s no need to remove your existing package.
- Run system file check. Open command prompt and run the following command: “sfc.exe /scannow”. This will check all core operating system files and repair any corruption.
- Run a disk check. Open command prompt and run the following command: “chkdsk /r /f”. This will scan the drive for data inconsistencies and repair what it can.
If none of this helps, it is my recommendation to try system restore or consulting a local computer professional to investigate this further or you.