Docs · guide

Word could not create the work file, and what it is really about

By Alberto Gulotta · Updated · 12 min read

Word could not create the work file names the TEMP variable, but Microsoft’s own page on the error never corrects TEMP. It gives four methods: a malware and disk check, a new user variable, a Content.Word folder, and turning off the File Explorer preview pane or deleting three registry keys.

Microsoft’s four methods, in the order its own page gives them
MethodWhat it changesHow reversible
1. Antivirus scan, then sfc /scannow and chkdsk /r /f Repairs corrupted system files and disk errors Nothing to undo — it only repairs
2. Add a user variable named %userprofile% Adds one entry under User variables Delete the variable again
3. Create a Content.Word folder in INetCache Creates one empty folder Delete the folder again
4. Turn off the Preview pane, or delete three CLSID keys A File Explorer setting, or three registry keys The setting, yes. The keys need a registry backup first
Drawn table of the four methods Microsoft publishes for the Word work file error and what each one changes
Four methods, in Microsoft’s order, with what each one costs to undo. Figure drawn by AI Tools Primer from Microsoft Learn, “‘Could not create the work file’ error in Office”, read on 24 September 2026.

The message names the wrong thing, and that is why it is confusing

“Word could not create the work file. Check the temp environment variable.”

That is the sentence, quoted from the page Microsoft publishes about it, under the heading Symptoms: “When you try to preview or save a document, Word returns the following error message…”

Read the symptom rather than the message. Microsoft says preview or save, and its fourth method is about the preview: the File Explorer preview pane, and the registry keys behind it.

The message points at the TEMP environment variable, and none of Microsoft’s four methods changes it: only one touches an environment variable, and that one adds a new variable rather than correcting TEMP.

Microsoft has a troubleshooting page on this exact sentence, and it is the source for everything below. It is titled “‘Could not create the work file’ error in Office” and sits on Microsoft Learn, where its address now leads into the previous-versions section; the four methods in the table above are its four sections in its own order. Where a step here goes beyond that page, the page it came from is named in the sentence.

  1. Start with the File Explorer Preview pane, because it costs nothing. Open a folder of Word documents, then View › Show › Preview pane, and make sure it is unchecked. If the message was appearing as you clicked through files rather than as you opened them, start here.
  2. Then repair the system files. Open Command Prompt as administrator, run sfc.exe /scannow, let it finish, then run chkdsk /r /f and restart. Microsoft puts this first.
  3. Add the environment variable. Start › Settings › System › About › Advanced system settings › Environment Variables. Under User variables select New; in the name field type %userprofile%; in the value field type C:\Users\<username> with your own user folder name. OK out of every window and restart.
  4. Rebuild the folder Word writes into. In File Explorer go to C:\Users\<username>\AppData\Local\Microsoft\Windows\INetCache, turning on Hidden items on the View ribbon if you cannot see it, and create a folder called Content.Word. Restart and try again.
  5. Only then the registry, and back it up first. Microsoft’s own warning runs ahead of its instruction: “Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.” In the Registry Editor, File › Export writes that backup.
  6. Delete the three preview-handler keys, then restart Windows. They are listed in the next section, one for each Office program. Microsoft’s page ends there: close Registry Editor, and restart Windows.
Drawn menu route to the Windows environment variables through Settings, System and About
Four clicks to the window where the variable is added. Figure drawn by AI Tools Primer.

The second method is the one that looks invented, and it is not. Creating a new user variable whose name is %userprofile% reads like a mistake: %userprofile% is already a built-in variable, and putting percent signs in a variable name is not something anyone would think of. Microsoft’s wording is unambiguous: “In the Variable name field, enter %userprofile%. In the Variable value field, enter C:\Users\<username>.” It is step 5 and 6 of its own numbered list. Whether it helps on a given machine is a different question; that it is Microsoft’s instruction and not folklore is settled.

The three registry keys, and what each one is for

From Microsoft’s page, which names them by program: Word Preview, PowerPoint Preview, Excel Preview.

Word Preview
HKCR\CLSID\{84F66100-FF7C-4fb4-B0C0-02CD7FB668FE} — the preview handler for Word, the program the error message names.
PowerPoint Preview
HKCR\CLSID\{65235197-874B-4A07-BDC5-E65EA825B718}. Microsoft lists it alongside the other two, which is the clue that this is not a Word problem with a Word fix.
Excel Preview
HKCR\CLSID\{00020827-0000-0000-C000-000000000046}. Microsoft lists it third, after Word and PowerPoint.
Before you delete any of them
Microsoft: “Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly.” Help Desk Geek adds the practical version of the same caution: export the keys with File › Export first, and make sure a System Restore point exists.
The cheaper alternative
Microsoft offers it in the same breath: “To work around the issue, turn off the Preview pane in File Explorer.” The registry route exists for people who want to keep the preview pane switched on.
Drawn table of the three registry preview handler keys Microsoft names, for Word, PowerPoint and Excel
Three keys, three programs: the error is not only Word’s. Figure drawn by AI Tools Primer.

The keys Microsoft has you delete are Word Preview, PowerPoint Preview and Excel Preview, which is as plain a statement as the page makes that the fix is about the preview pane for all three programs, not about Word alone.

One published account is worth adding because it explains the timing. On Super User, the accepted answer begins: “In my case this error message popped up from the Word Preview just by selecting the file in Windows Explorer” — and the fix was the same three keys. If the ding arrives while you are clicking through a folder rather than while you are opening or saving, that is the preview handler, and method 4 is where to start rather than where to finish.

What Microsoft says it applies to

Two words: “Applies to: Office”. Not a version of Office, not a version of Windows, and no build numbers.

The last of its four methods edits the registry, so it is worth seeing how little the heading commits to before you get there.

What the steps themselves imply

Start › Settings › System › About › Advanced system settings is the Windows 10 and Windows 11 route.

The scope you can actually rely on comes from reading the instructions, not the heading. On anything older, expect the menus to be somewhere else.

When it was last checked

The page carries “Last updated on 2024-06-06” at the foot, which is the only date on it.

We read it in full on 24 September 2026 and the four methods are as described here. If Microsoft revises it, this page is the thing that will be out of date, not that one.

So the honest summary of scope is this. The instructions are Windows 10 and Windows 11 instructions, read off the menus they describe. Microsoft states no Office version on the page we read on 24 September 2026. The preview pane setting is a File Explorer setting rather than an Office one. None of that is a reason not to follow the page; it is a reason to know what you are being told and what you are inferring.

Where to start

Four ways in.

“It pops up when I click, not when I open.”
Start with the preview pane — what the message is about
“Just give me the steps.”
Six, from Microsoft’s four methods — the four methods in order
“Which registry key, and is it safe?”
Three keys, and the warning that comes first — the three preview keys
“Does this apply to my version?”
Microsoft says two words — how far the page goes

What the message is about

Microsoft’s symptom says preview or save, and its last method is about the File Explorer preview pane.

The four methods in order

Microsoft gives four; the steps here start with the one that costs least, the preview pane, and leave the registry for last.

The three preview keys

Word, PowerPoint and Excel each have one on Microsoft’s list.

How far the page goes

An Applies To line of two words, on a page whose last method edits the registry.

Questions people also ask

What does “Word could not create the work file” mean?

A work file is a temporary file Word writes while it renders or saves a document. The message means one could not be created. Microsoft lists the symptom as happening “when you try to preview or save a document”, and previewing is the half that surprises people.

Why does the error appear when I have not opened anything?

Because the File Explorer preview pane asks Word to render the document as soon as it is highlighted. Turning the preview pane off — View › Show › Preview pane — is Microsoft’s own workaround, and it takes one click.

Do I really have to create a variable called %userprofile%?

That is what Microsoft’s page says, word for word: “In the Variable name field, enter %userprofile%.” It is method 2 of four, so it is worth trying the preview pane and the system file scan first.

Is it safe to delete those registry keys?

Microsoft prints its standard warning first: “Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry.” Export the keys before deleting them. Microsoft’s alternative, which touches no registry at all, is turning the preview pane off.

Does this fix work on a Mac?

No. Every method on Microsoft’s page is a Windows method — Command Prompt, Windows Settings, a Windows folder path and the Windows registry — and the page does not mention the Mac.

Which version of Office and Windows does the Microsoft page cover?

It says only “Applies to: Office”, with no version of either. The steps use the Windows 10 and 11 Settings route and the INetCache path, so that is the scope you can read off the instructions. The page was last updated on 6 June 2024.

Not covered here. It does not cover the Mac, where the error message exists but the registry, INetCache and the File Explorer preview pane do not.

It does not cover the case where Word will not start at all, which is a different symptom with a different first step.

And it does not recommend a repair tool. Every method here is a menu, a command prompt or the registry editor already on the machine. What holds instead is simple: the four methods and the three registry keys are quoted from the Microsoft page that publishes them, with the date it was read.

Sources

  1. Microsoft Learn — “Could not create the work file” error in Office: the symptom, the four methods, the three preview handler keys and the registry warning. Applies to: Office — no version of Office or of Windows is stated. Last updated on 6 June 2024, and filed by Microsoft under previous versions — learn.microsoft.com, read September 2026.
  2. Help Desk Geek — How to Fix the ‘Word Could Not Create the Work File’ Error in Microsoft Word, by Ben Stockton, 15 October 2023: the same four methods with the registry backup step spelled out, and the note to delete an existing Content.Word folder before recreating it — helpdeskgeek.com, read September 2026.
  3. Super User — “Every time I open Word 2016 I get the error Word could not create the work file”, asked 14 November 2019: the answer that traces the message to the Word Preview handler firing on selection in Explorer, and the same three keys — superuser.com, read September 2026.

Written by Alberto Gulotta

Founder and editor of AI Tools Primer, writing from Palermo, Italy. Thirty-five years of taking computers apart, starting with a Commodore 64 — the long version is on the about page.

Something wrong on this page? Write to aitoolsprimer@gmail.com and it gets fixed.

Written on 25 September 2026.

Independence and limits

No affiliate links and no paid placements anywhere on this site. Nobody pays to appear here, and no company has seen this page before you did.

This is general information, not professional advice. Where a page touches money, health, safety or the law, it names its source and the date it was read — and your situation may still differ. See the privacy page and the cookie policy.