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 fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 203,457 times.
Learn more...
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."
Steps
-
Open your Windows Settings. 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.
-
Click Network & internet. You'll see this in the left panel.Advertisement
-
Click Advanced network settings. It's the last option in the right panel.
-
Click Advanced sharing settings. This option is in the "More settings" section below the list of network adapters.
-
Select a network profile (Public or Private). 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.
-
Toggle off "File and printer sharing" . 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.
-
Open your Windows Settings. 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.
-
Click Network & internet. This opens your network settings.
-
Click Network and Sharing Center. You'll see this near the bottom of the right panel.[3]
-
Click Change advanced sharing settings. It's the third link from the top of the left panel.
-
Expand the "Public," "Private," and "All" panels. 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. .
-
Select "Turn off file and printer sharing" for each profile. 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."
-
Click Save changes. If prompted, click Yes to confirm.[4]
-
Open File Explorer. 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.
-
Type \\localhost into the address bar and press ↵ Enter. 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]
-
Right-click a folder and click Properties. Do this on any folder you want to stop sharing over the network.
-
Click the Sharing tab.
-
Click the Advanced Sharing… button. Your sharing settings for the selected folder will appear.
-
Uncheck "Share this folder" and click OK. The folder is no longer shared.
- Repeat for any other folders you want to stop sharing.
-
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.
-
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.
-
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.
-
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.
-
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.
-
Click the Sharing tab. It's near the top of the dialog window.
-
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.
-
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.
-
Open your Windows Settings. You can do this quickly by pressing Windows key + I, or by clicking the Settings gear in your Start menu.
- If you created a W-Fi mobile hotspot to allow other devices to share your internet connection, use this method to turn off the hotspot.
-
Click Network & internet. It's in the left panel on Windows 11. On Windows 10, click the icon in the main panel.[6]
-
Click Mobile hotspot. If you're using Windows 11, it's in the right panel. On Windows 10, it's on the left panel.
Expert Q&A
Video
Tips
References
- ↑ https://www.asus.com/support/faq/1049382/
- ↑ https://www.asus.com/support/faq/1049382/#Win10
- ↑ https://www.asus.com/support/faq/1049382/#Win10
- ↑ https://www.asus.com/support/faq/1049382/#Win10
- ↑ https://support.microsoft.com/en-us/windows/file-sharing-over-a-network-in-windows-b58704b2-f53a-4b82-7bc1-80f9994725bf
- ↑ https://support.microsoft.com/en-us/windows/use-your-windows-device-as-a-mobile-hotspot-c89b0fad-72d5-41e8-f7ea-406ad9036b85
































