Installation has failed
Discord Discord
Severity: ModerateWhat Does This Error Mean?
This error appears when the Discord installer cannot write files to your computer. It usually means something is blocking the installation — antivirus, leftover files, or a permissions problem. The fix is almost always one of a few simple steps.
Affected Models
- Discord (Windows)
- Discord (macOS)
- Discord Canary
- Discord PTB
Common Causes
- Leftover files from a previous Discord installation are conflicting with the new one
- Your antivirus or Windows Defender is blocking the installer
- You don't have administrator permissions on your Windows account
- The installer file was corrupted during download
- A background Discord process is still running and locking the files
How to Fix It
-
Open Task Manager (Ctrl + Shift + Esc), look for any Discord processes, and click End Task on each one.
A hidden Discord process can lock files and block the installer from working.
-
Delete leftover Discord folders. Open File Explorer and delete these folders if they exist: C:\Users\YourName\AppData\Local\Discord and C:\Users\YourName\AppData\Roaming\Discord.
AppData is a hidden folder. Type %appdata% in the address bar to get there quickly.
-
Right-click the Discord installer file and choose 'Run as administrator'. Follow the prompts.
Running as administrator gives the installer full permission to write files.
-
Temporarily disable your antivirus or Windows Defender, then try the install again. Re-enable it once Discord is installed.
Security software sometimes mistakes the Discord installer for a threat and blocks it silently.
-
If the above steps did not work, download a fresh copy of the installer from discord.com and try again.
A corrupted download can cause installation failures that have nothing to do with your computer.
When to Call a Professional
This error is almost always fixable on your own. If you have tried every step and Discord still won't install, it may point to a deeper Windows problem like a corrupted system file. In that case, a local PC repair shop can run a Windows repair without losing your files.
Frequently Asked Questions
Why does Discord say 'Installation has failed' even on a brand new computer?
Even on a new PC, the installer can fail if antivirus blocks it or if the download was incomplete. Try downloading a fresh installer and running it as administrator. That fixes it most of the time.
Is it safe to delete the Discord AppData folders?
Yes. Those folders hold temporary files and cache data — not your account or messages. Your Discord account lives on Discord's servers, not your computer. Deleting these folders just forces a clean reinstall.
Do I need to uninstall Discord before reinstalling it?
If the install failed, Discord may not have installed at all. You can try uninstalling via Windows Settings > Apps first. If it doesn't show up there, just delete the AppData folders and run the installer fresh.