Solution 1: Add Discord files to your antivirus’s whitelist.
Antivirus software, such as Avast, can mistakenly quarantine installer files that are essential for the installation or update to complete, marking them as potentially hazardous.
So, if you’re having the same issue, all you have to do is find the installer file and whitelist it before continuing with the installation. To do so with your Avast Antivirus Tool, follow the steps below.
Step 1 – If Avast is already open, you may find it on your taskbar by right-clicking on it and choosing open. Don’t worry if Avast fails to load on launch; there is another choice. Try manually starting it by pressing the Start button.
Step 2 – Select Scan – Scan for Viruses – Quarantine and follow the on-screen instructions (Virus Chest). The quarantine button can be found somewhere on the page below.
Step 3 – After that, access the quarantine and look for files relevant to Discord. All you have to do now is restore them and then select “Add to extensions” from the drop-down menu. If the installer has already created these files, click Overwrite to overwrite them and restart the installation.
To prevent this from happening again with a different file, you’ll need to mark the installer and the utility as a deviation in Avast antivirus, depending on whether the issue happened during installation or after it was installed.
Step 1: Launch Avast antivirus using any of the methods listed above, then go to Settings – Exclusions. All users must add the files that should not be monitored and that should not be inspected or registered as a danger to this list.
Step 2 – To prevent the Discord installer folder from being scanned, add it to the exclusions list. If the issue still happens, go to the installer file’s location and pick it.
Step 3 – Once you’ve completed the instructions above, shut the Avast Antivirus window and try running or installing Discord again to see whether the error has gone away.
Solution 2: Fix for Windows 7 Users
Many Windows 7 users are also experiencing this issue and are unable to run or install Discord on their computers. This is a solution that is tailored to their needs. It’s simple to do; just follow the steps below:
Step 1- Go to the Start Menu and search for “Computer,” then right-click on it. Select “Manage” from the drop-down menu. To continue, go to Server Manager > Features and select Add Features from the drop-down menu.
Step 2 – This will launch the Add Features Wizard, where you can check for the “Quality Windows Audio Video Experience” entry on the list, check it, and then click the “Next” button.
Step 3 – Double-check that the QWAVE option is selected before confirming the installation. To begin, press the install button. Restart your computer to save any modifications you’ve made to your system.
Solution 3: Reinstall everything from scratch.
Step 1 – Make sure you’re logged in as an administrator account so you can’t delete applications with any other account.
Step 2- From the Start Menu, select Control Panel. If you’re using Windows 10, go to Settings by clicking the gear icon.
Step 3 – In the control panel, go to the top right corner and select View as a category, then uninstall a programme from the programmes area.
Step 4 – Select Apps to get a list of all installed programmes on your computer. When you use the Settings app, this happens.
Step 5- Locate Discord in Control Panel or Settings and uninstall it.
Step 6 – The Discord uninstall wizard should launch, prompting you to “fully remove Discord from your computer.” Select Yes.
Step 7 – When the uninstalling procedure is complete, click Finish.
After the tool has been successfully removed, eliminate the remaining unnecessary folders that are frequently the source of problems like this. This is an important step in the uninstallation process, so make sure you complete it before moving on.
Step 1- Go to the start or search button and type Run into the search field. Alternatively, you can start the programme by pressing Win + R. When the Run dialogue box opens on the screen, write “% appdata percent ” and press Enter.
Step 2 – A folder will appear; navigate to the Discord folder within it and right-click it. Select the Delete option after that.
Step 3 – Return to the Run dialogue box and input “% appdata percent ” again, pressing Enter. You must perform the procedure from step 2 once again. Locate the Discord folder and delete the files.
Step 4 – Before proceeding, double-check that the folders have been completely erased and that no data remain.
Once you’ve completed the aforementioned steps and erased the directories, you’re ready to reinstall the Discord utility by downloading the most recent installer from their website.