PDF download Download Article
Easy steps to stop sharing folders, files, & more on Windows
PDF download Download Article

This wikiHow guide will teach you how to stop sharing folders, files, and your internet connection over a network on your Windows PC. To turn off file and folder sharing, you'll just need to make a quick change in Network and Sharing Center (Windows 10) or Settings (Windows 11). It's just as easy to turn off internet connection sharing, as well as disabling your mobile hotspot if you're sharing your connection over Wi-Fi.

How to Stop Network Sharing on Windows

  • Turn off network sharing (Win 11): Go to Settings > Network & internet > Advanced network settings > Advanced sharing settings, and turn off "File and printer sharing" for all profiles.
  • Turn off network sharing (Win 10): Go to Settings > Network & internet > Network and Sharing Center > Change advanced sharing settings, and choose "Turn off file and printer sharing" for all profiles.
  • Stop sharing folders: Right-click a folder, go to Properties > Sharing > Advanced Sharing, and uncheck "Share this folder."
Method 1
Method 1 of 5:

Turn Off Network Sharing (Windows 11)

PDF download Download Article
  1. You can do this quickly by pressing Windows key + I, or by clicking the Settings gear in your Start menu.
    • If you don't want to disable network sharing altogether but do want to stop sharing one or more folders, jump to Stop Sharing Folders instead.
  2. You'll see this in the left panel.
    Advertisement
  3. It's the last option in the right panel.
  4. This option is in the "More settings" section below the list of network adapters.
  5. The profile you're using now will be selected by default. If you want to turn off network file sharing for the current connection, just skip to the next step. Otherwise, you can enable or disable file sharing for Private networks (such as on your home network), Public networks (at school or in a café), or All networks.
  6. Once the switch turns gray or white, you'll no longer be sharing files or your network printer with other devices on your network.
    • If you don't want other devices on the network to be able to see your PC, you can also click the switch next to "Network discovery" to disable it.[1]
    • Just to be safe, expand the other profiles (Public, All, etc.) to see if you've set up sharing there. If so, toggle off "File and printer sharing" for all of them.
  7. Advertisement
Method 2
Method 2 of 5:

Turn Off Network Sharing (Windows 10)

PDF download Download Article
  1. If you want to turn off file and printer sharing altogether, you can do so from settings. Press Windows key + i to open your Settings, or click Settings in the Start menu.[2]
    • If you don't want to disable network sharing altogether but do want to stop sharing one or more folders, jump to Stop Sharing Folders instead.
  2. This opens your network settings.
  3. You'll see this near the bottom of the right panel.[3]
  4. It's the third link from the top of the left panel.
  5. You can do this by clicking the small arrow to the right of each of the 3 sections. This will show you whether you're set up to share files and printers over any of these profiles, as well as whether your computer is visible to others. .
  6. Clicking the radio button next to this option disables file network sharing for the network profile.
    • If you don't want other devices on the network to see your computer when you're connected, you can also click the radio button next to "Turn off network discovery."
  7. If prompted, click Yes to confirm.[4]
  8. Advertisement
Method 3
Method 3 of 5:

Stop Sharing Folders

PDF download Download Article
  1. If you are sharing folders over the network, it's easy to stop sharing them at any time. The easiest way to do so is from within File Explorer.
    • You can use this method to stop sharing folders on Windows 10 and 11.
  2. The address bar is at the top of File Explorer. When you press Enter, you'll see a list of all active shared drives and folders from this computer.[5]
  3. Do this on any folder you want to stop sharing over the network.
  4. Your sharing settings for the selected folder will appear.
  5. The folder is no longer shared.
    • Repeat for any other folders you want to stop sharing.
  6. Advertisement
Method 4
Method 4 of 5:

Stop Sharing Your Internet Connection

PDF download Download Article
  1. This method will teach you how to stop sharing your PC's network connection with other users. To open Control Panel:
    • Press Windows key + S.
    • Type control panel.
    • Click Control Panel in the search results.
    • If you're using Windows 11, you should only use this method if you're sharing your internet connection using an Ethernet cable. If you're sharing your connection over Wi-Fi, see this method instead.
  2. If you don't see this option, click the menu at the top-right and select Category. You'll see it then.
    • You'll see your current connection under the “View your active networks” header at the top of the main panel. Remember the name of the connection, as you'll need it in a moment.
  3. It's the second link from the top of the left column. This opens a list of your saved network connections.
  4. Look for the adapter name that matches the one you noted a moment ago. Right-click it, then select Properties.
  5. It's near the top of the dialog window.
  6. Clicking the box once should remove the check mark.
    • If the box was already empty, you don't need to make any changes.
  7. It's at the bottom of the dialog window. Now that you've turned off connection sharing, nobody else on your network can connect to the internet through this computer's connection.
  8. Advertisement
Method 5
Method 5 of 5:

Turn Off Mobile Hotspot

PDF download Download Article
  1. You can do this quickly by pressing Windows key + I, or by clicking the Settings gear in your Start menu.
  2. It's in the left panel on Windows 11. On Windows 10, click the icon in the main panel.[6]
  3. If you're using Windows 11, it's in the right panel. On Windows 10, it's on the left panel.
  4. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Share Your Internet Connection Easily Windows3 Ways to Share an Internet Connection from a Windows PC
Block Other Computers from Being Able to Access Your Computer's Printer And Files Over the InternetBlock Other Computers from Accessing Your Computer’s Files and Printer
Disable Internet Connection (Windows) Turn Off the Internet on a Windows PC
Connect Two ComputersConnect Two Computers: Microsoft Windows & Mac OS X
Share an Internet ConnectionThe Easy Way to Share an Internet Connection over Ethernet or WiFi
Create a Hotspot in Windows 11 Set Up a Mobile Hotspot in Windows 11
Enable File SharingEasy Ways to Enable File Sharing Over a Network (Locally)
Turn Off Firewall Disable Firewall Protection
Connect PC Internet to Mobile via WiFi Connect PC Internet to Mobile via WiFi
Access Shared Folders on a Network2 Easy Ways to Connect to and Access Shared Folders on a Network
Share Your iPhone Internet Connection With Your PC3 Easy Ways to Share Your Internet Connection From iPhone
Turn Off Automatic Updates in Windows 10 Disable Automatic Updates in Windows 10: 5 Easy Ways
Disable Internet Access4 Ways to Disable Internet Access
Share Ethernet As Wi FiShare Ethernet As Wi-Fi on Windows and macOS Easily & Quickly
Advertisement

About This Article

Nicole Levine, MFA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 203,457 times.
How helpful is this?
Co-authors: 6
Updated: June 17, 2026
Views: 203,457
Categories: Windows
Thanks to all authors for creating a page that has been read 203,457 times.

Is this article up to date?

Advertisement