Discord rarely conflicts with the Windows Firewall. However, such situations are possible. Due to incorrect settings, various problems and errors in the program may happens.
In this article, we will look at how to allow Discord through firewall in case of blocking by the built-in defender.
How to Add Discord to Windows Firewall Exceptions
Allowing Discord for Firewall is very easy. You need to add it to the whitelist in the Firewall settings. To do this, follow these steps:
- Open Windows Security by clicking on the icon in the system tray;
- Go to the “Firewall & Network Protection” section;
- Click “Allow an app through the firewall”;
- Activate the checkboxes on Discord;
If there is no Discord in the list of allowed applications, then you should add it manually. To do this, click “Allow another app” and add the path to the executable exe file.
If you don’t know where the file is located, you can right-click on the Discord shortcut on your desktop, go to properties and in the Start in line see the path to the file. The file is located in the app-1.0.9004 folder.
- When all settings are set, click “OK”;
- Next, go to Advanced Settings;
- Open Inbound Rules;
- Click “New Rule” in the right part of the window;
- Select the rule type “Program” and click “Next”;
- Click Browse and add the path to Discord;
- Activate the item “Allow the connection” and click “Next”;
- Activate the checkboxes opposite the required connection types and click “Next”;
- Give the rule a name and click Finish. The description field can be left blank.
How to Add Discord to Firewall Exceptions with Command Prompt
Another quick and convenient way to add Discord to Windows Firewall exceptions is to use the command prompt or the Windows PowerShell application. Let’s take the last as an example:
- Right click on the Windows button;
- Select “Windows PowerShell (Admin)” from the menu list;
- Copy the command:
netsh advfirewall firewall add rule name=”Discord” dir=in action=allow program=” C:\Users\Yuriy\AppData\Local\Discord\app-1.0.9004\Discord.exe” enable=yes
You need to add your path to the Discord executable file. You can view the correct address to the file in the properties of the shortcut on the desktop.
- Press Enter. The fact that everything went well will be notified by the appeared “OK” in a new line.
That’s all. Now you know how to add rule and allow Discord through firewall in case it was blocked by Windows Defender Firewall. You can unblock any program in this way.