ZhengHuo icon indicating copy to clipboard operation
ZhengHuo copied to clipboard

netsh advfirewall firewall add same rule multiple times

Open chucklu opened this issue 5 years ago • 1 comments

netsh advfirewall firewall add rule name="ZhengHuo" dir=out program="C:\Program Files (x86)\Hearthstone\Hearthstone.exe" action=block enable=no The above command will be executed once the program start the first time.

You could verify it by netsh advfirewall firewall show rule name="ZhengHuo" You might delete the rule by netsh advfirewall firewall delete rule name="ZhengHuo"

chucklu avatar Aug 07 '20 10:08 chucklu

感谢

xkevas24 avatar Jul 07 '21 07:07 xkevas24