How can I block a program with the firewall?
With a firewall you can prevent hackers or malware from gaining unauthorized access to your system. Windows Firewall usually blocks suspicious programs automatically. However, you also have the option to block apps and programs manually via the security settings.
Block a program - this is how it works
Using the security settings, you not only have the option to add exceptions, but you can also specifically block certain programs.- Go to the Start menu and click on the gear icon to open the settings.
- Switch to the "Updates and Security" category and select "Windows Security" in the navigation on the left.
- Click "Firewall & Network Protection" and then "Advanced Settings".
- Select "Outgoing Rules" in the list on the left.
- Click "New Rule" in the upper right corner and select "Program".
- Enter the file path to the program and click "Next". In the next two steps, you do not need to change anything in the default settings.
- Finally, name the new rule and click "Finish".