I have a Win7-system which was sharing a folder on an internal drive. I have copied the data to a NAS and formatted the HDD with the original folder on it. I did not remove the share before formatting it, thus now I have share on my system that I cannot stop from being shared, as - obviously - the path cannot be found.
How do I remove this share? Thanks.
1 Answer
I have share on my system that I cannot stop from being shared
Solution 1:
- Open your computer in explorer so that you see "Network" listed below the libraries, drives and so forth .
- Click to expand "Network"
- You should now see the shared folders as subfolders of "Network"
- Right click the 'ghost' shared folders and hover/select "Share with" --> submenu "Advanced sharing".
- You will now see a new tabbed window with a button with a little shield on it that says "Advanced Sharing"
- Click that button.
- You will now see a checked box at the top that says "Share this folder"
- UN-check it.
Source Windows 7 RC: Deleted, previously shared folders, still shows under my workgroup folders as shared.
Solution 2:
Shares are listed in
SYSTEM\CurrentControlSet\Services\LanmanServer\Sharesregistry key, you can delete the entries there, after a backup of the key (source)
Source How to remove a Windows share when the folder does not exist anymore? by lrosa
This second solution has been confirmed to work by the original poster.
3