fix there was a program sending the command to the program

How to Fix: “There was a Problem Sending the Command to the Program”

Published by Soufiane | Categories : Computers - Fix Errors - Computers - Office - Computers - Software - Computers - Windows 10

Are you getting the error “There was a problem sending the command to the program” every time your open a file in Word or Excel?

This common error comes when you try to open an Word document or an Excel sheet and windows sends a DDE (Dynamic Data Exchange) command to MS Office. DDE is a communal protocol used by Windows to open specific file types that communicates between the source and the target before opening any file. This helps opening multiple instances of a program when not required.

In this how to fix tutorial you will find all the possible solutions that you may try in order to get your Microsoft Word or Microsoft Excel back to work.

This error can also occur while using other applications like AutoCAD, Qlikview & OneDrive. Make sure you are not running them as administrator.

Here is a screenshot of the error while using Microsoft Excel:

fix there was a program sending the command to the program 0

0. Disable Conflicting Programs

If you have an Antivirus installed try disabling it and try again, sometimes the Antivirus program will cause this problem to occur.

Also make sure you are not using AVG Tuneup, lot of users across the web reported this was their issue. Or try using a more recent version of it by updating it.

1. Fix File Associations Using /r

Open Run using the Windows+R keyboard shortcut and type in this command to fix file associations for Microsoft Word:

winword.exe /r

And this command for Microsoft Excel:

excel.exe /r

The /r here will restore the file associations between file types (e.g .doc, .docx, .dot, …) and the program specified (e.g Microsoft Word). This is done at the Registry level.

The benefit of this method is its ease and effectiveness, try it now!

2. Repair Microsoft Office

Right-click on Start or press Windows+X and choose “Apps and Features“.

fix there was a program sending the command to the program 1 apps and features

Right-click on Microsoft Office and choose “Change“.

fix there was a program sending the command to the program 2 repair office

Repair your Microsoft Office by choosing “Quick Repair” and clicking “Repair“.

fix there was a program sending the command to the program 3 quick repair
fix there was a program sending the command to the program 4 repair
fix there was a program sending the command to the program 5 repairing

3. Disable Dynamic Data Exchange

If the none of the solutions above worked, we are going to enable the option that let Microsoft Office ignore other applications that use DDE.

First click on “File“.

Then click on “Options“.

fix there was a program sending the command to the program 6 excel options

Click on “Advanced” in the left menu.

Go to “General” section and check “Ignore other applications that use Dynamic Data Exchange (DDE)

fix there was a program sending the command to the program 7 excel options advanced

Click “OK” and try to open your files again.

4. Disable Run as Administrator for Microsoft Office

If you have the shortcut of the program with administrative privileges, then you may face this “There was a problem sending the command to the program” error message.

The solution is to check whether or not the administrative privileges are enabled or not.

To do this right-click on the program shortcut and click “Properties“.

fix there was a program sending the command to the program 8 excel properties

Choose the “Compatibility” tab and uncheck “Run this program as an administrator“. Click “OK“.

fix there was a program sending the command to the program 9 compatibility administrator

5. Select the Program Manually

If the problem persists, try choosing your program manually.

To accomplish this right click on your word document or excel sheet and choose “Open with…

fix there was a program sending the command to the program 10 open with choose

Click on “More apps“.

Scroll down and click “Look for another app on this PC“.

fix there was a program sending the command to the program 11 look for another app on this pc

Look for the EXE file in the folder C:\Program Files (x86)\Microsoft Office\root\Office16 and click “Open“.

fix there was a program sending the command to the program 12 winword

6. Disable Protected View in Word

The error “There was a problem sending the command to the program” may also appear when you try to open a downloaded file. Thus we should disable Protected view feature in MS Word.

First open Microsoft Word. Click on “File” and select “Options“.

fix there was a program sending the command to the program 13 options word

Click “Trust Center” tab from the left pane and select “Trust Center Settings“.

fix there was a program sending the command to the program 14 trust center word

From the left pane click on “Protected View“.

Uncheck all the options listed below:

  • Enable Protected View for the files originating from the Internet
  • Enable Protected View for the files located in potentially unsafe location
  • Enable Protected View for Outlook attachments
fix there was a program sending the command to the program 15 protected view

Click “OK” and “OK“.

7. Registry Fixes

1st Registry Fix

Open the Registry Editor by using the command regedit in Run (Windows+R).

enable hibernation windows 7 regedit

Open this path:

HKEY_CURRENT_USER\Software\Microsoft\Office

You will find multiple versions of Microsoft Office, find the one you are using. Here I have 16.0.

fix there was a program sending the command to the program 16 registry microsoft office 16

Open that key (16.0 in my case) that represents the version of your MS Office, then find the program that is causing the error (e.g Word) and delete the key “Data” under it.

fix there was a program sending the command to the program 17 registry office delete data

I hope this tutorial helped you open your word documents and excel sheets back again.

If so drop a comment down below.


Related tutorials:


Be the first to leave a comment !

Leave a comment

xD oO ^_^ =] =) ;-( ;) :| :woot: :whistle: :sleep: :sick: :police: :p :o :ninja: :mm: :love: :lol: :kiss: :hmm: :evil: :bandit: :angel: :alien: :D :) :( 8)