Enable or Disable Network Discovery
Use the following commands in Command Prompt to manage Network Discovery settings:
To Turn ON Network Discovery:
netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes
To Turn OFF Network Discovery:
netsh advfirewall firewall set rule group="Network Discovery" new enable=No