Win7: Stop sharing a network share which has been removed

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\Shares registry 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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like