Fix 0X80004016: OLE1 DDE Disabled Error on Windows Server
This error pops up when apps try to use Dynamic Data Exchange (DDE) and it's turned off. We'll show you how to turn it back on fast.
I know how annoying this error can be. You're trying to run an older app, maybe a legacy accounting tool or a custom server script, and boom — you get hit with 0X80004016 saying something about OLE1 and DDE being disabled. The good news is it's a simple fix. Let's get into it.
The Quick Fix: Enable DDE via Registry
The real fix here is to turn on a registry key that Windows hides by default for security. Here's exactly what to do:
- Open Registry Editor — Press Win + R, type
regedit, and hit Enter. If you get a UAC prompt, click Yes. - Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole— You can copy and paste this path into the address bar at the top of Regedit. After you paste it, press Enter. You should see a bunch of keys likeDefaultAccessPermissionandEnableDCOM. - Create a new DWORD — Right-click in the right panel (the empty white space), choose New > DWORD (32-bit) Value. Name it
EnableDDE. Don't forget the spelling — it's case-sensitive. - Set the value — Double-click the new
EnableDDEkey. Set the Value data to1. Make sure Base is set to Hexadecimal (it should be by default). Click OK. - Close Registry Editor — You're done here.
- Restart the computer — This is mandatory. The change won't take effect until after a reboot.
After the restart, try running the app again. The error should be gone. If you still see it, move to the less common variations below.
Why This Works
DDE (Dynamic Data Exchange) is an old Windows protocol from the 90s that lets programs talk to each other — like an Excel sheet pulling data from a Word document. Microsoft disabled it by default starting with Windows 10 and Server 2016 because it's a security risk. Malware can use DDE to sneak commands into documents. But some legacy apps still need it to work. The registry key EnableDDE under the Ole folder tells Windows to activate DDE support again. Setting it to 1 turns it on. That's all there is to it.
Less Common Variations
Sometimes the simple registry fix doesn't cut it. Here are other things to check:
Group Policy Blocks DDE
If you're on a domain-joined machine, the company's Group Policy might override your registry change. To check: open Command Prompt as Administrator, type gpresult /r, and look for any policy related to DDE or OLE. If you see one, you'll need your IT admin to update the policy. They can look under Computer Configuration > Administrative Templates > Windows Components > DDE and set it to Not Configured or Enabled.
DCOM Permissions Are Wrong
Another angle: even with DDE enabled, if DCOM is misconfigured, you'll get the same error. Open Component Services (search for dcomcnfg in Start). Go to Component Services > Computers > My Computer > DCOM Config. Find the app that's failing (might be listed as something generic like "OLE1 Server"), right-click it, choose Properties, and under the Security tab, make sure the user running the app has Launch and Activation Permissions set to Customize with appropriate access. If you're not sure, set it to Use Default.
Antivirus or Security Software Interference
Some security suites aggressively block DDE. I've seen this with McAfee and sometimes with Windows Defender's Exploit Guard. To test: temporarily disable your antivirus (just for testing) and see if the error goes away. If it does, you'll need to add an exception for the app. In Windows Defender, go to Virus & threat protection > Manage settings > Add or remove exclusions, and add the .exe file of your problem app.
64-bit vs 32-bit WoW64 Issue
On 64-bit Windows, 32-bit apps use a separate registry path. If the app is 32-bit, the registry key might need to be set under HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Ole instead of the path above. Follow the same steps there — create EnableDDE with value 1. Reboot again.
How to Prevent This in the Future
The best way to avoid this error is to plan ahead. If you're deploying a legacy app on a new Windows Server 2022 or Windows 11 machine, apply the registry fix during setup. You can even automate it with a PowerShell script:
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Ole" -Name "EnableDDE" -Value 1 -PropertyType DWord -Force
Restart-Computer -Force
Run that as Administrator before you install the app. Also, keep a note of this fix in your IT documentation. When you upgrade servers, you'll get the same error. Having the fix handy saves time.
If you're building new software, don't use DDE. It's deprecated. Switch to REST APIs, named pipes, or even a simple text file. But for old apps, this is the only way.
Was this solution helpful?