sodcalculator

10 Tech How-To

Windows 11 Network Discovery: Check Settings & Test Shares

Guide 10-13082 · Updated · Step by step

To test shared folders on Windows 11, you first need to confirm network discovery and file sharing are turned on, then use the UNC path (e.g., \\DESKTOP-ABC123\Shared) in File Explorer or the command line. This article walks through the exact settings to check, how to verify a share works, and what to do when it fails.

What Network Discovery and File Sharing Actually Do

Network discovery is a Windows feature that lets your PC see other devices on the same local network (and lets them see you). File sharing is the separate permission that allows others to access specific folders or printers. On Windows 11, both are controlled by network profile settings—Private, Public, or Domain—and each profile has its own discovery and sharing toggles.

When you connect to a new Wi-Fi or Ethernet network, Windows asks whether you want it to be discoverable. Choosing “Yes� sets the network to Private and enables discovery; choosing “No� sets it to Public and disables it. If you later change your mind, you can switch the profile in Settings. The key point: discovery and sharing are off by default on Public networks for security, so a common fix is simply changing the network profile to Private.

How to Check Network Discovery and Sharing Settings

Open Settings > Network & internet > Advanced network settings > Advanced sharing settings. You’ll see three sections: Private, Guest or Public, and All Networks. Expand Private and make sure both “Network discovery� and “File and printer sharing� are turned on. Under All Networks, check that “Turn on sharing so anyone with network access can read and write files in the Public folders� is selected if you want to use the Public folder.

If the toggles are grayed out, your PC may be joined to a domain, or a group policy is overriding them. In that case, contact your IT admin. For most home users, flipping these toggles is enough.

How to Test a Shared Folder (Step-by-Step)

Once discovery and sharing are on, test the share itself:

  1. Find the computer’s name: Settings > System > About (look under “Device name�).
  2. Find the shared folder’s name: right-click the folder in File Explorer, select Properties > Sharing, and note the network path (e.g., \\DESKTOP-ABC123\SharedDocs).
  3. On the same network, open File Explorer and type the path into the address bar: \\DESKTOP-ABC123\SharedDocs.
  4. Press Enter. If you see the folder contents, the share works.

If you get an error, try pinging the computer name: open Command Prompt and type ping DESKTOP-ABC123. If ping fails, the device may be off, on a different subnet, or blocked by a firewall.

Common Problems and How to Fix Them

Here are the most frequent issues and their fixes:

  • “Network discovery is turned off� – Go to the Advanced sharing settings and enable it for the Private profile. Also make sure the network profile is Private, not Public.
  • “You don’t have permission to access� – The folder’s sharing permissions (under Properties > Sharing > Permissions) and NTFS permissions (under Security) must allow your user account. Add “Everyone� with Read (or Read/Write) to both.
  • “Windows cannot access \\computer� – Check that the target PC has File and Printer Sharing enabled in Windows Defender Firewall. Go to Control Panel > Windows Defender Firewall > Allow an app or feature through the firewall and ensure “File and Printer Sharing� is checked for Private networks.
  • Device appears but you can’t open it – Try using the IP address instead of the computer name: \\192.168.1.50\SharedDocs. If that works, it’s a name resolution issue (DNS or NetBIOS).
  • Password prompt appears – If you don’t want a password, enable “Turn off password protected sharing� under All Networks. Otherwise, use the target PC’s username and password.

Using Command-Line Tools to Test Shares

For a more thorough test, use the net view command. Open Command Prompt and type net view \\DESKTOP-ABC123 to list all shares on that computer. If it returns a list, the computer is reachable and sharing is active. To see all computers on the network, type net view (without a computer name).

You can also test a specific share with net use Z: \\DESKTOP-ABC123\SharedDocs to map it as drive Z:. If the command succeeds, you’ll see “The command completed successfully.� If it fails, the error code usually indicates the cause (e.g., 53 = network path not found, 5 = access denied).

Network Profile: Private vs. Public – Why It Matters

Windows treats Private and Public networks very differently. Private networks (home or work) allow discovery and sharing by default. Public networks (coffee shops, airports) disable them to protect your PC from strangers. If you’re having trouble, first confirm your network is set to Private: go to Settings > Network & internet > Wi-Fi (or Ethernet), click the network name, and check the “Network profile type.� If it says Public, switch to Private.

Changing to Private on a public network is risky—anyone on that network could see your shared folders. Only do this on networks you trust.

Alternatives to Standard File Sharing

If network discovery keeps failing, you have other options:

  • Use the Public folder – Enable “Public folder sharing� in Advanced sharing settings, then place files in C:\Users\Public\Documents. Other PCs can access it via \\COMPUTERNAME\Public.
  • Use OneDrive or another cloud service – Sync files to the cloud and share links. This works across different networks and doesn’t require discovery.
  • Use a USB drive – For one-time transfers, it’s often simpler.

Frequently Asked Questions

Why is network discovery turned off and I can’t turn it on?

This usually happens when the network profile is set to Public, or when a group policy (common on work PCs) disables it. Check the profile type first. If it’s Public, switch to Private. If it’s already Private and the toggle is grayed out, your admin may have locked it.

How do I share a folder in Windows 11?

Right-click the folder, select Properties > Sharing > Share, choose a user (or “Everyone�), set permission level (Read or Read/Write), and click Share. Windows will show the network path—use that on other PCs.

Why can I see the computer but not the shared folder?

This means discovery works but sharing is off for that folder, or the folder’s permissions don’t include you. Check the folder’s Sharing and Security tabs, and verify the share name is correct (no typos).

How do I test a shared folder from another PC?

On the other PC, open File Explorer and type \\COMPUTERNAME\SHARENAME in the address bar. If it opens, the share works. For a command-line test, use net view \\COMPUTERNAME.

Is it safe to enable network discovery?

On a private, trusted network (your home Wi-Fi with a password), yes. On public networks, keep it off to prevent strangers from accessing your files. Always ensure your shared folders only contain files you’re okay with others on that network seeing.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →