[FIX] ‘DDE Server Window: Explorer.exe’ Application Error

The error occurs due to a DDE server, as described in the error message. DDE server is an old utility that works efficiently by letting the other application communicate with each other. However, when we perform a shutdown, all the applications close immediately. Sometimes, it does not happen, and several errors can occur due to the Windows updating, Autohide Taskbar, running applications with unsaved data such as notepad work, editing software, and others.

How to Fix Unable to Shutdown Due to a DDE Server Window On Windows?
How to Fix Unable to Shutdown Due to a DDE Server Window On Windows?

Some users have reported that the error disappears after forcing the computer to shut down by pressing the Power button on the CPU. However, it is not a good idea as it can lead your system not to start correctly. So far, we have talked about the main contributors, but we did not mention all of them as they can be involved as a culprit in your case. We have outlined some of the main factors below:-

  • Outdated Windows- If there is an issue with the DDE server, updating the Windows might help. In many scenarios, outdated Windows causes bugs that can be fixed by updating Windows.
  • Third-Party Antivirus- There might be a chance that your antivirus is interfering and causing DDE server error. If a program is trying to communicate through a DDE server and the antivirus is interfering with them, this error will likely appear.
  • Enabled Automatically Hide Taskbar Option- It has been observed by the users that the enabled automatically hide taskbar option was causing this issue. After disabling it, they managed to fix this error.

Before diving into solutions, we recommend restarting Explorer.exe or just ignoring this error message and trying restarting the computer multiple times, as it can fix this error without making any changes. However, these solutions are not permanent. You have to follow the below methods to fix this error permanently.

1. Disable Automatically Hide Taskbar Option

Some users are used to hiding the taskbar while working on the computer. However, according to the affected users, hiding the taskbar can take the user to this error. Below are the steps to disable the automatically hide the taskbar option:

  1. Right-click the desktop and click Personalize

    Navigate to Personalize Settings
    Navigate to Personalize Settings
  2. Click Taskbar from the left pane
  3. Disable Automatically Hide Taskbar in Desktop Mode by clicking the toggle button
    Disabling Automatically Hide Taskbar
    Disabling Automatically Hide Taskbar
  4. Once done, try to shut down the computer to check if the issue is fixed.

2. Use Registry Editor to EndTak All Processes

Usually, Windows takes 4 to 5 seconds to close all background services. In the registry editor, you can edit and create two files to change these values. One is WaitToKillServiceTimeout, and the other is AutoEndTask. WaitToKillServiceTimeout is used to tell the computer how much time it will take to close all services, and AutoEndTask forces the apps to close when the user performs a shutdown. Remember, after configuring these two files, don’t forget to save your data before shutting down the computer, as you could lose all your unsaved data. If this method does not fix this error, undo all the changes by deleting the registry file or editing the value to default. Before making changes to the registry editor, we recommend creating a registry backup. So if something goes wrong, you will be able to restore registry files. Below are the instructions:

  1. Press Win + R together to open Run Window
  2. Type the regedit to open Registry Editor
    Opening Registry Editor
    Opening Registry Editor
  3. Go to the following path
    HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control
  4. In the right pane, open the WaitToKillServiceTimeout

    Opening WaitToKillServiceTimeout
    Opening WaitToKillServiceTimeout
  5. Change the Value Date to 2000, then click OK

    Setting a Value Data
    Setting a Value Data
  6. Once done, shut down the computer and check if the error persists. If this method does not fix this issue, follow the below steps
  7. Navigate to the following path
    HKEY_USERS\.DEFAULT\Control Panel\Desktop
  8. Right-click the right pane and hover on New, then click String Value

    Creating a String Value
    Creating a String Value
  9. Type AutoEndTask as file name
  10. Then, double-click the AutoEndTask and change its value to 1
    Editing a Registry Value
    Editing a Registry Value
  11. Click OK and shut down the computer to check if the error is fixed.

3. Close All Applications With Unsaved Data

There may be some applications that are having problems when communicating with the DDE server. However, when we perform a shutdown, Windows closes all the services within seconds. According to us, there might be some applications that are running, and for that reason, the computer is not able to shut down. Therefore, make sure to close all applications when you need to shut down your computer. Follow the steps:

  1. Right-click the taskbar and select Task Manager
  2. Now select all the programs one by one and click End Task

    Closing Applications
    Closing Applications
  3. Once done, check if the error is resolved.

4. Turn Off Third-Party Antivirus

The issue can occur due to a third-party antivirus as it can conflict with the DDE server because it is possible that some files that using the DDE server are still open in the antivirus and causing this error. Below are the instructions to disable third-party antivirus. If you are using a different antivirus not the below one, still the following steps might be helpful:

  1. To disable the antivirus, either uninstall it or disable it temporarily. For that, Right-click the Antivirus
  2. Hover on Avast Shields Control, then click Disable For 10 Minutes

    Disabling Third-Party Antivirus
    Disabling Third-Party Antivirus
  3. Once done, check if the issue is fixed.

5. Update Windows

If the DDE server is experiencing issues, you can try updating Windows as it eliminates various bugs. Hence, give it a try and update your Windows if it is outdated Here are the steps:

  1. Right-click the Start Menu and click Settings

    Opening Settings
    Opening Settings
  2. Head to the Update & Security

    Head to the Update & Security
    Head to the Update & Security
  3. Click Check For Updates and check if the updates are available. If they are, download and install them
    Updating Windows to Latest
    Updating Windows to the Latest
  4. Once it’s done, check if the error persists.

6. Create a new user account

If the error is not fixed yet, try using an alternative way to shut down your computer. You can create a new user account and transfer all the data into the new account if the issue fixes.

  1. To create a new user account, go to Settings by typing it through the Windows search
  2.  Go to Accounts and navigate to Family & Other Users from the left pane
    Head to the Accounts
    Head to the Accounts
  3. Click Add Someone Else To This PC

    Proceeding to Add a Local Account
    Proceeding to Add a Local Account
  4. Then, click I Don’t Have This Person’s Sign-in Information

    Click I dont Have This Persons Sign In Information
    Click I don’t Have This Person’s Sign-In Information
  5. After that, click Add a user without a Microsoft account
  6. Fill out the user details and click Next to finish
    Entering Username and Password
    Entering Username and Password
  7. Once done, sign out from the current account and login into the new account to check if the error is fixed.

Remember, if none of the methods worked, there are multiple different ways to shut down the computer, and one of them is to press the Alt + F4 and try to shut down the PC. If this does not work, press the Win + R and type shutdown /s, then click OK. If the error still appears, there are other ways to fix this error; you can apply them by following this article on Task Host Window Prevents Shut Down.

ABOUT THE AUTHOR

Hamza Mohammad Anwar


Hamza Mohammad Anwar is an intermediate JavaScript web developer with a focus on developing high-performance applications using MERN technologies. His skill set includes expertise in ReactJS, MongoDB, Express NodeJS, and other related technologies. Hamza is also a Google IT Certified professional, which highlights his competence in IT support. As an avid problem-solver, he recreates errors on his computer to troubleshoot and find solutions to various technical issues.