Do you encounter a dialog popping up randomly when you preview a Word document in File Explorer? The same Microsoft Word error message might also appear when saving a file – “Word could not create the work file. Check the Temp environment variable”.
The reason for this problem is the Temporary Internet Files folder for Windows Internet Explorer that is set to be in a location where you don’t hold permission to create new temporary files. Here, you will find the easy ways to fix the Word file so that you can preview and save the document.
Word could not create the work file. Check the Temp environment variable
Here is how to fix word could not create the work file Windows 10 –
1] Create INetCacheContent.Word folder
INetCacheContent.Word folder helps to open and save word files on Windows and absence or corruption of the same may throw the error message. So create the folder using the following steps –
- Press Win+R.
- Type the path
C:\Users\your_user_name\AppData\Local\Microsoft\Windows
and hit enter (remember to change the user profile). - Once got at the location, right click and select New => Folder.
- Name the folder INetCacheContent.Word.
2] Via Registry Editor
Incorrect value of cache string for User Shell key in Registry often causes the error. Modify the data –
- Access the Registry Editor (Click on Start, type regedit.exe and press Enter.) You can see the instructions in – 9 Ways to Open Registry Editor in Windows 10.
- Navigate to the following key –
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
- Look for Cache string. Double click and enter
%USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache
- Once done, Restart the Windows explorer from Task manager and the error will be settled.
3] Create Word temp folder using CMD Command
- Launch elevated cmd prompt (press Win key, type cmd.exe and select “Run as administrator” from right flyout).
- Type the following syntax and hit enter –
cd /d %USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache
md Content.Word
md Content.Outlook
4] Check the permission
Sometimes, insufficient permission to INetCache may cause to occur – word could not create the work file, Check the Temp environment variable. So check once and take ownership of the folder using following steps –
- Get access to command prompt using the previous method and type the following text –
icacls %USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache
- Make sure that the permission shown in the output is like
"NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
BUILTIN\Administrators:(I)(OI)(CI)(F)
DESKTOP-31MDJSD\user_name:(I)(OI)(CI)(F)"
4] Configure MS Word once more
The method will again register and configure office files Word that is helpful to solve the issue.
- Press Windows + R shortcut keys combination to invoke the Run dialog.
- Type
winword.exe /r
and then hit enter.
The configuration process will take some time and fix word could not create the work file Windows 10 error.
That’s all!!!
Table of Contents
“Word could not create the work file. Check the temp environment variable.” the basics.
As soon as you edit a document in Microsoft Word, Word creates temporary files in the background. These store certain things as ‘recovery’ should Word get stuck or something like that.
Most of these files are optional, but unfortunately some are required. If the required temp files are not created, Word gets corrupt and you get the error message: “Word could not create the work file. Check the temp environment variable. “
There is not a precise solution for this, so the tutorial consists of the solution that works for me and below that is a collection of Microsoft solutions.
Let’s fix ‘Word could not create the work file. Check the temp environment variable.’
The solution that worked for me.
- Go to start and search for Regedit.
Or press Windows + R and type in Regedit. - Search for the key below. You can also copy/paste this if you’re using Windows 10.
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders - See if the location for Cache is:
%USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache
If it’s not, please copy paste the location in the key. - Click OK.
- Because it is a computer setting you have to restart the device before it is applied.
A solution from the Microsoft website.
- Go to start and open the explorer.
Copy / paste the following location in Windows Explorer.
C:\Users\%username%\AppData\Local\Microsoft\Windows - Create a new folder (CTRL + N) and name it INetCacheContent.Word.
A creative solution.
- Open Internet Explorer and go to the gearwheel.
- Open Internet Options now.
- Under the General tab you see a box with Browsing History.
Click on the Settings. - Increase the Disk space to use to 1gb.
- Click OK.
The collection of forum posts where the other solutions are.
Word: “could not create the work file. Check the temp environment variable”.
http://answers.microsoft.com/en-us/office/wiki/office_2016-word/fix-word-could-not-create-the-work-file-error-in/89427a2d-1e82-47b1-9b6f-33ba3cffddc0
http://answers.microsoft.com/en-us/office/forum/office_2007-office_install/word-could-not-create-the-work-file-check-the-temp/59ab5c9d-2c43-4d07-8c4e-d2299621c676
http://answers.microsoft.com/en-us/office/forum/officeversion_other-word/word-could-not-create-the-work-file-check-the-temp/8a184708-ecb8-488a-8438-b7f8d1cdb2c0
http://answers.microsoft.com/en-us/windows/forum/windows_other-windows_update/could-not-create-the-work-file-check-the-temp/ed3f81b9-0b5f-477b-87ae-8b783a4c580f
http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/word-could-not-create-the-work-file/fca09af9-e637-4680-a329-697d647f21c8
http://support.microsoft.com/kb/2027053
Outlook: “could not create the work file. Check the temp environment variable”.
http://www.slipstick.com/problems/workfile.htm (also has links to similar Word problem)
http://answers.microsoft.com/en-us/office/forum/officeversion_other-word/how-can-i-repair-my-microsoft-word-application/9c472069-c356-4daa-bab8-6e495cd2e634
Summary
Following a comment that the blog post is not clear, I adjusted it on 7-10-2018 with a better order.
Do you have any other questions or comments? Then you can leave a comment.
This is from Microsoft Answers
Bas Wijdenes
My name is Bas Wijdenes and I work as a PowerShell DevOps Engineer. In my spare time I write about interesting stuff that I encounter during my work.
View all posts by Bas Wijdenes
Windows 10: How can i make the folder C:\Users\»name»\AppData\Local\Microsoft\Windows\INetCache visible?
Discus and support How can i make the folder C:\Users\»name»\AppData\Local\Microsoft\Windows\INetCache visible? in Windows 10 Software and Apps to solve the problem; Hello in the windows explorer i can show the INetCashe folder only by copy and paste it´s path into the navigation-line, but it does not appear in the…
Discussion in ‘Windows 10 Software and Apps’ started by Drachenbauer, Aug 30, 2022.
-
How can i make the folder C:\Users\»name»\AppData\Local\Microsoft\Windows\INetCache visible?
Hello in the windows explorer i can show the INetCashe folder only by copy and paste it´s path into the navigation-line, but it does not appear in the tree-view and also not, if i go one layer out.It´s still hidden, while «show hidden objects» is activated.How do i make it appear on theese views?
-
Files copied in AppData\Local\Microsoft\Windows\INetCache\IE\
I plugged my phone and played some videos, and they were copied in a folder with a random name in this directory:
C:\Users\%User%\AppData\Local\Microsoft\Windows\INetCache\IE\%FolderName%
Are they being shared online? What is this?
Moved from: Internet Explorer / Internet Explorer 11 / Windows 10
-
«Microsoft» Folder in AppData/ Local is Missing.
Hi and thanks for reaching out. My name is William. I’m a Windows technical expert. I’ll be happy to help you out today.
So, that Microsoft KB is not exactly correct. It is omitting an important detail. The path should be
C:\Users\userprofile\AppData\Local\Microsoft\Windows\INetCache\Content.WordIn other words, close Word and in file explorer navigate to %localappdata%\Microsoft\Windows\INetCache and verify that
Content.Word does not exist. if it does, then delete it and when you start Word again, the folder should be recreated.By the way, in worst case scenario, you do not need to reinstall Windows to fix this. Microsoft Office is not «baked» into the operating system. It can always be uninstalled and reinstalled.
-
How can i make the folder C:\Users\»name»\AppData\Local\Microsoft\Windows\INetCache visible?
How can I stop my PC from booting up Windows?
You can safely delete the contents in..
C:\Windows\Temp
C:\Users\<user name>\Local Settings\Temp or C:\Users\<user name>\AppData\Local\Temp
C:\Windows\SoftwareDistribution\Download (safe to delete the whole folder) (files are needed if you ever want to uninstall a Windows update)I’m sure others can add to the list.
How can i make the folder C:\Users\»name»\AppData\Local\Microsoft\Windows\INetCache visible?
-
How can i make the folder C:\Users\»name»\AppData\Local\Microsoft\Windows\INetCache visible? — Similar Threads — folder UsersnameAppDataLocalMicrosoftWindowsINetCache visible
-
How can I make new features of windows 11 24h2 visible?
in Windows 10 Gaming
How can I make new features of windows 11 24h2 visible?: I updated my pc from windows 11 23h2 to 24h2 and installed all the latest cumulative update but I still can’t see all the latest feature such as the new feature in microphone voice clarity and the new feature for power option setting. Can someone help me please?… -
How can I make new features of windows 11 24h2 visible?
in Windows 10 Software and Apps
How can I make new features of windows 11 24h2 visible?: I updated my pc from windows 11 23h2 to 24h2 and installed all the latest cumulative update but I still can’t see all the latest feature such as the new feature in microphone voice clarity and the new feature for power option setting. Can someone help me please?… -
How can i make the folder C:\Users\»name»\AppData\Local\Microsoft\Windows\IN etCache visible?
in Windows 10 Gaming
How can i make the folder C:\Users\»name»\AppData\Local\Microsoft\Windows\IN etCache visible?: Hello in the windows explorer i can show the INetCashe folder only by copy and paste it´s path into the navigation-line, but it does not appear in the tree-view and also not, if i go one layer out.It´s still hidden, while «show hidden objects» is activated.How do i make it… -
How can I make the cursor appear more visible?
in Windows 10 BSOD Crashes and Debugging
How can I make the cursor appear more visible?: When on night-time mode, the cursor is hard to see.https://answers.microsoft.com/en-us/windows/forum/all/how-can-i-make-the-cursor-appear-more-visible/b9834c44-135c-4097-9074-9be043ee61b1
-
How can I make the crosshair in Snip & Sketch more visible?
in Windows 10 Customization
How can I make the crosshair in Snip & Sketch more visible?: When activating Snip & Sketch the grey coloured crosshair for selecting square areas to be snipped is barely visible against the darkened background. This makes is difficult to quickly locate the crosshair and draw the selection. Is there any setting for the app that could… -
How do I make a folder on one laptop visible to another laptop?
in Windows 10 Customization
How do I make a folder on one laptop visible to another laptop?: How do I make a folder on one laptop visible to another laptop? (both are Win10)https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-make-a-folder-on-one-laptop-visible-to/43d4cc7e-a569-422a-a725-82195417ac70
-
How can i make File Explorer list shortcuts to folders with the folders?
in Windows 10 Network and Sharing
How can i make File Explorer list shortcuts to folders with the folders?: I need to move some folders to the SD chip and leave a shortcut in the original folder on the SSD. That much is easy to do.Unfortunately, when using «Sort by Name», File Explorer lists the shortcuts with the files, not with the folders. I don’t want to use «Group by Name»…
-
Folder visibility depends on how I navigate to it
in Windows 10 Network and Sharing
Folder visibility depends on how I navigate to it: The visibility of my folders depends on how I navigate to them, meaning that I am often looking for files that I know that I have saved but then find them later when I navige to the folder through another route.The example below shows two views of the same folder…
-
Making a file visible
in Windows 10 Support
Making a file visible: HiMy install of Sony Vegas is not working; it crashes when performing a render. I understand this is not an app-specific board, but I have narrowed down the issue, and am thinking this might be a W10 thing.
The crash spits out an error, which tells me that an exe file…
РЕШЕНИЕ ПРОБЛЕМЫ
>>>
Здравствуйте, коллеги!
После недавнего обновления Microsoft Office 365 до последней версии перестали работать отдельные скрипты
При запуске скрипта из Word, который должен создать новый Word-документ и копировать/вставлять в него обрабатываемые картинки, возникает сообщение об ошибке:
Код |
---|
Извещение системы безопасности Microsoft Word. Microsoft Office обнаружил возможное нарушение безопасности. Корпорация Майкрософт заблокировала запуск макросов, так как источник этого файла не является доверенным. Путь к файлу: C:\Users\spryz\AppData\Local\Microsoft\Windows\INetCache\Content.Word\~WRC2426.tmp" |
Если диалоговое окне с ошибкой просто закрыть [X], то выполнение скриптов продолжается. В ходе выполнения кода таких сообщений может возникать несколько.
Сам Word-файл с запускаемыми скриптами находится по другому адресу (не по тому пути, что выводится в диалоговом окне с ошибкой).
Код |
---|
x:\YandexDisk\TortGuru\PRN Шокотрансферы\VBA-скрипты для обработки картинок v20.docm |
Данный путь к файлу со скриптами внесен в настройки безопасности «Надежные расположения»
Сам файл со скриптами не имеет в свойствах метки, что он был получен извне (например, из Интернета)
Для диагностики
прилагаю
[удалил] свои скрипты, которые не пропускает Майкрософт – файл «VBA-скрипты для обработки картинок v20-1.docm»
Скрипты создавались для собственных нужд. Функционал: вставляем в word-файл, вручную запускаем скрипт Modules / My_Main / AAA_Split_To_Table(). Скрипт берет первую картинку из файла «VBA-скрипты для обработки картинок v20-1.docm», разбивает картинку на фрагменты с сеткой 3 строки на 3 столбца, зеркалит фрагменты и вставляет их в табличку в новом word-файле.
В сети нашел следующую информацию по теме:
- Потенциально опасный макрос заблокирован – https://support.microsoft.com/ru-ru/topic/%D0%BF%D0%BE%D1%82%D0%B5%D0%BD%D1%86%D0%B8%D0%B0%D0
%BB%D1%… - Как исправить ошибку «Microsoft заблокировала запуск макросов»? | TechBriefly RU – https://ru.techbriefly.com/%D0%BA%D0%B0%D0%BA-%D0%B8%D1%81%D0%BF%D1%80%D0%B0%D0%B2%D0%B8%D1%82%D1%8C…
- Как отключить защищенный просмотр в Word и Excel | remontka.pro – https://remontka.pro/protected-view-word-excel/
- Макросы из Интернета блокируются по умолчанию в Office — Deploy Office | Microsoft Docs – https://docs.microsoft.com/ru-ru/deployoffice/security/internet-macros-blocked
- Новая фича от Майкрософта «Риск безопасности Корпорация Майкрософт заблокировала запуск макросов….» | Денискины IT заметки | Дзен – https://zen.yandex.ru/media/denchik_notes/novaia-ficha-ot-maikrosofta-risk-bezopasnosti-korporaciia-…
- Риск безопасности и блокировка макросов – https://www.planetaexcel.ru/techniques/3/24383/
Перепробовал, кажется, все рецепты, но решить проблему не удалось.
У кого есть опыт, прошу помочь, отключить излишнюю проверку и вывод сообщения «Корпорация Майкрософт заблокировала запуск макросов, так как источник этого файла не является доверенным».
Заранее спасибо за любые идеи!
10.01.2023, 16:10. Показов 7380. Ответов 6
Я только сейчас нашёл этот форум, еле нашёл как создать тему. Я тут первый раз. Поэтому если буду делать что-то не так, пожалуйста не удаляйте. Мне действительно нужна помощь.
Про то что нельзя прикреплять фотографии, я уже прочитал. И это печально. Надеюсь по словам люди поймут.
Вопрос, что такое INetCache и почему туда копируются мои фотографии?
Я стал перекидывать файлы на планшет Хуавель. ( На компе Виндовс 10) При перекидывании почему-то соединение сбрасывалось, и переходило в режим «Только зарядка». Мне приходилось заново подключать и копировать. Это было только при перекидывании.
Потом я стал открывать фотографии на этом устройстве через компьютер, начинал листать, а там дальше шли не те фотографии которые должны дальше идти. Я мышкой веду вверх, там показывается какие файлы в папке, но там вообще другие фотографии. Там одна или две фотографии которые были на Планшете, а остальные — это какие-то текстуры игры про танки, причём старые. (Я в неё когда-то играл).
Я через свойства нахожу путь к файлу, а это вообще другой путь, в диск C, куда-то в систему. Там же какие-то белые файлы, значки Флеша, фотографии текстур игры, и рядом две моих фотографии которые там не должны быть. Да, они были на Планшете, но и там они были. При удалении с планшета. там они оставались.
Я в этом пути иду назад, оказывается к этой папке можно попасть только через сам путь. То есть самим зайдя в те папки, попасть туда нельзя.
Я открываю другие фотографии, там меня тоже перенаправляет в эту неизвестную системную папку, и их я 4 насчитал. Дальше не продолжал, вдруг что. Их там можно удалять, а при открытии этих же или других фотографии на Планшете, они снова там появляются, либо там где были, либо там же уже но в другой папке, с другим названием.
Что это такое?
Я перерыл интернет, всё что я нашёл, это то что это относится к браузеру Enternet Explorer. Я не знаю есть ли он у меня. комп новый, 2021-го года, была проблема с диском C (SSD), грузился на 100%, были ошибки чтения, знакомый исправил.
В этот раз при загрузке компьютера я долгое время лицезрел чёрный экран и мышку, последнее время иногда такое есть.
Я нашёл откуда взялись эти фотографии текстур игры, они были в папке которую я когда-то качал. Это не официальная копия старой игры, криво сделанная кем-то, я скачать по настольгировать и забыл про неё. Она на Флеше. Иногда Флеш открывается и говорит что он теперь не поддерживается с 2020-го года, и мне конец если я его не удалю.
Так вот. Меня всё это напрягает. Тут замешены одновременно и Интернет Эксплорер, и Флеш. Оба они перестали поддерживается, а значит есть риск что в них могут быть какие-то уязвимости. Хакеры, вирусы, все дела. Я в этом не сильно разбираюсь.
Вот пути файлов, куда сами копировались мои фотографии: C:\Users\admin\AppData\Local\Microsoft\W indows\INetCache\IE\0Y86WCW8
C:\Users\admin\AppData\Local\Microsoft\W indows\INetCache\IE\JOJXAWNH
C:\Users\admin\AppData\Local\Microsoft\W indows\INetCache\IE\XVHLAGKL
C:\Users\admin\AppData\Local\Microsoft\W indows\INetCache\IE\3ZOUGVLH
Хорошо что вроде как фотографии туда копировались только когда я их открывал. И я смог их удалить. А то неизвестно сколько подобных файлов существует, и сколько моих фотографий туда утекло и что с ними может потом стать. Как минимум я не хочу чтобы мои фотографии находились там не зная где.
Ещё добавлю, что это происходило только когда открывал фото с планшета. На дисках компьютера всё было норм, листал в пределах нужной папки.
Может это проблема с файловой системой Винды или программой которая открывает изображения (FastStone Image Viewer).
Однажды я пытался удалить один файл, а вместо него удалялся файл в котором он находится с другими файлами. Какая-то котовасия с файлами у меня же была.
Что мне с этим всем делать?