PDF download Download Article
Disable internet connection sharing and file sharing on Windows
PDF download Download Article

This wikiHow guide will teach you how to stop sharing your files and/or network connection on your Windows PC. To turn off file 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 Disable Network Sharing on Windows

On Windows 11, go to Settings > Network & internet > Advanced network settings > Advanced sharing settings. Select your network, then toggle off “File and printer sharing.” On Windows 10, go to Control Panel > Network and Internet > Network and Sharing Center > Change advanced sharing settings.

Method 1
Method 1 of 4:

Turn Off File Sharing (Windows 10)

PDF download Download Article
  1. To stop sharing files with other people on your network, you can disable file and printer sharing in Control Panel. To open Control Panel:
    • Press Windows key + S .
    • Type control panel .
    • Click Control Panel in the search results.
  2. If you don't see this option, click the menu at the top-right and select Category . You'll see it then.
    Advertisement
  3. It's the third link from the top of the left column.
  4. This ensures that you're changing the sharing settings for your current connection. You'll see “(current profile)” next to one of the following options:
    • Private: This is for your private connections, such as when you're on your home network.
    • Guest or Public: When you're connected to Wi-Fi in a public location, whether or not you have to enter a Wi-Fi password to log in.
    • All Networks: Both public and private networks.
  5. A dot will appear in its corresponding circle. This means the item is selected.
    • If you don't want other devices to be able to see your Windows PC on the network at all, also select Turn off network discovery .
  6. It's the button at the bottom of the screen. You have disabled file sharing for the current connection.
  7. Advertisement
Method 2
Method 2 of 4:

Turn Off File 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.
  2. You'll see this in the left panel.
  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]
  7. Advertisement
Method 3
Method 3 of 4:

Turn Off Internet Connection Sharing (Windows 10 & 11)

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 4
Method 4 of 4:

Turn Off Mobile Hotspot (Windows 10 & 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.
  2. It's in the left panel on Windows 11. On Windows 10, click the icon in the main panel. [2]
  3. If you're using Windows 11, it's in the right panel. On Windows 10, it's on the left panel.
  4. Once you turn off this switch, any devices sharing your internet connection will be disconnected.
  5. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Video

      Tips

      • If you just want to stop sharing a specific file or folder , you can unshare it without turning off file sharing altogether. In File Explorer, right-click the file or folder, select Show more options (Windows 11 only) > Give access to > Remove access . [3]
      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!
      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 179,184 times.

      Is this article up to date?

      Advertisement