You want to control who can see your files and printers on your network. Advanced sharing settings in Windows let you do exactly that. These settings determine whether other devices can discover your computer, access shared folders, or use your printer. Getting them right protects your privacy while keeping collaboration smooth.
Advanced sharing settings control network visibility and resource access on your Windows computer. They live in your Network and Sharing Center and manage three critical areas:
- Network discovery: Whether other computers can see your device
- File and printer sharing: Whether others can access your shared resources
- Public folder sharing: Whether anyone on your network can open your Public folder
Windows separates these settings into network profiles. Private, Guest/Public, and All Networks each have independent configurations. This separation lets you share freely on your home network while staying locked down on public WiFi.

Why Advanced Sharing Settings Matter
Default settings don’t fit everyone. Coffee shop WiFi needs maximum security. Your home network needs easy file transfers between devices. Work networks fall somewhere in between.
Security risks of wrong settings:
- Public networks with file sharing enabled expose your documents to strangers
- Network discovery on untrusted WiFi broadcasts your device name and location
- Password-protected sharing turned off lets anyone access your files
Benefits of proper configuration:
- Seamless file transfers between your own devices
- Printer sharing without cloud services or USB switching
- Media streaming to smart TVs and game consoles
- Remote desktop connections when you need them
Getting these settings right takes five minutes. The protection and convenience last forever.
How to Access Advanced Sharing Settings in Windows 11
Windows 11 buried these settings deeper than Windows 10. Here’s the fastest path:
Method 1: Through Settings App
- Press
Windows + Ito open Settings - Click Network & internet in the left sidebar
- Scroll down and click Advanced network settings
- Click Advanced sharing settings under More settings
- Expand the network profile you want to configure
Method 2: Through Control Panel
- Press
Windows + Rto open Run dialog - Type
control /name Microsoft.NetworkAndSharingCenterand press Enter - Click Change advanced sharing settings in the left panel
- Expand your desired network profile
Method 3: Direct Command
- Press
Windows + R - Type
control.exe /name Microsoft.NetworkAndSharingCenter /page Advancedand press Enter
The Control Panel method often loads faster and shows all options more clearly. Use whichever feels comfortable.
How to Access Advanced Sharing Settings in Windows 10
Windows 10 keeps these settings more accessible:
Quick Method:
- Click the network icon in your system tray
- Click Network & Internet settings
- Click Sharing options (or navigate to Status > Change connection properties)
- Click Change advanced sharing settings
Alternative Method:
- Open File Explorer
- Right-click Network in the left sidebar
- Select Properties
- Click Change advanced sharing settings
Command Line Method:
- Press
Windows + X - Select Network Connections
- Click Network and Sharing Center
- Click Change advanced sharing settings on the left
Understanding Network Profiles
Windows assigns every network connection to a profile. Each profile has separate sharing settings.
Private Network Profile
Use this for trusted networks like your home or small office.
Characteristics:
- Your own WiFi router
- Networks behind a firewall you control
- Connections where you know every device
Recommended settings:
- Network discovery: On
- File and printer sharing: On
- HomeGroup connections: Allow (Windows 10 only)
Guest or Public Network Profile
This profile protects you on untrusted networks.
Characteristics:
- Coffee shop WiFi
- Hotel internet
- Airport hotspots
- Any public location
Recommended settings:
- Network discovery: Off
- File and printer sharing: Off
- All sharing features: Disabled
All Networks Profile
These settings apply globally regardless of profile.
Key options:
- Public folder sharing
- Media streaming
- File sharing connections encryption
- Password protected sharing
Think of this as your baseline security layer.
Configuring Network Discovery
Network discovery controls whether your computer appears in File Explorer’s Network section on other devices.
Turn On Network Discovery (Home Networks)
- Open Advanced sharing settings
- Expand Private profile
- Select Turn on network discovery
- Check Turn on automatic setup of network connected devices
- Click Save changes
What this does:
- Your PC shows up in other computers’ network lists
- You can see other devices on your network
- File browsing between computers becomes possible
Turn Off Network Discovery (Public Networks)
- Open Advanced sharing settings
- Expand Guest or Public profile
- Select Turn off network discovery
- Click Save changes
Security benefit: Your computer becomes invisible to others on the same WiFi. Attackers can’t target what they can’t see.
Troubleshooting Network Discovery
If discovery doesn’t work after enabling it, check these services:
- Press
Windows + R, typeservices.msc, press Enter - Verify these services are running:
- Function Discovery Provider Host: Should be Running
- Function Discovery Resource Publication: Should be Running
- SSDP Discovery: Should be Running
- UPnP Device Host: Should be Running
- For any stopped service:
- Right-click the service
- Select Properties
- Set Startup type to Automatic
- Click Start
- Click OK
Also verify Windows Firewall isn’t blocking network discovery:
- Open Windows Security
- Click Firewall & network protection
- Click Allow an app through firewall
- Ensure Network Discovery is checked for Private networks
- Click OK
Configuring File and Printer Sharing
This setting determines whether others can access folders and printers you’ve explicitly shared.
Enable File and Printer Sharing
- Open Advanced sharing settings
- Expand your Private network profile
- Select Turn on file and printer sharing
- Click Save changes
Important: Enabling this doesn’t automatically share anything. You must still share specific folders or printers manually. This setting just makes sharing possible.
Share a Folder After Enabling Sharing
- Right-click the folder you want to share
- Select Properties
- Click the Sharing tab
- Click Share
- Choose users from the dropdown (or type usernames)
- Set permission level: Read or Read/Write
- Click Share, then Done
Share a Printer
- Open Settings > Bluetooth & devices > Printers & scanners (Windows 11)
- Or Settings > Devices > Printers & scanners (Windows 10)
- Click your printer name
- Click Printer properties
- Go to the Sharing tab
- Check Share this printer
- Give it a meaningful share name
- Click OK
Other computers on your network can now add this printer through their Add Printer wizard.
Disable File and Printer Sharing
- Open Advanced sharing settings
- Expand Guest or Public profile
- Select Turn off file and printer sharing
- Click Save changes
Do this before connecting to any public WiFi. Your previously shared resources become inaccessible to network users.
Public Folder Sharing Configuration
The Public folder is a special directory designed for easy sharing. It exists at C:\Users\Public.
Enable Public Folder Sharing
- Open Advanced sharing settings
- Scroll to All Networks section
- Select Turn on sharing so anyone with network access can read and write files in the Public folders
- Click Save changes
What happens:
- Anyone on your network can access
C:\Users\Publicand its subfolders - No passwords required
- Both reading and writing allowed (if you choose that option)
Limit to Read-Only Access
If you want people to view but not modify Public folder contents:
- Right-click the Public folder
- Select Properties > Sharing > Advanced Sharing
- Click Permissions
- Select Everyone
- Under Allow column, check Read only
- Uncheck Change and Full Control
- Click OK on all dialogs
Disable Public Folder Sharing
- Open Advanced sharing settings
- Scroll to All Networks
- Select Turn off Public folder sharing
- Click Save changes
The folder still exists on your computer but becomes invisible to network users.
What to Put in Public Folders
Good candidates:
- Photos you want family members to access
- Installers for software everyone needs
- Shared documents for household/office use
- Media files for streaming
Bad candidates:
- Tax documents or financial records
- Personal passwords or sensitive files
- Work confidential materials
- Anything you’d regret if exposed
According to Microsoft’s security documentation at https://learn.microsoft.com/en-us/windows/security/, Public folders should never contain sensitive data on networks you don’t fully control.
Password Protected Sharing Settings
This critical setting determines whether network users need a username and password to access your shared resources.
Enable Password Protected Sharing (Recommended)
- Open Advanced sharing settings
- Scroll to All Networks section
- Select Turn on password protected sharing
- Click Save changes
Result: Users must enter valid Windows account credentials to access your shares. This prevents unauthorized access even if someone connects to your network.
Creating User Accounts for Sharing
When password protection is on, users need accounts on your computer:
- Press
Windows + Ito open Settings - Go to Accounts > Family & other users (or Other users)
- Click Add account
- Create a local account (you don’t need Microsoft account)
- Set username and password
- Assign to Standard user group (not Administrator)
Give this username and password to people who need file access. They’ll enter it once, and Windows remembers it.
Disable Password Protected Sharing
- Open Advanced sharing settings
- Scroll to All Networks
- Select Turn off password protected sharing
- Click Save changes
Warning: Anyone who can connect to your network can now access your shared folders. Only do this on completely trusted networks where you know every device.
When to Disable Password Protection
Legitimate scenarios:
- Small home network with only family devices
- Temporary file transfer between your own computers
- Media server for smart TV that can’t handle authentication
Never disable on:
- Networks with guests
- Any network you didn’t set up yourself
- Workplace networks
- Anywhere with WiFi password shared publicly
File Sharing Connections Encryption
This setting controls security for file transfer protocols.
Understanding the Options
Windows offers two choices:
128-bit encryption:
- Strong security for modern devices
- Recommended for Windows 7 and later
- Slight performance overhead
40 or 56-bit encryption:
- Weaker security
- Compatible with ancient devices (Windows 95/98)
- Faster but vulnerable
Set Encryption Level
- Open Advanced sharing settings
- Scroll to All Networks section
- Under File sharing connections, select Enable file sharing for devices that use 40- or 56-bit encryption only if you absolutely need compatibility with 20+ year old systems
- Otherwise, keep Use 128-bit encryption selected (default)
- Click Save changes
Recommendation for 2026: Always use 128-bit encryption. Devices too old to support it are also too old to be secure. If you truly need to connect legacy hardware, do it on an isolated network segment.
Media Streaming Options
Media streaming lets devices like smart TVs, game consoles, and streaming boxes access your photos, music, and videos.
Enable Media Streaming
- Open Advanced sharing settings
- Click Choose media streaming options in the All Networks section
- Click Turn on media streaming button
- Name your media library
- Click OK
Configure Device Access
After enabling streaming:
- You’ll see a list of detected devices
- For each device, choose Allowed or Blocked
- Click Customize next to any device to set specific permissions
- Choose what media types it can access (music, pictures, videos)
- Set ratings limits if needed
- Click OK
Optimize Streaming Settings
For best performance:
- In the media streaming window, click Customize
- Under Star rating, select Use default settings unless you need parental controls
- Under Parental rating, choose Use default settings
- Click OK
Windows Media Player must be installed for media streaming to function. Windows 11 removed it by default, but you can add it:
- Open Settings > Apps > Optional features
- Click View features
- Search for Media Features
- Check Windows Media Player Legacy
- Click Install
HomeGroup Settings (Windows 10 Only)
Microsoft removed HomeGroup in Windows 10 version 1803 and later. If you’re on older Windows 10, you might see these options.
For Newer Windows 10 and Windows 11
HomeGroup options won’t appear. Instead:
- Use standard file sharing with specific folders
- Share printers through normal printer sharing
- Use OneDrive for automatic cloud sync
- Set up network shares manually
Migration from HomeGroup
If you upgraded and had HomeGroup:
- Your shared folders remain accessible via normal network paths
- Printers need to be re-shared using standard sharing
- Access your files by typing
\\COMPUTERNAMEin File Explorer - Map network drives for permanent access to shared folders
The old \\homegroup path no longer works.
Best Practices for Different Scenarios
Home Network Setup
Typical home with trusted family members:
| Setting | Configuration |
|---|---|
| Network Profile | Private |
| Network Discovery | On |
| File and Printer Sharing | On |
| Public Folder Sharing | On (read/write) |
| Password Protected Sharing | On (with individual accounts) |
| Encryption | 128-bit |
| Media Streaming | On (for specific devices) |
This balances convenience with basic security.
Small Office Setup
5-10 person workspace:
| Setting | Configuration |
|---|---|
| Network Profile | Private |
| Network Discovery | On |
| File and Printer Sharing | On |
| Public Folder Sharing | Off (use specific shares) |
| Password Protected Sharing | On (required) |
| Encryption | 128-bit |
| Media Streaming | Off |
Create individual user accounts for each employee. Share specific project folders rather than using Public folder.
Mobile/Laptop Configuration
Device connecting to multiple networks:
| Network Type | Settings |
|---|---|
| Home Network | Private profile, full sharing enabled |
| Work Network | Private profile, selective sharing |
| Public WiFi | Public profile, all sharing disabled |
| Hotel/Travel | Public profile, all sharing disabled |
Your laptop should automatically switch settings when you designate network types. Always mark untrusted networks as Public.
Media Server Setup
Dedicated PC for streaming:
| Setting | Configuration |
|---|---|
| Network Profile | Private |
| Network Discovery | On |
| File and Printer Sharing | On |
| Public Folder Sharing | Off |
| Password Protected Sharing | Off (if isolated network) |
| Encryption | 128-bit |
| Media Streaming | On (allow all trusted devices) |
Consider placing media server on separate VLAN if your router supports it. This isolates it from sensitive computers.
Common Issues and Solutions
Can’t See Other Computers on Network
Check these items in order:
- Verify network profile is Private, not Public
- Turn on network discovery in Advanced sharing settings
- Check required services are running (listed earlier)
- Temporarily disable third-party antivirus (many block network discovery)
- Open Command Prompt and type
ping [other-computer-name]to test connectivity - Check Windows Firewall exceptions for Network Discovery
- Verify both computers are on same subnet (same WiFi network)
Can Access Files But Not Printers
Printer sharing troubleshooting:
- Verify File and Printer Sharing is enabled
- Check the printer is actually shared (Properties > Sharing tab)
- Ensure Print Spooler service is running on host computer
- From client computer, try adding printer manually:
- Open Settings > Printers
- Click Add printer
- Select “The printer that I want isn’t listed”
- Choose “Select a shared printer by name”
- Type
\\HOSTNAME\PrinterShareName - Click Next
- Install drivers on client computer if prompted
Access Denied Errors
When you get “You do not have permission”:
- Check password protected sharing is either:
- On with valid user account, or
- Off entirely (not recommended)
- Verify the user account has permissions:
- Right-click shared folder
- Properties > Sharing > Advanced Sharing > Permissions
- Ensure your username or Everyone has appropriate access
- Check NTFS permissions separately:
- Properties > Security tab
- Click Edit > Add
- Enter username
- Grant at least Read permission
Share permissions AND NTFS permissions both must allow access. The most restrictive wins.
Public Folder Not Visible
Steps to fix:
- Confirm Public folder sharing is enabled in All Networks section
- Check folder actually exists at
C:\Users\Public - From another computer, browse to
\\COMPUTERNAME\Users\Public - If that works, the issue is just network browsing display
- Map it as network drive:
- Open File Explorer
- Right-click This PC
- Map network drive
- Enter
\\COMPUTERNAME\Users\Public
Network Discovery Works But File Sharing Doesn’t
Different settings:
Network discovery and file sharing are independent. You can see computers without accessing their files.
- Turn on File and Printer Sharing in Advanced settings
- Actually share a folder (right-click > Properties > Sharing)
- Configure share permissions
- Configure NTFS security permissions
- Verify Windows Firewall allows File and Printer Sharing for Private networks
All five steps must be complete.
Security Recommendations for 2026
Network threats evolved significantly. Follow these updated guidelines.
Use Strong Authentication
- Never disable password protected sharing on networks with internet access
- Create unique local accounts for sharing, don’t use your main admin account
- Use strong passwords (12+ characters, mixed case, numbers, symbols)
- Enable BitLocker on shared devices to protect data at rest
Segment Your Network
Modern routers support VLANs (virtual LANs):
- Put IoT devices (smart TVs, cameras, thermostats) on separate VLAN
- Keep work computers on different VLAN from personal devices
- Place guest WiFi on isolated network with no local access
- Run media servers on separate segment if possible
This limits damage if one device gets compromised.
Monitor Shared Access
Windows logs share access:
- Open Event Viewer (
eventvwr.msc) - Navigate to Windows Logs > Security
- Filter for Event ID 5140 (share access)
- Review who accessed what files
- Investigate any unexpected access
Set up scheduled tasks to export these logs for review.
Regular Security Audits
Monthly checklist:
- [ ] Review list of shared folders (type
net sharein Command Prompt) - [ ] Check user accounts with network access (Settings > Accounts)
- [ ] Verify Public folder contents don’t include sensitive data
- [ ] Confirm public WiFi networks are still set to Public profile
- [ ] Update Windows to latest security patches
- [ ] Review firewall rules for exceptions
Disable SMBv1 Protocol
SMBv1 is ancient and vulnerable. Disable it:
- Press
Windows + R - Type
optionalfeaturesand press Enter - Scroll to SMB 1.0/CIFS File Sharing Support
- Uncheck the entire box
- Click OK
- Restart computer
Modern Windows versions use SMBv2 and SMBv3, which are much more secure. Only keep SMBv1 if you have hardware from before 2009 that requires it.
More details on SMB security from Microsoft’s networking guide: https://learn.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3
Keep Guest Network Truly Isolated
If your router has guest WiFi:
- Enable AP isolation (prevents guests from seeing each other)
- Disable local network access entirely
- Provide internet-only access
- Use different password than main network
- Change guest password monthly
Never connect your own devices to guest network for “testing”. This trains you to trust it.
Advanced Firewall Configuration
Windows Firewall works with sharing settings. Fine-tune it for better control.
Create Custom Rules for Specific Computers
Allow file sharing from specific IP addresses only:
- Open Windows Defender Firewall with Advanced Security
- Click Inbound Rules
- Find File and Printer Sharing (SMB-In) rule
- Right-click, select Properties
- Go to Scope tab
- Under Remote IP address, select These IP addresses
- Click Add, enter trusted computer’s IP address
- Repeat for each trusted device
- Click OK
Now only those specific computers can access your shares.
Block Sharing on Specific Network Adapters
If you have both WiFi and Ethernet:
- Open Windows Defender Firewall with Advanced Security
- Click Inbound Rules
- Find sharing-related rules (File and Printer Sharing, Network Discovery)
- Right-click each, select Properties
- Go to Advanced tab
- Under Interface types, click Customize
- Uncheck Wireless
- Click OK
This allows sharing over wired Ethernet but blocks it on WiFi.
Set Different Rules Per Profile
Firewall maintains separate rules for Domain, Private, and Public profiles:
- In Windows Defender Firewall with Advanced Security
- Select any rule, open Properties
- Advanced tab shows which profiles it applies to
- Uncheck profiles where rule shouldn’t apply
- Click OK
For example, allow File and Printer Sharing on Private profile but not Public.
Using PowerShell for Sharing Settings
PowerShell provides scriptable control over sharing settings.
Check Current Network Profile
Get-NetConnectionProfile
This shows each network’s profile type.
Set Network to Private
Set-NetConnectionProfile -InterfaceAlias "Wi-Fi" -NetworkCategory Private
Replace “Wi-Fi” with your adapter name from the first command.
Enable Network Discovery
netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes
Enable File Sharing
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
View All Shared Folders
Get-SmbShare
Lists every share on your computer with permissions.
Create New Share via PowerShell
New-SmbShare -Name "ProjectFiles" -Path "C:\Projects" -FullAccess "COMPUTERNAME\Username"
This shares C:\Projects folder as “ProjectFiles” with full access for specific user.
Remove a Share
Remove-SmbShare -Name "ProjectFiles"
Export Sharing Configuration
Save your settings to restore later:
Get-SmbShare | Export-Clixml -Path "C:\Backup\ShareConfig.xml"
Import Sharing Configuration
Restore from backup:
Import-Clixml -Path "C:\Backup\ShareConfig.xml" | ForEach-Object {
New-SmbShare -Name $_.Name -Path $_.Path
}
These scripts are particularly useful when setting up multiple computers identically.
Conclusion
Advanced sharing settings control the balance between convenience and security on your Windows network. The key principle: lock down public networks completely, enable features selectively on private networks.
Quick setup for most home users:
- Set home network to Private profile
- Enable network discovery and file sharing on Private only
- Keep password protected sharing on
- Share specific folders, not Public folder
- Use 128-bit encryption
- Enable media streaming only for identified devices
For public networks:
- Always use Public profile
- Disable all sharing features
- Turn off network discovery
- Disconnect when not actively using internet
Check quarterly:
- Which folders are currently shared
- Who has accounts on your computer
- Whether old shares are still needed
- If any networks got miscategorized
Spending ten minutes on proper configuration prevents hours of troubleshooting and protects your data from unauthorized access. These settings haven’t changed dramatically since Windows 7, so skills you build now will serve you for years.
Your network, your rules. Set them deliberately.
Frequently Asked Questions
What’s the difference between network discovery and file sharing?
Network discovery makes your computer visible in network lists. File sharing allows access to specific folders you’ve shared. You can have discovery on without sharing any files. But file sharing won’t work if discovery is off, because other computers can’t find you to connect.
Should I turn off sharing when using VPN?
Depends on the VPN type. Corporate VPNs often require file sharing on to access company resources. Personal VPNs for privacy should have sharing off, treating the connection like public WiFi. Check your network profile after connecting to VPN and adjust accordingly.
Can I share files between Windows and Mac?
Yes. Macs support SMB protocol that Windows uses. On Mac, open Finder and press Cmd+K, then type smb://WINDOWSCOMPUTERNAME. Enter the Windows username and password you set up. The Mac will connect to your Windows shares. Make sure file sharing is enabled on Windows and the Mac user has a corresponding Windows account.
Why do some shared folders require password but others don’t?
Mixed configurations. If password protected sharing is on globally but a specific share has Everyone with permissions, Windows may not challenge for credentials. The most secure approach: enable password protected sharing in Advanced settings, then specifically grant named user accounts access to each share.
How do I permanently map a network drive?
After enabling file sharing, open File Explorer and click This PC. Click Map network drive in the toolbar. Choose a drive letter, type the path \\COMPUTERNAME\ShareName, check “Reconnect at sign-in”, enter credentials if prompted, click Finish. The drive appears in File Explorer permanently until you disconnect it.
