Discord installation fails on Windows for a variety of reasons, but most are fixable with a few targeted steps. This guide walks you through the most common causes and the exact fixes that resolve them, from clearing a corrupted installer cache to adjusting antivirus settings.
Why Discord Installation Fails
Discord’s Windows installer is a straightforward executable, but it depends on several system components and folders that can become corrupted or locked. The most frequent culprits are:
- Corrupted installer cache: Discord stores temporary installation files in
%LocalAppData%\Discord. If these files are incomplete or damaged, the installer fails. - Antivirus or firewall interference: Security software sometimes flags Discord’s installer as suspicious and blocks it mid-installation.
- Outdated system components: Discord relies on the .NET Framework and WebView2 runtime. Missing or outdated versions cause installation errors.
- Permissions issues: If your Windows user account lacks write permissions to the installation directory, the installer cannot complete.
- Background Discord processes: A leftover Discord process (from a previous install or update) can lock files and prevent a fresh installation.
Before You Start: Basic Checks
Run these quick checks first—they resolve a surprising number of installation failures:
- Restart your computer. This clears temporary file locks and stops background processes.
- Ensure you have a stable internet connection. A dropped connection mid-download is a common cause.
- Right-click the Discord installer and select Run as administrator.
- Check if Discord is already running in the system tray (bottom-right corner). If so, right-click its icon and select Quit.
Fix 1: Clear the Discord Cache and AppData Folders
Discord stores its installation files in three locations. If any of these contain corrupted data, the installer fails. Here’s how to clear them:
- Press Windows + R, type
%LocalAppData%, and press Enter. - Delete the Discord folder (this contains the app and its cache).
- Press Windows + R, type
%AppData%, and press Enter. - Delete the Discord folder (this contains user settings and cache).
- Press Windows + R, type
%LocalAppData%\Discord\Update.exe— if this file exists, delete the entire Update.exe folder.
After deleting these folders, re-download the installer from Discord’s official website and run it. This is the single most effective fix for most users.
Fix 2: Temporarily Disable Antivirus and Firewall
Windows Defender or third-party antivirus programs can block Discord’s installer because it tries to write to protected system folders. To test if this is the cause:
- Open your antivirus program and temporarily disable real-time protection.
- If you use a third-party firewall, disable it temporarily as well.
- Run the Discord installer again.
- If it succeeds, re-enable your security software and add Discord to the exceptions list (both for the installer and the installed app).
If you’re unsure how to add an exception, check your antivirus’s help documentation. Never keep your security software disabled for longer than necessary.
Fix 3: Install the Latest .NET Framework and WebView2
Discord’s desktop app requires the .NET Framework (version 4.5 or later) and the WebView2 runtime (for its embedded browser). Outdated or missing versions cause installation errors.
- .NET Framework: Download the latest version from Microsoft’s official .NET download page. Windows Update usually installs this automatically, but you can force it via Settings > Apps > Optional features.
- WebView2 Runtime: Download the Evergreen Standalone Installer from Microsoft’s official WebView2 page. It installs silently and is safe to run even if you already have it.
After installing both, restart your computer and try Discord again.
Fix 4: Run the Installer in Compatibility Mode
If Discord’s installer fails with an error about Windows compatibility, try running it in an older Windows mode:
- Right-click the Discord installer file and select Properties.
- Go to the Compatibility tab.
- Check Run this program in compatibility mode for and select Windows 8 or Windows 7 from the dropdown.
- Click Apply and then OK.
- Run the installer again.
This is a workaround for older systems, but it often bypasses the installer’s version check.
Fix 5: Use the Windows Installer Troubleshooter
Microsoft provides a built-in troubleshooter that automatically detects and fixes issues with program installation and uninstallation:
- Open Settings > System > Troubleshoot > Other troubleshooters.
- Select Program Install and Uninstall and click Run.
- Follow the on-screen instructions. It will scan for common issues like corrupted registry keys or blocked installers.
- If it finds anything, let it apply the fix, then try Discord again.
This tool is safe and doesn’t require any technical knowledge.
Fix 6: Manually Uninstall Any Previous Version
If you’re upgrading from an older Discord version, leftover registry entries or files can block the new install. To do a clean uninstall:
- Open Settings > Apps > Installed apps.
- Search for Discord, click the three-dot menu, and select Uninstall.
- After it finishes, press Windows + R, type
regedit, and press Enter. Navigate toHKEY_CURRENT_USER\Software\Discordand delete the entire key (if it exists). - Also check
HKEY_LOCAL_MACHINE\SOFTWARE\Discordand delete that key if present.
Be careful when editing the registry—only delete the Discord keys mentioned. Then reinstall.
Fix 7: Install Discord via the Microsoft Store
If all else fails, you can install Discord from the Microsoft Store. The Store version is a UWP app that runs in a sandboxed environment, bypassing many of the permission and cache issues that plague the traditional installer.
- Open the Microsoft Store.
- Search for “Discord” and select the official app.
- Click Install and wait for it to finish.
Note that the Store version may have slightly different features (e.g., it doesn’t support overlay in some games), but it’s a reliable fallback.
Frequently Asked Questions
Why does Discord say “Installation has failed” with no error code?
This generic message usually means the installer couldn’t write to a required folder or a required component is missing. Start with clearing the %LocalAppData%\Discord folder and running the installer as administrator. If that doesn’t work, check your antivirus logs for blocked attempts.
Can I install Discord without admin rights?
No, Discord requires administrative privileges to install because it writes to protected system folders (like AppData and the registry). If you don’t have admin rights, contact your system administrator or use the portable version (which doesn’t require installation, but is less stable).
Why does Discord fail to update but not install?
Update failures are usually caused by the same issues as installation failures—corrupted cache or locked processes. The fix is identical: quit Discord, delete the %LocalAppData%\Discord folder, and re-run the installer. It will download the latest version.
Is it safe to delete the Discord AppData folders?
Yes. These folders contain only Discord’s cache, logs, and settings. Deleting them will log you out and reset your settings (like custom themes or keybinds), but your account and server data are stored on Discord’s servers. You’ll just need to log in again.
Does Discord install on Mac or Linux?
Yes, Discord offers installers for macOS and Linux. The same general troubleshooting steps apply, but the file paths differ. On Mac, clear ~/Library/Application Support/Discord; on Linux, check the package manager or use the .deb/.rpm file.
What if none of these fixes work?
If you’ve tried all the steps above and still get an error, it’s likely a deeper system issue. Try creating a new Windows user account and installing Discord there. If that works, your original account has corrupted permissions. If it doesn’t, consider a system restore or contacting Discord’s support team.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Spreadsheet vs Database: Key Differences
- How to Set a Password on a 7-Zip Archive
- Bond Market Volatility: How It Hits Your Funds
- How to Make Group Chats on iPhone
- How to Receive Calls via Bluetooth on iPhone
- How to Watch Live TV on a Smart TV: Antenna or Apps