Table of Contents >> Show >> Hide
- What “network sharing” means in Windows
- When you should turn off network sharing
- The fastest way to disable network sharing
- How to turn off network sharing on Windows 11
- How to turn off network sharing on Windows 10
- Advanced ways to lock it down
- How to tell if network sharing is really off
- Troubleshooting if sharing will not turn off or keeps coming back
- What happens after you turn off network sharing?
- Real-world experiences with turning off network sharing on Windows 10 & 11
- Conclusion
- SEO Tags
Sometimes Windows is a little too friendly. Connect to the right network, and your PC is suddenly ready to discover other devices, share folders, offer up printers, and generally behave like it is hosting a neighborhood potluck. That can be useful at home or in a small office, but on public Wi-Fi or any network you do not fully trust, it is less “helpful feature” and more “please stop volunteering my laptop for group activities.”
If you want more privacy and fewer surprise handshakes with nearby devices, turning off network sharing on Windows 10 and Windows 11 is a smart move. The good news is that you do not need to dig through ancient cave paintings or sacrifice a spare Ethernet cable to do it. In most cases, a few settings changes will shut down network discovery, file sharing, and printer sharing in just a couple of minutes.
This guide explains what network sharing really means, how to turn it off in Windows 10 and 11, what to do if the setting will not stay put, and which extra checks can help you avoid leaving behind an accidental shared folder like a digital banana peel.
What “network sharing” means in Windows
When people say network sharing on Windows, they usually mean a bundle of related features rather than one single switch. The big ones are Network Discovery, which lets your PC see other devices on the network and lets them see your PC, and File and Printer Sharing, which allows shared folders and printers to be accessed over the local network.
There are also a few side characters in this drama. Public folder sharing can expose files placed in certain shared folders, and individual folders or printers can be shared manually through File Explorer or device settings. So if your goal is to fully turn off network sharing on Windows 10 or Windows 11, you want to think beyond just one toggle. You want the whole stage crew to go home.
A helpful rule of thumb is this: if you do not intentionally share files or printers with another device on your home or office network, you probably do not need these features on all the time. Windows works perfectly well without them for everyday browsing, streaming, gaming, schoolwork, and the noble art of ignoring your email.
When you should turn off network sharing
Turning off network sharing makes the most sense in a few common situations. The first is when you are using public Wi-Fi at a coffee shop, airport, hotel, library, or campus guest network. The second is when you have a laptop that moves between trusted and untrusted networks all day. The third is when you simply do not use shared folders, shared drives, or shared printers and want a tighter privacy setup.
At home, the answer depends on how you use your devices. If you share a printer between two PCs, stream files from one desktop to another, or access a NAS, you may want sharing on for your private network. If you do none of that, turning it off is usually the cleaner and safer choice. Your computer does not need to be everyone’s social butterfly.
The fastest way to disable network sharing
If you just want the short version, here is the safest general approach:
- Set your current network to Public.
- Turn Network Discovery off.
- Turn File and Printer Sharing off.
- Check whether you have any folders or printers manually shared and remove those shares if needed.
That combination covers both visibility and access. In plain English, your PC stops announcing itself to other devices and also stops offering shared resources over the network. That is the digital version of closing the blinds and locking the front door.
How to turn off network sharing on Windows 11
Method 1: Turn off sharing in Settings
This is the easiest method for most people and the one Windows 11 practically begs you to use.
- Click Start and open Settings.
- Select Network & internet.
- Click Advanced network settings.
- Choose Advanced sharing settings.
- Expand the section for your current profile, usually Private networks if you previously trusted that network.
- Turn Network discovery Off.
- Turn File and printer sharing Off.
- If you see settings for Public folder sharing, leave that off too unless you specifically need it.
If you are connected to a public or unknown network, these toggles should stay off. If they are already off, excellent. Windows and you are finally on the same page, which does happen from time to time.
Method 2: Change the network profile to Public
This step is important because the network profile helps Windows decide how discoverable your PC should be. A Public profile is the more locked-down option and is usually the right choice for coffee shops, hotels, co-working spaces, dorm guest networks, and any place where the Wi-Fi password is shared like party candy.
- Open Settings.
- Go to Network & internet.
- Select Wi-Fi or Ethernet, depending on how you are connected.
- Click the active network or connection Properties.
- Under Network profile type, choose Public.
That single change makes Windows much less eager to share. Think of it as telling your PC, “We are in public now. Please stop introducing yourself to strangers.”
Method 3: Remove any manually shared folders
Even if discovery is off, you should still make sure you did not manually share a folder earlier and forget about it during some long-ago setup session.
- Open File Explorer.
- Find the folder you think may be shared.
- Right-click it and choose Properties.
- Open the Sharing tab.
- If the folder is shared, choose the option to stop sharing or remove the share.
- Also check Advanced Sharing if available and make sure Share this folder is not selected.
This is worth doing for old Downloads folders, media folders, and desktop directories. People often share one folder for convenience and then forget it exists until months later, when they are suddenly wondering why another device can see “Taxes_Final_Actually_Final_2.”
Method 4: Stop sharing a printer
If you once shared a printer across your network, that is a separate setting from general file sharing. To turn it off:
- Open Settings.
- Go to Bluetooth & devices > Printers & scanners.
- Select the printer.
- Open Printer properties or the printer’s sharing options.
- Make sure the option to share this printer is turned off.
How to turn off network sharing on Windows 10
Windows 10 can still do the job nicely, but the path is a bit more old-school. It leans more heavily on the classic Network and Sharing Center. It is the computing equivalent of finding a reliable diner that still uses laminated menus from 2009.
Method 1: Use Network and Sharing Center
- Open Control Panel.
- Select Network and Internet.
- Click Network and Sharing Center.
- Choose Change advanced sharing settings from the left panel.
- Under your current profile, turn Network discovery Off.
- Turn File and printer sharing Off.
- Under All Networks, make sure settings like public folder sharing are not enabled unless you truly need them.
- Click Save changes.
That disables the main sharing behavior most users care about. If Windows 10 still seems overly eager to network with nearby devices, move on to the profile change below.
Method 2: Set the network to Public
- Open Settings.
- Go to Network & Internet.
- Select Wi-Fi or Ethernet.
- Click the connected network.
- Choose the Public network profile if it is available.
On Windows 10, this step is especially useful for laptops that leave the house often. A public profile adds another layer of caution and helps keep network discovery from acting like it has a speaking role in your day.
Method 3: Remove old folder and printer shares
Just like in Windows 11, check shared folders and printer settings individually. You do not want to turn off the main sharing toggles and then discover that one old folder is still technically offered over the network because Past You was optimistic.
Advanced ways to lock it down
If you are a power user, IT admin, or just someone who enjoys opening PowerShell for the dramatic effect, you can take a more direct route.
Use PowerShell to change the current network to Public
Replace "Wi-Fi" with the correct adapter name if you are using Ethernet or a differently named interface. This is useful when the Settings app is misbehaving or you want a quick repeatable change.
Use PowerShell to disable sharing-related firewall groups
These commands are handy on English-language Windows systems. On localized versions of Windows, the display group names can differ. If you are not comfortable with command-line tools, the graphical settings methods are safer and easier.
The good part here is that disabling a firewall rule is reversible. You are turning the rule off, not deleting it forever. That means you can re-enable it later if you decide to share a printer again or set up file access between trusted devices.
How to tell if network sharing is really off
After making changes, you can verify things with a few quick checks:
- Open File Explorer and click Network. Your PC should not be eagerly listing nearby shared devices.
- Go back to Advanced sharing settings and confirm that Network discovery and File and printer sharing remain off.
- Check your current network profile and confirm it is set to Public if that is your goal.
- Test from another device on the same network and make sure it cannot browse your shared folders or printers.
If the settings keep flipping back, the usual suspects are background services, third-party security software, old sharing configurations, or firewall settings that do not match the profile you are using. A restart after making the changes is often a smart final step.
Troubleshooting if sharing will not turn off or keeps coming back
This is where Windows likes to add a little plot twist. You switch sharing off, leave the settings page feeling victorious, come back later, and there it is again like a raccoon that found the dog food bin.
First, double-check your network profile. If the network is set to Private, Windows is more willing to enable discovery and sharing behavior. Switching to Public often solves the issue or at least makes the PC less visible by default.
Second, look at the services tied to discovery. If network discovery behaves strangely, Windows components such as Function Discovery Provider Host, Function Discovery Resource Publication, SSDP Discovery, and UPnP Device Host can affect how the feature behaves. If you are troubleshooting a stubborn case, open services.msc and inspect those services.
Third, review the Windows Firewall or any third-party security suite. Some tools try to be “helpful” by managing network trust and sharing behind the scenes. Helpful, in this context, means “mysteriously changing things while you are not looking.” If you use a third-party antivirus or firewall, check whether it has its own network trust, discovery, or local sharing settings.
Finally, revisit any manually shared resources. A folder share, mapped drive, or printer share can make it feel like network sharing is still active even after the main toggles are off. Sometimes the issue is not that Windows ignored you. It is that Old Windows Decisions are haunting the room.
What happens after you turn off network sharing?
In most cases, nothing dramatic. Your internet still works. Websites still load. Streaming still streams. Your laptop does not suddenly forget how to laptop.
What changes is the local network behavior. Other PCs on the same network should have a harder time seeing your device. Shared folders become unavailable. Shared printers may no longer appear automatically. Some home-office setups that rely on LAN sharing, such as accessing a desktop from a laptop or printing through another computer, may stop working until you re-enable sharing.
That is why the best setup depends on context. At home, you may want sharing on for a private network. On public Wi-Fi, turning off network discovery and file sharing is usually the better call. Windows gives you the controls. You supply the common sense and maybe a tiny amount of patience.
Real-world experiences with turning off network sharing on Windows 10 & 11
In practice, people usually notice the value of turning off network sharing in one of three situations. The first is the traveler with a laptop. Imagine you use the same Windows 11 notebook at home, at work, in airports, and at random coffee shops with passwords like guest1234. At home, file sharing can be convenient because you may access a printer, a desktop PC, or a backup drive over the network. At the airport, however, that same convenience feels a lot less charming. Many users discover that the easiest way to stay sane is to keep the network profile public outside the house and leave network discovery off unless they specifically need it. It is one of those settings that becomes invisible in the best possible way: once configured correctly, it quietly reduces worry.
The second common experience comes from home users who troubleshoot a mysterious “Why can everyone see this computer?” moment. Maybe a family member sees a laptop pop up in the Network section of File Explorer, or a shared printer keeps appearing on another machine, or a folder that was shared once for a quick transfer never stopped being shared. Turning off network sharing usually feels like tidying a garage. Nothing glamorous happens, but the mess gets smaller and the chance of stepping on something weird goes way down.
There is also the office and school angle. Plenty of people use Windows 10 or Windows 11 on devices that move between managed networks and personal networks. On an office network, shared resources can be part of the workflow. On a dorm network or guest Wi-Fi, those same settings can create confusion, especially if a laptop keeps switching environments. Users often report that the most reliable habit is not just disabling file and printer sharing, but also reviewing the actual network profile every time they join a new connection. That one extra check prevents a lot of “Why is this thing discoverable again?” frustration.
Another real-life pattern is the false sense of completion. Many users flip off Network Discovery and assume the job is done, only to realize later that a folder was still manually shared or a printer still had sharing enabled. This is why experienced Windows users tend to treat the job as a checklist rather than one toggle. Turn off discovery. Turn off file and printer sharing. Set the network to public. Review shared folders. Review printers. Restart. It is not exciting, but it works. Like flossing. Or backing up your files. Or pretending you will label your USB drives properly next time.
People also run into the opposite problem: they turn sharing off and then forget they needed it. A shared office printer disappears. A mapped drive stops responding. A media PC no longer shows up from the laptop in the living room. The lesson there is not “never disable sharing.” It is “disable it intentionally.” If your setup depends on local network resources, leave sharing on only for the trusted private network where you actually use those resources. That way, your home setup still works, but your computer is not broadcasting friendliness to every café router in town.
From a privacy perspective, most users feel better after making the change. There is a psychological benefit to knowing your PC is not advertising itself to other devices unless you tell it to. It is a small control, but it is one of those practical Windows settings that matches real life. You do not leave your front door wide open because a friend might visit someday. You open it when needed. Network sharing works the same way. Keep it available when it serves a real purpose. Shut it off when it does not. Your future self, especially the one using public Wi-Fi on two hours of sleep, will appreciate the favor.
Conclusion
If you are wondering how to turn off network sharing on Windows 10 and 11, the best answer is simple: set the network to Public, turn off Network Discovery, turn off File and Printer Sharing, and review any folders or printers that were shared manually. That gives you a cleaner, safer setup without making everyday internet use any harder.
Windows can be wonderfully flexible, but flexibility without boundaries turns into chaos wearing a friendly icon. Spend five minutes tightening these settings now, and your PC will be quieter, less visible, and a lot less eager to mingle with the whole network. For most people, that is not just good security. It is good manners.