Works ok at my endJust try this but it won't work
= You made a typo or didn't run as admin... could also mean your system has non-default Windows build, like a beta test copy but I assume wx pro or home.error message "no rule corresponding to specified criteria"
Why?
A batch file won't work but a exe (run as admin) should work...
netsh advfirewall firewall set rule group="network discovery" new enable=no