Search in
Join the Slickdeals Special Olympics World Games Fundraising Team Support the World Games

# Can't delete shared folder in Windows 7

672 March 11, 2010 at 05:48 PM
I have my laptop and HTPC set up to share certain folders and some external drives on my HTPC. Recently, (I'm not sure why) one of my drive letters changed on one of the external drives connected to the HTPC. I set up the shares again with the new drive letters no problem. The problem is now I can't delete the old shared folders. When I try from the HTPC is says the network path can't be found. Here is a picture. You can see 2 of "Movies 640", "TV 640", and "Extracted from Laptop 640"

1

Permanently Banned
3,398 Reputation
Google and try a program called Unlocker Assistant.
Glue's for huffin'
672 Reputation
Original Poster
 Quote from greenmeansgoooo : Google and try a program called Unlocker Assistant.
Thanks for the reply. Not sure I want to install anything as there has to be an easy solution.
nolife, no title
419 Reputation
On the PC that is doing the sharing... Open the sharing management console
Right click on "My Computer" or the equivelent and select Manage. Expand the section called Shared Folders and then Shares or the other way is to run fsmgmt.msc from the cmd line.

Once you have that open, you can manipulate and remove your dead shares.
Glue's for huffin'
672 Reputation
Original Poster
 Quote from nolife : On the PC that is doing the sharing... Open the sharing management console Right click on "My Computer" or the equivelent and select Manage. Expand the section called Shared Folders and then Shares or the other way is to run fsmgmt.msc from the cmd line. Once you have that open, you can manipulate and remove your dead shares.
I forgot to mention that I have tried that. I get this error message:

The system encountered the following errors while attempting to delete share... Error 3 the system cannot find the path specified

I tried right clicking and going under properties to change to path, but it won't let me make any changes.
nolife, no title
419 Reputation
Okay, I don't have a Windows 7 right here now to test but I've done this on various other Windows OS's in the past.
Under the reg key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares

You will see a list of shares, you should be able to delete them from there. You may have to restart the "server" service for the changes to take place (or just reboot). Again, I personally have not done much with Windows 7 but I've used this key many times for copying shares from one server to another and on XP/Vista and it worked great. YMMV

Standard disclaimer, backup that key before deleting anything.
Glue's for huffin'
672 Reputation
Original Poster
 Quote from nolife : Okay, I don't have a Windows 7 right here now to test but I've done this on various other Windows OS's in the past. Under the reg key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares You will see a list of shares, you should be able to delete them from there. You may have to restart the "server" service for the changes to take place (or just reboot). Again, I personally have not done much with Windows 7 but I've used this key many times for copying shares from one server to another and on XP/Vista and it worked great. YMMV Standard disclaimer, backup that key before deleting anything.
I just went ahead a changed to drive back to G. Had to redo XBMC and and Ember Media Manager but I made sure to stop sharing the H paths before I changed back. It's all back to normal. Just a lot more work than it should be. Thanks for the replies.

 Quote from nolife : Okay, I don't have a Windows 7 right here now to test but I've done this on various other Windows OS's in the past. Under the reg key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares You will see a list of shares, you should be able to delete them from there. You may have to restart the "server" service for the changes to take place (or just reboot). Again, I personally have not done much with Windows 7 but I've used this key many times for copying shares from one server to another and on XP/Vista and it worked great. YMMV Standard disclaimer, backup that key before deleting anything.
Thanks for the tip. I looked under that key and it looks like it would work.
L9: Master
2,014 Reputation
next time try opening the cmd prompt.

type net use
see the exact path to the share

then type in :
net use \\path\to\the\share /delete

L5: Journeyman
189 Reputation
Just install "Unlocker" like greenmeansgoooo suggested. Its a tiny program which will make your life easy. I have used it myself to get rid of a stubborn folder. Its not a spyware or nothing like that. I uninstalled it after I was done using it. See for yourself.... http://ccollomb.free.fr/unlocker/
Page 1 of 1
1

### Featured Coupons & Discounts

40% Off Sitewide + Free Shipping Use Coupon Code: SD40AFF
725 Redemptions at NJOY
$5 Off Orders Over$50 + Free Shipping Use Coupon Code: SEARS5OFF50
45513 Redemptions at Sears
Slickdeals Price Tracker
Saving money just got easier.