How to Stop Sharing a Folder in Windows 10 / 11

  • To stop sharing a folder in windows 10 or 11 -> In windows search type in fsmgmt.msc and hit enter -> select shares -> select folder and right click on it and select stop sharing
  • Open file explorer -> on top search -> type in //localhost and hit enter -> Right click on the shared folder -> Select properties -> Advanced sharing -> Uncheck share this folder option.
  • To Stop sharing folder using Command line -> open cmd and run as administrator -> cacls F:\Shared /e /p Everyone:n” –Press Enter where F:\shared is the folder that is being shared here and hit enter.

On your windows 10 or 11 computer if you have shared folder within your network with other computer and you want to stop sharing folder in windows 10 or 11 then there are couple of methods to do this and stop sharing the folder on your windows computer and turn off file sharing with other computers. So, let’s see in detail below.

You can check which folders are being shared with other computer on your network and simply disable them or stop sharing those folders and files and if you want you can password protect them and limit access to read only as well.

Stop Sharing a Folder in Windows 10

Follow below methods to stop sharing folder in windows 10 or 11 computer within your network.

Step 1: Click on search icon on your windows taskbar and type in fsmgmt.msc and open it.

Step 2: shared folder popup window will appear now.

Step 3: On the left side pane -> click on shares folder

Step 4: On the right side -> you can see all the folders which are currently being shared with other computer on your network here.

Step 5: To stop sharing a folder -> you need to right click on the folder -> Select stop sharing option here.

Step 6: Click on yes in windows prompt and confirm stop sharing folder within your network with other computers.

That’s it, this is how you stop sharing folder in windows 10 or 11 computer with other computer and turn off file sharing.

You Might Also Like

1) How to fix Internet Connection Sharing Not Working on Windows 10

2) Network and Sharing Center Not Opening in Windows 10

3) How to Share Files Between Computers Windows 10 or 11

4) How to Disable Background WiFi Scanning on Windows 10

5) Server IP or DNS Address Could Not Be found in windows 10

Stop Sharing or Remove Network Shared Folders 

Step 1: Open file explorer -> In top search bar -> type in //localhost and hit enter.

Step 2: What ever files or folder which are shared within your network will be displaye here.

Step 3: To stop sharing a folder -> Right click on the folder -> Select Properties.

Step 4: Click on sharing tab -> Advanced sharing

Step 5: Uncheck -> Share this folder option -> click on apply and ok and save changes.

This is how you remove network shared folder and stop sharing folder with other computer on your network. 

Cant Stop Sharing a Folder in Windows 10?

If you are unable to stop sharing a folder in windows 10 or 11 computer, then you need to make sure that your are having administrative privileges in order to perform this action of stop sharing a folder with other computer on your windows 10 computer.

Stop Folder sharing Or Remove sharing Using Command Line

You can also remove folder sharing or remove folder sharing option with in your network using command line as well.

Step 1: Click on search and type in cmd -> right click on it and select run as administrator.

Step 2: Now, type in -> cacls D:\Shared /e /p Everyone:n” –Press Enter

Note: Where D:/Shared is the path of the folder which is currently being shared folder with other users of your network.

Step 3: Wait for cmd to perform thai action and remove folder access within your network and stop and remove sharing access to a folder.

Swathi
Swathi
  • Swathi is Content Writer, Author Editorial Team Member at A Savvy Web and She writes about technology troubleshooting guides and helps users to solve issues easily. She has expertise in this area for more than 2+ years of experience.
  •  She completed her Post Graduation and has an interest in Computers, Windows, Mac, Android, iPhone, Smart tv.

- Advertisement -