0

Using Net Share command (as Administrator) I see a list of user shares.

However, some of these shares are persistent, and reappear after a reboot despite using the /delete suffix.

  • Why do these shares reappear after reboots.

  • What causes them to 'respawn'?

  • How can I ensure they stay removed?

0
0

If the shares were created by a program such as NFS, use it to unmount.

Otherwise, try this :

  • Issue the net use drive-letter /delete command as Administrator
  • Check the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares
  • If the shares are still there, delete them
  • Reboot to check.
2
  • 'net use x: /delete' reports 'The network connection could not be found.' The registry key you mentioned contains no data. Perhaps I have a relevant service disabled? – Arianax Sep 3 '18 at 18:36
  • Perhaps. But do you mean to say that net share shows shares that you cannot delete? Could you please add to your post a screenshot of these commands executing? – harrymc Sep 3 '18 at 19:22

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.