There was a problem sending the command to the program

Word's 'Problem Sending Command' Error: Fix It in 5 Minutes

This error pops up when Word and Windows get out of sync, usually after a crash or update. Here's how to reset the connection and get back to work.

You double-click a .docx file in File Explorer, or hit Ctrl+P to print, and instead of the document or print dialog, you get a gray box: "There was a problem sending the command to the program." Word might open a blank window, or nothing happens at all. This usually shows up after a Windows update, a Word crash, or when you've got both Word 2016 and Microsoft 365 installed side by side. It's frustrating because the document is fine—the problem is that Word and Windows aren't talking to each other properly.

Why This Happens

Word relies on a hidden communication channel called Dynamic Data Exchange (DDE) to handle commands from outside the program. When you double-click a file, Windows sends a DDE message to Word. If Word isn't listening—because it's busy, crashed, or the registry entry got corrupted—Windows throws that error.

The root cause is often a corrupted registry key under HKEY_CLASSES_ROOT\Word.Document.12\shell\Open. A bad update or leftover from an old Office install can break the command line there. The fix is to reset that key, and in most cases, you don't need to reinstall Office.

Fix 1: Disable DDE in Word's Options (Quick Try)

This is the first thing I try because it's non-destructive and takes 30 seconds.

  1. Open Word (you can do this by clicking the Start menu and typing Word, then pressing Enter).
  2. Click File in the top-left corner.
  3. Click Options at the bottom of the left-hand menu.
  4. In the Word Options window, click Advanced on the left.
  5. Scroll down to the General section.
  6. Uncheck the box that says "Ignore other applications that use Dynamic Data Exchange (DDE)". Wait—actually, that checkbox is the problem. Make sure it's checked. Yes, you want it checked. I know that sounds backwards, but checking it tells Word to ignore DDE requests, so Windows won't try to send them and fail. If it's already checked, uncheck it, click OK, then check it again. That resets the setting.
  7. Click OK and try opening a document again.

After you click OK, you should see the Word Options window close. If you had a blank Word window open, it stays open. Now test by double-clicking a .docx file. If the error's gone, you're done.

Fix 2: Reset the Registry Key (Most Reliable)

If Fix 1 didn't work, the registry key is likely corrupted. This is safe if you follow the steps exactly. You'll need admin rights on your PC.

  1. Press Windows + R to open the Run dialog. Type regedit and press Enter. Click Yes if User Account Control asks for permission.
  2. In the Registry Editor, go to this path. You can copy and paste it into the address bar at the top:
HKEY_CLASSES_ROOT\Word.Document.12\shell\Open
  1. On the left, you'll see a folder called Open. Right-click it and select Export. Save it as a backup somewhere (like your Desktop) in case something goes wrong.
  2. Still on that Open key, look for a subkey called command. Right-click command and choose Delete. Confirm by clicking Yes.
  3. Now navigate to this path:
HKEY_CLASSES_ROOT\Word.Document.12\shell\Open\command

Wait—you just deleted it. So instead, right-click on the Open key, select NewKey, and name it command (all lowercase, no quotes).

  1. Click on that new command key. On the right, double-click the (Default) value. In the value data field, paste this exactly (adjust the path if your Office is installed elsewhere):
"C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE" /n /dde

If you have Office 2013, it's Office15 instead of Office16. If you're not sure, check the folder in File Explorer first.

  1. Click OK, close Registry Editor, and try opening a document again.

After you close regedit, the change takes effect immediately. No reboot needed. Double-click a .docx file. If it opens, the fix worked.

Fix 3: Repair Office (When Nothing Else Works)

If the registry fix didn't take, or you're still seeing the error, your Office installation might have damaged files. Do a quick repair.

  1. Go to SettingsApps (or Control PanelPrograms and Features on older Windows).
  2. Find Microsoft 365 or Microsoft Office in the list.
  3. Click on it and select Change (or Modify).
  4. Choose Quick Repair and click Repair. If that doesn't help, go back and do Online Repair—it takes longer but is more thorough.

During the repair, you might lose your open documents, but you're not losing any files. It just re-downloads and reinstalls Office components. After it finishes, restart your computer and test.

What to Check If It Still Fails

Still stuck? Look at these:

  • Multiple Office versions. If you've ever installed an old Office trial or a standalone version of Word, uninstall it. Two versions fighting over DDE causes this exact error.
  • Default printer. Go to SettingsDevicesPrinters & scanners and set a different default printer. A broken printer driver can trigger the error when you print.
  • Antivirus interference. Some security software blocks DDE messages. Temporarily disable your antivirus (not Windows Defender) and see if the error disappears.

In my experience, the registry fix solves 9 out of 10 cases. The DDE checkbox trick works for another half of the remaining ones. If you've tried both and it's still happening, a full Office repair almost always clears it up. Don't waste time reinstalling Windows—that's overkill here.

Related Errors in Software – Microsoft Office
0x80041201 Outlook search shows nothing? Fix 0x80041201 by rebuilding the index Excel Freezes on Large Power Query? Fix the 3 Real Causes Word spell check dead after Windows Update? Fix it here We found a problem with some content Excel 'We found a problem with some content' error fix

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.