This error is due to conflicts between files within the program folder, it is very likely that you will face this problem after updates of your Java driver or Discord itself, in this the activities that we develop in Discord can also play a role such as voice chat or even autostart (you can prevent Discord from starting with Windows)
All this is due to the fact that many of these actions are executed by means of “scripts” or commands that are executed automatically when certain parameters are met, over time some of these scripts are stored in the root folder of the program leading to annoying Discord startup issues.
Another possible cause of problems is that several processes of the program execute each other creating errors, so it will be necessary to close them and restart the program so that it works correctly, then we will see how to fix this problem in different ways.
- Hover your mouse over the taskbar and right click, then select ‘Open Task Manager’
- Find the ‘Discord.exe’ process and right click on it, then choose ‘End Process Tree’
Once this is done, you should be able to start the program again without any problem, in case it does not work you can uninstall Discord from Windows to be able to reinstall it after that, but first you can try the solution below.
- Go to the control panel and in the search bar enter ‘%appdata%’ (without the quotes)
- Click on the folder of that name and in the new tab that will open select the portfolio ‘Discord’ right click and select ‘Delete’
- Once the folder is deleted, open the Windows file browser again and type ‘ %localappdata%’ (without the quotes) and in said folder again look for the ‘Discord’ directory and delete it
- Then go to the Windows recycle bin and right click on its icon select ‘Empty Trash’
This step should cause the next time you start the program the scripts are created back to their default values, allowing you to play music on Discord, share your screen, use voice chat and any other kind of features without this resulting in crashes. a mistake.
Although it is not a direct solution, the problem may be occurring because your antivirus is preventing Discord from working properly and for this you will have to add it to a ‘White List’ or safe programs, also known as ‘Exceptions’ in other antiviruses, for this:
- Open the start menu and select the search bar, there type ‘Windows Defender Firewall’ and select the option of that name
- Go to the ‘Allow an app or feature to run through Windows Defender Firewall’ option in this new tab that will open select the ‘Discord’ checkbox
- In case you cannot find it, you will have to select the option ‘Allow another application’ and search for the Discord installation paththen select your executable file, and finally the Discord box in the menu above.
Some antiviruses have options to add programs to an exception list from their own menus, however this method causes the Windows Firewall to allow it to be done. run Discord properlyLikewise, most antiviruses add programs that are on the Windows Defender list to their own exception lists.
It is possible that, by default, when installing the program automatically you have been given admin privileges for Discordwhich can cause problems in its execution since the operating system can, like Windows Defender, block certain actions or processes as a protection measure.
To solve this we will have to remove Discord admin privilegessimply:
- Go to the Discord shortcut icon on your desktop if there is one and select it with right click, then choose ‘Open file location’
- There right click on the executable file that was highlighted and select ‘Properties’
- In the last menu click on ‘Compatibility’ and there uncheck the box ‘Run this program as an administrator’