Created
July 5, 2021 20:42
-
-
Save ProIntegritate/21654ec529cd2da27fd7079746459f8c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Run as admin. | |
netsh advfirewall firewall delete rule name="Audacity-in" | |
netsh advfirewall firewall delete rule name="Audacity-out" | |
pause | |
echo Run your update now, then press any key to reactivate the firewall. | |
pause | |
netsh advfirewall firewall add rule name="Audacity-in" dir=in program="audacity.exe" action="block" enable="yes") | |
netsh advfirewall firewall add rule name="Audacity-out" dir=out program="audacity.exe" action="block" enable="yes") | |
echo Done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment