Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ProIntegritate/21654ec529cd2da27fd7079746459f8c to your computer and use it in GitHub Desktop.
Save ProIntegritate/21654ec529cd2da27fd7079746459f8c to your computer and use it in GitHub Desktop.
@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