ClusterAPI.imageBuilder/packer/ova/windows/disable-network-discovery.cmd

2 lines
152 B
Batchfile

reg ADD HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff /f
netsh advfirewall firewall set rule group="Network Discovery" new enable=No