Disable File & Internet Connection Sharing on Windows 10 & 11

Download Article
Easily disable internet connection sharing and file sharing on Windows
Download Article

This How.com.vn 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.

Things You Should Know

  • Disable Windows 11 file sharing in Settings > Network & internet > Advanced network settings > Advanced sharing settings.
  • Turn off Windows 10 file sharing and internet connection sharing in Network and Sharing Center.
  • If you're sharing your internet connection via Wi-Fi, turn it off in Settings > Network & internet > Mobile hotspot.
Method 1
Method 1 of 4:

Turn Off File Sharing (Windows 10)

Download Article
  1. How.com.vn English: Step 1 Open the Control Panel.
    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. How.com.vn English: Step 2 Click Network and Internet.
    If you don't see this option, click the menu at the top-right and select Category. You'll see it then.
    Advertisement
  3. How.com.vn English: Step 3 Click Network and Sharing Center.
  4. How.com.vn English: Step 4 Click Change advanced sharing settings.
    It's the third link from the top of the left column.
  5. How.com.vn English: Step 5 Click the network profile that says “(current profile)” at the end.
    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.
  6. How.com.vn English: Step 6 Select Turn off file and printer sharing.
    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.
  7. How.com.vn English: Step 7 Click Save changes.
    It's the button at the bottom of the screen. You have disabled file sharing for the current connection.
  8. Advertisement
Method 2
Method 2 of 4:

Turn Off File Sharing (Windows 11)

Download Article
  1. How.com.vn English: Step 1 Open your Windows Settings.
    You can do this quickly by pressing Windows key + I, or by clicking the Settings gear in your Start menu.
  2. How.com.vn English: Step 2 Click Network & internet.
    You'll see this in the left panel.
  3. How.com.vn English: Step 3 Click Advanced network settings.
    It's the last option in the right panel.
  4. How.com.vn English: Step 4 Click Advanced sharing settings.
    This option is in the "More settings" section below the list of network adapters.
  5. How.com.vn English: Step 5 Select a network profile.
    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. Step 6 Toggle off "File and printer sharing" icon.
    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)

Download Article
  1. How.com.vn English: Step 1 Open the Control Panel.
    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. How.com.vn English: Step 2 Click Network and Internet.
    If you don't see this option, click the menu at the top-right and select Category. You'll see it then.
  3. How.com.vn English: Step 3 Click Network and Sharing Center.
    • 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.
  4. How.com.vn English: Step 4 Click Change adapter settings.
    It's the second link from the top of the left column. This opens a list of your saved network connections.
  5. How.com.vn English: Step 5 Right-click your current connection and select Properties.
    Look for the adapter name that matches the one you noted a moment ago. Right-click it, then select Properties.
  6. How.com.vn English: Step 6 Click the Sharing tab.
    It's near the top of the dialog window.
  7. How.com.vn English: Step 7 Uncheck “Allow other network users to connect through this computer's internet connection.”
    Clicking the box once should remove the check mark.
    • If the box was already empty, you don't need to make any changes.
  8. How.com.vn English: Step 8 Click OK.
    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.
  9. Advertisement
Method 4
Method 4 of 4:

Turn Off Mobile Hotspot (Windows 10 & 11)

Download Article
  1. How.com.vn English: Step 1 Open your Windows Settings.
    You can do this quickly by pressing Windows key + I, or by clicking the Settings gear in your Start menu.
  2. How.com.vn English: Step 2 Click Network & internet.
    It's in the left panel on Windows 11. On Windows 10, click the icon in the main panel.[2]
  3. How.com.vn English: Step 3 Click Mobile hotspot.
    If you're using Windows 11, it's in the right panel. On Windows 10, it's on the left panel.
  4. Step 4 Toggle off "Mobile hotspot" icon.
    Once you turn off this switch, any devices sharing your internet connection will be disconnected.
  5. 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

      • 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
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn English: Nicole Levine, MFA
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for How.com.vn. 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 159,938 times.
      How helpful is this?
      Co-authors: 5
      Updated: April 1, 2024
      Views: 159,938
      Categories: Windows
      Thanks to all authors for creating a page that has been read 159,938 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement