How to Fix Discord “Installation has Failed” Error?

Fix game glitches & all your PC errors with iobit Advanced SystemCare & enhance your online security.

Struggling with Discord “Installation has Failed” error? This error commonly appears when users who have previously installed Discord at some time try to re-install DiscordSetup.exe. This error appears as a popup message saying the below messages and prevents from utilizing Discord:

  • DiscordSetup.exe 
  • Installation has failed 
  • There was an error while installing the application. 
  • Check the setup log for more information and contact the author.
How to Fix Discord Installation has Failed Error in Windows

This error can occur due to several factors, including poor internet connectivity, incomplete or corrupted download, insufficient user permissions, conflicts with other programs running on your computer, or interference from antivirus or firewall settings.

But don’t worry! In this guide, we will help you fix this error effectively and successfully. Let’s get started!

Initial Measures to Fix the Discord Installation Failure

Before trying to reinstall Discord, it’s important to ensure that all background Discord processes are disabled and that any existing installations are completely removed from your system. This helps to eliminate any conflicting files or settings that may be causing the installation error. To do this, follow the below two steps:

First Step: Removing Discord from Your PC and Ending Discord Processes

Fix Your PC Advanced SystemCare will automatically clean up, speed up & fix your Windows issues and make Discord installation possible.

Here’s what to do:

  • Press ‘Ctrl+Shift+Esc’ on your keyboard to open the “Task Manager”. Open “Processes” tab.
  • Look for any items related to “Discord” in the list of processes. These are tasks or programs running on your computer. Click on any Discord-related processes, then click “End task” to stop them.
Discord End Task
  • Close the “Task Manager” when you’re done.
  • Now, go to your taskbar and click on the ‘Search’ icon.
  • Type “Control Panel” and press ‘Enter’. Find the “Uninstall a Program” option under the “Programs” category and click on it.
  • Right-click on “Discord” in the list of programs, then select “Uninstall” to remove it from your computer.

Second Step: Removing Leftover Discord Files and Folders

  • Press the ‘Windows + R’ keys to open the “Run” dialog box.
  • In the “Run” dialog box, type “%appdata%/Discord” and click “OK”. This will take you to a folder where Discord files are stored.
type appdata discord
  • Once you’re in the “Discord” folder, right click then click “Delete”.
Remove Discord Files in AppData
  • Next, open the “Run” box again by pressing the ‘Windows + R’ keys, and this time type “%LocalAppData%/Discord” and click “OK”. This will take you to another folder with Discord files.
type local appdata discord
  • Again, select everything in the folder and use ‘Shift + Delete’ to permanently delete them.
Remove Discord Files in Local
  • At last, restart your PC to finish the process.

Once you’ve removed Discord and its leftover files, you can try the solutions below to fix the “Discord Installation has Failed” error on Windows 10 and Windows 11.

3 Easy Solutions to Fix Discord “Installation has Failed” Error

Let’s begin with three easy solutions. Though they may seem simple, they’re quite effective in resolving the error. Starting with these basic solutions is often the quickest way to solve the issue before trying more complex ones.

Solution 1: Re-download the Discord Setup File

Fix Your PC Advanced SystemCare will automatically clean up, speed up & fix your Windows issues and make Discord installation possible.

First, try getting a fresh copy of the “DiscordSetup.exe” file. This is to make sure that the problem isn’t happening because the setup file got messed up. 

Just go to the Discord website at https://Discord.com/download and click on “Download for Windows” to download a new Discord installer. Then, try to install Discord again using this new setup wizard.

Solution 2: Run the Discord Setup File as Admin

Running the setup file as an administrator can bypass certain permission-related issues that may be causing the installation failure. Here’s how to do it:

  • Press the ‘Windows Key’ on your keyboard.
  • Type “Discord” and look for “DiscordSetup.exe” in the search results.
  • Click on “DiscordSetup.exe” and choose “Run as administrator”.
Run the Discord Setup File as Admin
  • If a User Account Control (UAC) prompt pops up, click “Yes” to allow the program to make changes to your computer.
  • Click “Run” to start installing Discord. Discord should now install without any problems. If you still have issues, try the next solution.

Solution 3: Temporarily Disable Antivirus and Firewall

Disabling antivirus and firewalls temporarily can prevent them from interfering with the installation process. Sometimes, these security measures mistakenly identify Discord as a threat and block its installation. Here are steps for both Windows security and third-party software:

If you’re using “Windows Security”, follow the below steps:

  • Press the ‘Win + S’ keys and type “Windows Security”, then press ‘Enter’. 
  • Select “Virus & threat protection”.
  • Click on “Manage settings” under Virus & Threat Protection settings.
  • Toggle off the switch next to “Real-time protection”. Confirm by selecting “Yes” if prompted.
Toggle Off Real-time protection

For Third-Party software:

  • Open your security software.
  • Look for an option to disable real-time protection or any feature that actively scans for threats.
  • Temporarily turn off these features.
Temporarily Disable Antivirus Software
  • Windows Security or antivirus software is now turned off. Try installing Discord again to see if it works this time. Once the installation is successful, remember to turn your security software or Windows Security back on to keep your computer protected from threats.

3 Advanced Solutions to Fix Discord Installation Error

If the easy solutions didn’t work for you, let’s take a look at some advanced solutions to fix the error. You can easily follow these solutions using the instructions provided.

Adv. Solution 1: Run Microsoft Program Install and Uninstall Troubleshooter

Fix Your PC Advanced SystemCare will automatically clean up, speed up & fix your Windows issues and make Discord installation possible.

If Discord still won’t install, try using a tool called the Microsoft Program Install and Uninstall troubleshooter. The Windows Troubleshooter is a built-in tool that can automatically detect and fix issues related to the installation of programs and also registry key issues. Here’s what you need to do:

  • First, you have to download the “Program Install and Uninstall Troubleshooter” from Microsoft’s website here.
  • Click the “Download troubleshooter” button on the page.
  • Find the folder where the troubleshooter file was downloaded to. 
  • Double-click on the file called “MicrosoftProgram_Install_and_Uninstall.meta.diagcab” to open it.
  • Click “Next” to start the troubleshooting process.
  • If you see Discord on the list of programs, select it. If you don’t find it in the list, choose the “Not listed” option.
Select Not Listed
  • Click “Next” again to begin troubleshooting and let the tool try to fix the installation problem.

Adv. Solution 2: Install Discord in Safe Mode

To fix the “Discord Installation has Failed” issue, you can try installing Discord in Safe Mode. This special mode starts your computer with only the most basic drivers and files, which can help bypass any third-party apps or drivers causing the problem. Here’s how to enter Safe Mode:

  • Press the ‘Win + I’ keys together to open the “Settings” app.
  • In the search box, type “recovery” and select “Recovery options”.
  • Press the “Restart now” button next to “Advanced startup”.
Recovery options > Advanced Startup > Restart Now
  • Once the “Choose an option” screen appears, choose “Troubleshoot”, and then “Advanced options”.
  • Next, click on “Start-up Settings”.
Startup Settings
  • Select the “Restart” button to open the startup settings.
  • Here, choose ‘option 5’ to enter “Safe Mode with Networking”.option 5 to enter “Safe Mode with Networking”.
Select Enable Safe Mode with Networking
  • Now, download Discord and try installing it again while in “Safe Mode”. This may help resolve the installation issue.

Adv. Solution 3: Install the Latest .NET Framework

Discord requires the .NET Framework to function properly on Windows systems. Installing or updating the .NET Framework can ensure that Discord has all the necessary components to install and run successfully.

If that’s the case, you’ll need to install it again. Here’s how to install .NET Framework on Windows:

  • Go to the Microsoft .NET Framework page.
  • Now choose .NET Framework 4.8.1 or the latest version available and click on the “Download .NET Framework 4.8.1 Runtime”.
  • Upon downloading, find the folder where you downloaded the file using “File Explorer”.
  • Double-click on “NDP481-Web” to open the installer window.
  • Click on the “Continue” option. If .Net is already available in your system, you’ll receive an error message stating ‘.NET Framework is already installed on this computer’ and the “Continue” option would not work. 

If you already have .NET Framework but it’s not working properly, you can try fixing it using the Windows .NET Framework Repair Tool. Here’s how:

  • Visit the Microsoft .NET Framework Repair Tool download page.
  • Scroll down and click on the “Microsoft .NET Framework Repair Tool” download link.
  • Once the tool is downloaded, double-click the “netfxrepairtool.exe” file to run it. Click “Yes” if prompted by UAC.
  • Accept the conditions and click “Next”. The tool will check your system for issues and suggest steps to fix them.
  • Click “Next” to apply the changes.
  • Once the repair is complete, click “Next” and then “Finish” to exit the tool.

Final Words

And there you have it! We’ve reached the end of our article. We’ve covered everything you need to know. These simple solutions provide effective ways to address the “Discord Installation has Failed” error on Windows.

By following these steps, you can quickly troubleshoot and resolve the issue, ensuring a smooth installation of Discord. We hope this guide has helped resolve the problem for you.

Offer
Get an auto-fix solutionGet iobit Now

iobit Advanced System Care is used by millions of users worldwide.

It’s a “must-have” for every PC or MAC user who wants:

  • To fix common PC errors automatically
  • To speed up their computer performance
  • To fully secure their device
Other Guides That May Be Useful:
About the author
Mendy Lieberman
Mendy Lieberman - Founder, PC repair expert

Mendy is a founder of WindowsFixHub.com. He’s been a ‘tech-geek’ for a decade.
He has a background in IT consulting and has gathered a team for WindowsFixHub which main purpose is to provide the most helpful PC tech and software repair guides in the market!