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

2 lines
152 B
Batchfile
Raw Normal View History

2023-02-22 20:24:42 +00:00
reg ADD HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff /f
netsh advfirewall firewall set rule group="Network Discovery" new enable=No