Have you shared a folder on Windows 10 but now want to delete it?
Indeed, you can stop sharing at any time so that you can no longer access the folder from another PC on your LAN .
Thanks to this article, you will find several methods with all the explanations to delete a shared folder on Windows 10 .
Contents
- 1How to delete a folder share on Windows 10
- 1.1From the file explorer
- 1.2From computer management
- 1.3With net share in command prompt
- 1.4In Powershell
- 2Links
- 3Find the solution on the help forum
HOW TO DELETE A FOLDER SHARE ON WINDOWS 10
FROM THE FILE EXPLORER
Time required: 5 minutes.
How to delete a folder share on Windows 10
- Open Windows 10 File Explorer
Access Windows 10 File Explorer from the yellow folder icon in the taskbar .
- Open the properties of the shared folder
Then browse your folders to find the shared folder.
On the latter, right click then properties .
- Go to the Sharing tab
Then click on the Sharing tab .
Then in the latter, click on Advanced sharing .
- Disable Folder Sharing
Finally, uncheck Share this folder to remove the sharing.
Click OK on all windows to validate the changes.
Well done ! you have successfully deleted a folder share on Windows 10.
FROM COMPUTER MANAGEMENT
Computer management is a menu that allows access to various configurations and parameters of Windows 10.
From this last one can list the folder shares but also create or delete them.
- Right click on the Windows 10 Start menu
- Then click on Computer Management
- Then scroll to the left Shared Folders> Sharing
- In the right pane, are your network shares. Right click on the sharing to deactivate then stop sharing
Note that you can directly access the folder shares management interface through the fsmgmt.msc command .
Well done ! you have successfully deleted a folder share on Windows 10.
WITH NET SHARE IN COMMAND PROMPT
net share is a CDM command for managing Windows network shares.
You can use it very easily to delete a share with the / Delete option
For example to stop sharing on the C: \ share folder:
net share c:\share /DELETE
Note that if you have the permissions, you can delete a remote share:
net share Nomdupartage \\adresseServeur /DELETE
Well done ! you have successfully deleted a folder share on Windows 10.
IN POWERSHELL
Finally Powershell also allows you to stop and delete a network share with the Remove-SmbShare cmdlet .
We can then specify the name of the share, for example to stop the Data sharing: