Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
Windows 11 treats a VPN connection and local network sharing as separate controls. Add or edit the VPN under Settings > Network & internet > VPN using the server, protocol and sign-in details supplied by your employer or VPN provider. Configure folders, printers and device discovery under Settings > Network & internet > Advanced network settings > Advanced sharing settings (or search Settings for Manage advanced sharing settings). Use a Private profile only on a network you trust, and leave discovery and sharing off on public Wi‑Fi. A connected VPN does not automatically make other computers visible or grant access to your shared folders.
At a glance
| Option | What you need | Best for |
|---|---|---|
| Windows (built-in) VPN profile | Server address, VPN type and sign-in information from your employer or VPN provider | Connecting to a work network or subscribed VPN service |
| Private network sharing | A trusted home or small-office network | Network discovery, file sharing and printer sharing |
| Public network profile | Airport, hotel, coffee-shop or other untrusted Wi‑Fi | Keeping the PC hidden from nearby devices |
| Folder or printer share | An installed folder or working printer plus account permissions | Giving selected devices access over the local LAN |
Windows 11 procedures and labels checked Nov 2026; wording can vary slightly between builds.
As an Amazon Associate I earn from qualifying purchases.
Recommended Free Tools
How do I add and customize a VPN in Windows 11?
The built-in client is only a connection tool. It does not provide a VPN server, account or protocol, so obtain the exact values from your employer or VPN provider before opening Settings.
- Open Settings > Network & internet > VPN and select Add VPN (or Add a VPN connection).
- For VPN provider, choose Windows (built-in). Enter a recognizable Connection name; this is only the label shown in Windows.
- Enter the provider’s Server name or address. A hostname is valid only when the VPN’s DNS or documented public DNS can resolve it. Do not assume that a name resolving on your home network will resolve through the VPN.
- Select the supplied VPN type. Common choices include IKEv2, L2TP/IPsec and SSTP; use the one specified by the provider, along with any certificate or pre-shared-key requirement. Guessing a protocol can fail authentication or reduce security.
- Choose the correct Type of sign-in info (such as user name and password, certificate or smart card), enter credentials when required, and select Save. Use Save credentials only on a computer whose other users and security you trust; a managed work device may enforce a different policy.
- Select the new profile and choose Connect. You can also select the Network, Volume or Battery area on the taskbar, choose VPN, and select the profile.
Microsoft’s current connection instructions show these labels and fields in its Windows VPN setup guide. A status of Connected and the taskbar’s blue VPN shield indicate the Windows client state, not that every application is using the intended route or that a provider’s privacy claims are valid.
Popular on Amazon
How do I edit a VPN profile?
Return to Settings > Network & internet > VPN, select the profile, open Advanced options, and select Edit beside the setting you need to change. Review proxy settings and select Save or Apply. Record the provider’s original server, protocol, certificate and authentication values before editing so you can restore them.
A work administrator can require a certificate, smart card, one-time password or a particular sign-in method. If a field is unavailable or changes back, device-management policy may be enforcing it; ask the administrator rather than repeatedly changing the profile. Microsoft’s VPN guidance explains the client and policy roles, but it does not define one universal server, protocol or split-tunnel configuration.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchDoes turning on a VPN enable file and printer sharing?
No. A VPN controls a tunnel to a remote endpoint; Advanced sharing controls services on the network profile currently assigned to each interface. A provider may block local-LAN access, and a VPN can create a separate firewall profile, so a share that worked before connection may stop afterward. Check the provider’s local-network or split-tunnel policy and the firewall rule for the VPN interface instead of assuming that “VPN on” means “sharing on.”
Also popular on Amazon
How should I choose Private or Public before changing sharing settings?
Use Private for a home or small-office network you control. Use Public for airport, hotel, coffee-shop and other untrusted Wi‑Fi. Microsoft’s firewall documentation describes these profiles as different trust boundaries and explains that filtering can be applied by profile, address, port and application path (Firewall and network protection).
In current Windows 11 builds, open Settings > Network & internet, select Wi‑Fi or Ethernet, open the connected network’s properties and set Network profile type to Private or Public. You can also search Settings for the profile controls. Do not change a network to Private while you are actually on public Wi‑Fi just to make a device appear; that exposes discovery and sharing to nearby systems. Likewise, enabling discovery on public Wi‑Fi increases the devices and services that may be reachable, so leave the profile Public.
Where are Advanced sharing settings, and what should I turn on?
Search Settings for Manage advanced sharing settings, or open Settings > Network & internet > Advanced network settings > Advanced sharing settings. Windows presents separate sections for Private networks, Public networks and All networks.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Clear out junk files and repair common Windows errors3Scan for outdated or missing drivers - takes under a minuteAlso popular on Amazon
- Under Private networks, turn Network discovery on when you want this PC to find other devices and be found by them. Turn File and printer sharing on only when you intend to publish local shares.
- Under Public networks, leave network discovery and file and printer sharing off. This is the safe default for public Wi‑Fi.
- Under All networks, review Password protected sharing. Leaving it on requires a valid account and password on the host and gives a stronger access boundary. Turning it off can simplify a controlled home share, but anyone who can reach the share may gain access according to the share’s permissions.
Microsoft defines network discovery as the setting that lets your device find other devices and lets other devices find it; its state can be On, Off or Custom when firewall prerequisites are incomplete (small-business network guidance). A toggle that appears on while discovery is effectively Custom usually indicates a firewall rule, service, VPN or management policy problem.
Public folder sharing is a separate convenience mechanism. If it appears in the All networks controls, enable it only when you deliberately want files placed in Windows’ Public folders available to other users; a dedicated, specifically shared folder is easier to audit. Media streaming is also separate from ordinary file sharing and may be exposed through legacy Control Panel dialogs. It is not required for a mapped folder or printer; enable it only on a trusted Private network when you need compatible media devices to browse the PC.
Turning off either network discovery or file and printer sharing immediately narrows the computer’s exposure, but existing client connections can fail. Turning them on does not grant everyone access: the host’s account, share permissions, file-system permissions and firewall rules still apply. Setting only share permissions is therefore insufficient if discovery is disabled, the firewall blocks SMB, or the user lacks permission on the underlying folder.
Also popular on Amazon
How do I share a folder and map it on another PC?
- On the host, create or choose a dedicated folder; avoid sharing an entire user profile or drive.
- In File Explorer, right-click the folder, choose Show more options if needed, then Give access to > Specific people. Select a named account whenever possible. Choose Everyone only when that broad access is intentional, and set the least access that meets the need.
- Confirm the host is on a trusted Private network with discovery and file and printer sharing enabled. If password-protected sharing is on, the client must use a permitted host account and password.
- On the client, open File Explorer, select This PC, choose Map network drive, pick an unused drive letter, enter a path such as
\\computer-name\\share-name, and select Finish. Select Reconnect at sign-in if the mapping should persist.
If discovery is unreliable, verify the host separately by name or IP address. A hostname that resolves through your normal LAN DNS may not resolve through a connected VPN; confirm the VPN provider’s DNS behavior before relying on that name. A failed map can mean the host is off or your account lacks permission, not that the VPN itself is broken. Microsoft’s file-sharing instructions cover the current Explorer commands.
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →How do I share a printer over Wi‑Fi?
First install and test the printer on the primary Windows PC. Put that PC and the clients on the same trusted Private network, enable network discovery and file and printer sharing, and keep the host powered on whenever another device prints. Windows publishes the installed device to authorized clients; it does not turn a USB printer into a cloud service.
- On the host, open Settings > Bluetooth & devices > Printers & scanners, select the working printer and open its sharing properties.
- Enable printer sharing and note the share name. Grant access only to intended users; driver compatibility and account permissions still matter.
- On a client, add the printer by browsing the host or entering its shared path, then install the requested driver. If browsing fails, verify the host name or IP and firewall profile.
See Microsoft’s printer-sharing procedure for the supported host-and-client arrangement.
Also popular on Amazon
Why does network discovery keep turning off?
Start with the network profile, then check services and firewall scope rather than disabling protection globally.
- Confirm both PCs are on the same LAN and that the active Wi‑Fi or Ethernet profile is Private. If you are on public Wi‑Fi, do not enable discovery; move to a trusted network instead.
- Under Advanced sharing settings, turn on Network discovery and File and printer sharing in the Private section.
- Open the Services app and verify these services are running and set to start automatically: Function Discovery Provider Host, Function Discovery Resource Publication, SSDP Discovery and UPnP Device Host.
- Check Defender Firewall’s rules for the trusted profile and local subnet. An endpoint-security product, VPN kill switch or organization policy can override the toggle. Permit the required discovery or SMB rule narrowly instead of turning off Defender Firewall.
- If sharing stops only after connecting a VPN, inspect the VPN interface’s profile, local-LAN policy, DNS and split-tunnel behavior. If the setting reverts to Off or cannot be edited, contact the device administrator.
Frequently Asked Questions
Can I keep a mapped drive while using a work VPN?
Sometimes. The VPN administrator may route all traffic through the tunnel or block local-LAN access, so a drive on your home subnet can disappear after connection. Ask whether local subnet access and split tunneling are permitted, then map the share using a verified local address.
Free tools Windows power users keep installed
One-click scans. No signup required.
Why can I see a computer but not open its shared folder?
Discovery visibility and access authorization are different. The host may be discoverable while the account lacks share or file-system permission, password-protected sharing rejects the credentials, or the firewall blocks SMB.
Is turning off password-protected sharing safe at home?
It removes an authentication boundary, so any device that can reach the share may attempt access according to its permissions. Keep it on when possible, especially on a network with guests or unmanaged devices.
What should I do when a VPN profile asks for a certificate?
Do not substitute a password or guess a protocol. Obtain the required certificate, smart-card enrollment or authentication instructions from the employer or provider; managed Windows devices may install those credentials through policy.
The Bottom Line
Use the built-in VPN only with the exact endpoint and authentication values supplied by its provider. Keep the current network Private only when you trust it, enable discovery and sharing narrowly, and treat VPN connectivity, DNS and local-LAN permissions as separate troubleshooting layers.

