Avoidance Techniques to Prevent Disconnect Errors During Discord Setup

Avoidance Techniques to Prevent Disconnect Errors During Discord Setup

David Lv13

Avoidance Techniques to Prevent Disconnect Errors During Discord Setup

Discord is a widely-used social media platform where people make their own communities. However, some users can’t install Discordon Windows 10 and 11 because of a DiscordSetup.exe “Installation has failed” error. The issue often arises when users who’ve previously installed Discord try to reinstall the software.

Is the “Installation has failed” error preventing you from installing and utilizing Discord in Windows? If so, you don’t have to miss out on Discord. This is how you can fix the “Installation has failed” error in Windows 10 and 11.

1. Download the Discord Setup File Again

First, try downloading theDiscordSetup.exe file again. This is suggested to double-check that the issue isn’t occurring because of a corrupted setup file. ClickDownload for Windows on the Discord website to obtain a new installer for the software. Then try installing Discord with the fresh setup wizard.

Note that there’s also an alternative Discord Public Test Build (PTB) version available on that download page. You can try installing the PTB, which includes new experimental features, as an alternative to the standard Discord client. To do so, click theDownload Public Test Build option further down the page instead and selectWindows .

The Download Public Test Build button

2. Run the Windows Troubleshooter for Installing and Uninstalling Programs

The Microsoft Program Install and Uninstall troubleshooter resolves issues blocking software installation by examining the registry. So, running the troubleshooter could feasibly be a solution for the “Installation has failed” error. You can download and open the Program Install and Uninstall troubleshooter in the following steps:

  1. Navigate to the Program Install and Uninstall troubleshooter download webpage.
  2. Click that page’sDownload troubleshooter button.
  3. Select File Explorer’s taskbar shortcut (the folder library icon), and bring up whatever directory contains the downloaded Program Install and Uninstall troubleshooter file.
  4. Double-clickMicrosoftProgram_Install_and_Uninstall.meta.diagcab to launch the troubleshooter.
    The Program Install and Uninstall troubleshooter
  5. SelectNext to go to the first step.
  6. ClickInstalling to view a program list.
  7. SelectDiscord if you can see that software on the list. If Discord isn’t there, click theNot listed option.
    The program selection list
    WPS Office Premium ( File Recovery, Photo Scanning, Convert PDF)–Yearly
  8. Then pressNext again to start troubleshooting.

3. Disable Any Background Discord Processes

Some users have said disabling Discord background processes can resolve the issue. If you’ve previously installed and used the software, there could be some related background Discord processes or services that need disabling. This is how you can check for and disable Discord background processes in Windows 10 and 11:

  1. Launch Task Manager by pressingWin + X and clicking its shortcut. Check out how to launch Task Manager on Windows for more methods.
  2. ClickProcesses if Task Manager opens with a different tab.
  3. Look for Discord-related processes within the Background processes section.
  4. Right-click any Discord process you find and selectEnd task .
    The End task option
  5. Repeat the fourth step for all Discord-related processes.
  6. Try installing Discord after disabling related background processes.

4. Delete Any Leftover Discord Data Folders

Erasing leftover Discord data is one of the most widely confirmed resolutions for the “Installation has failed” error (especially when combined with the third solution). That’s a potential fix more applicable to users who’ve previously installed Discord. If there are leftover Discord data folders on your PC, make sure you delete them as follows:

  1. Open the Power User menu (right-click theStart icon), and selectRun .
    The Run shortcut on the Power User menu
  2. Type**%appdata%** into Run and clickOK to bring up a Roaming directory.
  3. Right-click a Discord data folder in the Roaming directory to selectDelete .
    The Delete option
  4. LaunchRun again, and input**%localappdata%** inside itsOpen box.
  5. SelectOK to view a Local folder.
  6. Right-click a Discord data folder there if you can find one and selectDelete .

5. Run the Discord Setup File as an Administrator

Running the Discord setup file as an administrator will ensure the installer has fuller system access, which might make a difference. To do so, open whatever folder includes theDiscordSetup.exe file. Then right-clickDiscordSetup.exe to select itsRun as administrator option.

The Run as administrator option

6. Install the .NET Framework on Windows

Discord’s “Installation has failed” error can occur because the .NET Framework is missing. If something has happened to .NET Framework on your PC, you may need to install it again. This is how to install .NET Framework 4.5 on Windows:

  1. Open this Microsoft .NET Framework page.
  2. Select .NET Framework’sDownload option.
  3. Bring up the directory containing the downloadeddotNetFx45_Full_setup.exe file in Explorer.
  4. Double-clickdotNetFx45_Full_setup to open the Microsoft .NET Framework 4.5 window.
    The Microsoft .NET Framework 4.5 installer window
  5. ClickContinue if that option isn’t grayed out.

If .NET Framework isn’t missing, there could still be an issue with that framework. You can instead try to repair it by running the .NET Framework Repair Tool. Check out our guide about repairing .NET Framework for more details.

7. Turn Off Antivirus Utilities Before Installing Discord

It’s not entirely unusual for antivirus utilities to cause third-party software installation issues. Antivirus apps are designed to block malware from installing, but can sometimes confuse legitimate third-party software packages to be something they aren’t. So, it’s recommended users turn off antivirus shields before attempting to install Discord.

The Real-time protection setting in the Windows Security app

You can turn off the Windows Security real-time protection by following the instructions in our how to disable Microsoft Defender article. If you’ve got third-party antivirus software installed, right-click its icon within the system tray to select an option for temporarily disabling the shield. You can also probably find a disable shield option within its settings tab.

8. Try Installing Discord in Safe Mode

Some background third-party apps and drivers can also feasibly generate Discord installation issues. So, it’s also possible something in the background other than antivirus software could be causing the “Installation has failed” installation error on your PC. You can eliminate such a potential cause by installing Discord in the Windows safe mode, which disables superfluous background apps and drivers.

windows 11 startup settings safe mode

There are numerous ways to enter safe mode in Windows. You can do so with any of the methods in our guide for how to enter safe mode on Windows . Select theEnable Safe Mode with Networking option on the Startup Settings menu. Then download Discord again and try installing it in safe mode.

Get Chatting Again in Discord for Windows

The potential “Installation has failed” error solutions in this guide are among the most widely confirmed ways to fix that issue in Windows 10 and 11. The third and fourth resolutions particularly often resolve the “Installation has failed” error for users trying to reinstall Discord. However, you can also contact Discord’s support service if nothing seems to work.

  • Title: Avoidance Techniques to Prevent Disconnect Errors During Discord Setup
  • Author: David
  • Created at : 2024-08-16 00:39:17
  • Updated at : 2024-08-17 00:39:17
  • Link: https://win11.techidaily.com/avoidance-techniques-to-prevent-disconnect-errors-during-discord-setup/
  • License: This work is licensed under CC BY-NC-SA 4.0.