Cannot Turn on Network Discovery for Windows Server 2016 VM Sharing a Folder

Abstract: Resolve Windows Server 2016 VM invisibility on the local network by enabling required discovery services and configuring firewall rules for file sharing.

Created: 2026-10-15 by
Enabling Network Discovery on a Windows Server 2016 virtual machine requires enabling specific services and adjusting firewall rules, as server editions disable these features by default to enhance security. You must start the Function Discovery Provider Host and SSDP Discovery services, then modify the network profile settings in the Windows Firewall to allow file and printer sharing. This process ensures your VM can be seen by other devices on the local subnet while maintaining appropriate access controls for shared resources.

Understanding Network Discovery Limitations

Windows Server operating systems are designed with a focus on stability and security rather than convenience. Consequently, features like Network Discovery and File and Printer Sharing are disabled by default. When you create a Windows Server 2016 VM, it typically defaults to a "Work" or "Domain" network profile depending on whether it is joined to a domain. If it is not joined to a domain, it may default to "Public," which strictly blocks incoming connection requests.

Attempting to share a folder without properly configuring these underlying services will result in the VM being invisible to your main PC. Even if the folder permissions are correct, the network stack itself will drop the discovery packets. This behavior is intentional but often frustrating for developers or small business users who need quick local access to files hosted on the server. For more context on general sharing issues, see Resolving Windows 10 Local Network Sharing Issues.

Step-by-Step Configuration via Services

The most reliable method to enable visibility is through the Services management console. Unlike client versions of Windows, Server 2016 does not always expose all discovery options in the simple Control Panel menu. You need to ensure that the backend services responsible for broadcasting presence are running.

  1. Press Win + R to open the Run dialog.
  2. Type services.msc and press Enter to open the Services manager.
  3. Locate the Function Discovery Provider Host service.
  4. Right-click it and select Properties.
  5. Set the Startup type to Automatic.
  6. If the service status is stopped, click Start.
  7. Repeat this process for the Function Discovery Resource Publication service.
  8. Also ensure SSDP Discovery is set to Automatic and started.

These services handle the actual advertisement of your computer on the network. Without them, even if the firewall allows traffic, no one will know your VM exists on the LAN.

Adjusting Firewall Rules and Network Profile

Once the services are active, you must configure the Windows Defender Firewall to permit inbound traffic related to network discovery. The firewall rules are tied to the current network profile (Private, Public, or Domain).

  1. Open Control Panel > Network and Internet > Network and Sharing Center.
  2. Click on the name of your active network connection (e.g., Ethernet or Wi-Fi).
  3. In the window that appears, ensure the network location is set to Private. If it says "Public," change it to "Private." Network Discovery is blocked on Public networks by default.
  4. Navigate back to Control Panel > System and Security > Windows Defender Firewall.
  5. Select Allow an app or feature through Windows Defender Firewall.
  6. Click Change settings (you may need administrator privileges).
  7. Scroll down and find File and Printer Sharing.
  8. Check the box for both Private and Domain columns. Leave Public unchecked unless absolutely necessary.
  9. Similarly, check Network Discovery for Private and Domain.
  10. Click OK to apply changes.

This step explicitly tells the firewall to accept SMB (Server Message Block) and NetBIOS traffic from other machines on your local network. It is critical to verify that the network profile is indeed set to Private; otherwise, the firewall rules will remain inactive.

Verifying Folder Sharing Permissions

After enabling discovery, you must ensure the specific folder you wish to share has the correct NTFS and Share permissions. Being visible on the network does not grant access rights.

  • Right-click the folder you want to share and select Properties.
  • Go to the Sharing tab and click Advanced Sharing.
  • Check Share this folder and assign a share name.
  • Click Permissions and add the user accounts or groups (e.g., Everyone or specific users) that should have access.
  • Go to the Security tab and ensure the same users/groups have at least Read permissions here as well.

NTFS permissions are stricter than Share permissions. If a user has Read access via the Share but only Write access via NTFS, they will encounter access denied errors. Always align both layers for consistent results.

Troubleshooting Connectivity

If the VM still does not appear in the Network section of your main PC, perform the following diagnostic steps:

  1. Ping Test: From your main PC, open Command Prompt and ping the VM's IP address. If this fails, there is a fundamental network connectivity issue, possibly related to the VM's virtual network adapter settings. Check if the adapter is connected in your hypervisor software (VMware, Hyper-V, VirtualBox).
  2. SMB Port Check: Ensure port 445 is open. You can use Test-NetConnection -ComputerName [VM_IP] -Port 445 in PowerShell on the client side.
  3. Restart Services: Sometimes services do not register correctly immediately. Restart the Function Discovery Resource Publication service after changing firewall rules.
  4. Flush DNS: On the client PC, run ipconfig /flushdns to clear cached network entries.

If you are experiencing broader networking issues such as internet connectivity within the VM, refer to Connecting Internet to VM to ensure your virtual switch configuration is not interfering with local LAN traffic.

Frequently Asked Questions

Why can I ping the VM but not see it in Network?

Pinging confirms basic IP connectivity, but Network Discovery relies on higher-level protocols like SSDP and WS-Discovery. These require specific services to be running and firewall exceptions for UDP ports 1900 and TCP/UDP 5355. Ensure the Function Discovery services are started and the firewall allows these specific protocols.

Does joining a domain help with Network Discovery?

Joining a domain changes the network profile to "Domain," which automatically enables File and Printer Sharing and Network Discovery for trusted internal networks. However, for a standalone VM, setting the profile to Private manually achieves a similar result without the complexity of Active Directory management.

Can I enable Network Discovery using PowerShell?

Yes, you can automate this. Use the command Set-NetFirewallRule -DisplayName "File and Printer Sharing (Echo Request - ICMPv4-In)" -Enabled True and configure services via Set-Service -Name FDResPub -StartupType Automatic. This is useful for scripting deployments across multiple servers.

What if the VM is behind a NAT network?

If your VM uses NAT, it may not be directly visible to other devices on the physical LAN because the host machine acts as a gateway. To fix this, change the VM's network adapter setting from NAT to Bridged or Host-only (depending on your hypervisor), allowing it to obtain an IP address on the same subnet as your main PC.

Is it safe to leave Network Discovery enabled on a server?

While convenient, leaving it enabled exposes your server to network enumeration attacks. It is recommended to restrict access to specific subnets using advanced firewall rules if possible, or to disable it when not actively needed. For production environments, consider using explicit UNC paths rather than relying on broadcast discovery.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More