How to remove ghost network drive
- Executioner
- Life Member
- Posts: 10141
- Joined: Wed Nov 22, 2000 11:34 am
- Location: Woodland, CA USA
How to remove ghost network drive
I have my laptop which I was sharing a folder called: d:\Downloads - OLD
Last night I decided to move this to my E drive since it had more room than the D drive.
On my desktop now it shows both locations. How can I remove the d:\Downloads - OLD from being displayed on my desktop? The new one is now shown as E:\Downloads - OLD2.
Last night I decided to move this to my E drive since it had more room than the D drive.
On my desktop now it shows both locations. How can I remove the d:\Downloads - OLD from being displayed on my desktop? The new one is now shown as E:\Downloads - OLD2.
- Executioner
- Life Member
- Posts: 10141
- Joined: Wed Nov 22, 2000 11:34 am
- Location: Woodland, CA USA
Re: How to remove ghost network drive
Never mind. I figured it out after more searching. I used the "net share" command in a dos prompt.
net share Downloads - OLD /delete
on my laptop that originally had the share.
net share Downloads - OLD /delete
on my laptop that originally had the share.
- Executioner
- Life Member
- Posts: 10141
- Joined: Wed Nov 22, 2000 11:34 am
- Location: Woodland, CA USA
Re: How to remove ghost network drive
LOL that did not work even though on my laptop it said it was deleted. So on my desktop I still show that ghost share even after rebooting my desktop.
- Executioner
- Life Member
- Posts: 10141
- Joined: Wed Nov 22, 2000 11:34 am
- Location: Woodland, CA USA
Re: How to remove ghost network drive
OK - I had to reboot the laptop! So now it works. Jeez...you would think that there would be an easier way to remove orphaned shares by using a right click then delete. What could be more simple? Or maybe windows should be smart enough to realize that the share was moved or deleted and ask me if I wanted to delete the reference shortcut.
- FlyingPenguin
- Flightless Bird
- Posts: 32783
- Joined: Wed Nov 22, 2000 11:13 am
- Location: Central Florida
- Contact:
Re: How to remove ghost network drive
Welcome to the wonderful world of Windows File Sharing. Been there, done that, bought the t-shirt.
Christians warn us about the anti-christ for 2,000 years, and when he shows up, they buy a bible from him.
- Executioner
- Life Member
- Posts: 10141
- Joined: Wed Nov 22, 2000 11:34 am
- Location: Woodland, CA USA
Re: How to remove ghost network drive
Bring this up again - I have a share that won't delete. It reports that it does not exist, but when I issue the command "net share" it shows up as "H:\Music lossless". The command that I used to try and delete it was "net share H:\Music lossless /delete"
- FlyingPenguin
- Flightless Bird
- Posts: 32783
- Joined: Wed Nov 22, 2000 11:13 am
- Location: Central Florida
- Contact:
Re: How to remove ghost network drive
You may have to delete it by it's share name, which is not the full path. The full path no longer exists. If you accepted the default when you created the share, it's probably "Music lossless".
You're also going to need to use quotes because there's spaces in the file name. So try:
Net share "H:\Music lossless" /delete
Or
net share "Music lossless" /delete
You're also going to need to use quotes because there's spaces in the file name. So try:
Net share "H:\Music lossless" /delete
Or
net share "Music lossless" /delete
Christians warn us about the anti-christ for 2,000 years, and when he shows up, they buy a bible from him.
- FlyingPenguin
- Flightless Bird
- Posts: 32783
- Joined: Wed Nov 22, 2000 11:13 am
- Location: Central Florida
- Contact:
Re: How to remove ghost network drive
Edited my initial reply.
Christians warn us about the anti-christ for 2,000 years, and when he shows up, they buy a bible from him.
- Executioner
- Life Member
- Posts: 10141
- Joined: Wed Nov 22, 2000 11:34 am
- Location: Woodland, CA USA
Re: How to remove ghost network drive
Thanks Bob. This worked: net share "Music lossless" /delete
So if there are spaces, we need to use quotes?
So if there are spaces, we need to use quotes?
- FlyingPenguin
- Flightless Bird
- Posts: 32783
- Joined: Wed Nov 22, 2000 11:13 am
- Location: Central Florida
- Contact:
Re: How to remove ghost network drive
Yup, otherwise the command line thinks it's {net share music}, with the bogus command lossless afterward. Any file path or file name with a space must be in quotes.
Christians warn us about the anti-christ for 2,000 years, and when he shows up, they buy a bible from him.