Discord is lightweight and easy to navigate, but of course, errors can come up once in a while, which can be pretty annoying, especially if you were planning to chat with your friends or classmates.
You can fix this in several different ways, but you may have to go through each individually to resolve the issue properly.
If you are having trouble installing the application itself, here is what you will need to do.
Fix 1: Redownload Discord
To check if that is the real problem just download the setup again from the official Discord website and try again.
If you are still getting the same error your anti-virus may be blocking you from accessing the file.
Fix 2: Make an Anti-Virus Exclusion
Here’s how to do that with Windows Security (Windows Defender previously):
- Search and open Windows Security from Start Menu
- On the left-hand side of the window, select Virus & threat protection
- Under Virus & threat protection settings, select Manage settings
- Scroll down until you find Add or remove exclusions
- Click Add an exclusion and pick File
- Go to your download folder and select DiscordSetup.exe.
Alternatively: At step 5, exclude the entire download folder and skip step 6.
If you’ve followed every step of the process correctly, the Discord setup is now excluded from the anti-virus software, and you should be able to install it.
Keep in mind; every anti-virus software has a different method for adding exclusions. You can use the guide on the official website of the anti-virus to see what you need to do to add an exclusion.
Fix 1: Delete Roaming and Localappdata Cache
Windows constantly stores the cache in the Roaming and Localappdata folder to make running certain programs and apps smoother and faster. Like any other application, Discord stores this same kind of temporary data in those two folders.
To resolve this problem, you may have to clear your computer of those cache files.
- Close Discord completely from the Tray Icon on the taskbar or through Task Manager
- Press Win + R, type %appdata% and click run
- This will take you directly into the Roaming folder, where you will need to find the Discord folder and delete it.
- Press Alt + Up Arrow. This is going to take you one folder back into App Data. From here, open the Local folder.
- Again, find the Discord folder and delete it
- When you are done, run Discord
Fix 2: Reinstall Discord
Removing cache and temporary files is similar to reinstalling the application, but you should try reinstalling it either way if that didn’t work.
- Open Start Menu, type, and open Remove Programs
- Here, you will need to search for the Discord app and then select Uninstall
- While it is uninstalling, go to the official Discord website and download the setup
- Launch the setup and follow the installation process.