Network Discovery - Turn On or Off in Windows 7

    Network Discovery - Turn On or Off in Windows 7

    Network Discovery - Turn On or Off in Windows 7

    How to Turn Network Discovery On or Off in Windows 7
    Published by
    Designer Media Ltd


    How to Turn Network Discovery On or Off in Windows 7

       Information
    When you connect to a network, you must choose a network location. There are four network locations: Home, Work, Public, and Domain. Based on the network location you choose, Windows assigns a network discovery state to the network and opens the appropriate Windows Firewall ports for that state.

    Network discovery is a network setting that affects whether your computer can find other computers and devices on the network and whether other computers on the network can find your computer.

    This tutorial will show you how to to turn Network Discovery on or off in Windows 7.

    You must be logged in as an administrator to be able to do the steps in this tutorial.

       Note
    There are three network discovery states:
    • On
      This state allows your computer to see other network computers and devices and allows people on other network computers to see your computer. This makes it easier to share files and printers.
    • Off
      This state prevents your computer from seeing other network computers and devices and prevents people on other network computers from seeing your computer.
    • Custom
      This is a mixed state in which some settings related to network discovery are enabled, but not all of them. For example, network discovery could be turned on, but you or your system administrator might have changed firewall settings that affect network discovery. If some but not all of these below are true, then the network discovery state will be shown as Custom.
      • Network discovery requires that the DNS Client (Automatic), Function Discovery Resource Publication (Automatic), SSDP Discovery (Manual), and UPnP Device Host (Manual) services are set to be started.
      • Network Discovery needs to be allowed to communicate (add as exception) through Windows Firewall for the network type that the computer or device is connected to.
      • If you have a 3rd party firewall installed, then you will also need to allow Network Discovery to communicate through it as well.

    CONTENTS:
    • Option One: Turn Network Discovery On or Off in Network and Sharing Center
    • Option Two: Turn Network Discovery On or Off in Command Prompt







    OPTION ONE

    Turn Network Discovery On or Off in Network and Sharing Center


    1. Open the Control Panel (icons view), and click on the Network and Sharing Center icon.

    2. In the left pane, click on the Change advanced sharing settings link. (see screenshot below)
    Network Discovery - Turn On or Off in Windows 7-step-1.jpg
    3. Click on the Network Discovery - Turn On or Off in Windows 7-arrow.jpg to expand the network that you want to turn network discovery on or off for. (see screenshot below)
    NOTE: Normally this would be your current profile.
    Network Discovery - Turn On or Off in Windows 7-step-2.jpg
    4. To Turn On Network Discovery
    A) Select (dot) Turn on network discovery. (see screenshots below step 6)

    B) Go to step 6.
    5. To Turn Off Network Discovery
    A) Select (dot) Turn off network discovery. (see screenshots below step 6)
    6. Click on the Save Changes button. (see screenshots below)
    Network Discovery - Turn On or Off in Windows 7-step-3a.jpgNetwork Discovery - Turn On or Off in Windows 7-step-3b.jpg
    7. If prompted by UAC, then click on Yes.

    8. When finished, you can close the Network and Sharing Center.







    OPTION TWO

    Turn Network Discovery On or Off in Command Prompt


    1. Open an elevated command prompt.

    2. Do step 3 or 4 below for what you would like to do.

    3. To Turn On Network Discovery for Private and Public Network Profiles
    NOTE: This is the default setting for private network profiles.

    A) In the elevated command prompt, copy and paste the command below, press Enter, and go to step 5 below.

    netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes

    4. To Turn Off Network Discovery for Private and Public Network Profiles
    NOTE: This is the default setting for public network profiles.

    A) In the elevated command prompt, copy and paste the command below, press Enter, and go to step 5 below.

    netsh advfirewall firewall set rule group="Network Discovery" new enable=No

    5. When finished, you can close the elevated command prompt.

    Network Discovery - Turn On or Off in Windows 7-network_discovery_command.jpg




    That's it,
    Shawn





  1. Posts : 6
    Windows 7
       #1

    I was frustrated as 'network discovery' was turning off all the time.
    Thanks for telling which services should be started.
    All those services were disabled in my computer.

    Thanks again. :)
      My Computer


  2. Posts : 71,959
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    You're most welcome Power. :)
      My Computer


  3. Posts : 3
    Windows Home Premium 64 bit
       #3

    netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes

    This does not work. It gives the reply, "No rules match the specified criteria.
      My Computer


  4. Posts : 71,959
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #4

    Hello Wolfman, :)

    Your rule may have been deleted somehow.

    Are you able to use Option 1 instead?
      My Computer


  5. apb
    Posts : 78
    win 7 pro x64
       #5

    On the command line version, it's not clear to me how to turn network discovery ON for private network(s), while keeping it OFF for public network(s). Sounds to me like turning it on turns it on for all, and turning it off turns it off for all. Is there a way to make it specific by network without using the windows gui?

    Thanks.

    --peter
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:58.
Find Us