Still see old drive's name in the network, can’t delete it

I am using Windows 10 Pro v. 1703. I replaced a hard drive in a networked Win10 PC, which is not a system drive, only contained data. Removed the old one by turning off the PC, disconnecting the power and SATA cable from the drive and then removed it from the case. I put the new one, connected the power and SATA cables and then turned the PC on. Went to computer management to initialise and format a new one, and I still see the old drive share name in the network, can’t delete it. How do I delete the old share from the network?

Hi @Jamie,

An orphaned share is one that the directory it shares has been deleted. If you delete a directory in Explorer that is shared any shares will automatically removed. If you delete by a different method, such as from the command prompt or the way you did then the share will be left and it may result in messages in the System Event Log of the form.

Please follow this article to delete orphan drive How do I delete an orphaned share?