Solved

On a Windows 2008r2 server, how can I remove ghost drive mappings that were left behind from a drive that was externally attached?

Posted on 2013-11-08
3
1,020 Views
Last Modified: 2013-11-08
On my Windows 7 machine I go into Windows Explorer\Network
I get a list of computers.

I click on the Windows 2008r2 Server, then I see a list of its shared drive mappings.

Some of the drive mappings are live and still available and some are ghost drive mappings that no longer exist. The ghost drive mappings were previously being shared by the Windows 2008r2 Server, but the drives have been removed but the mappings still show up.
0
Comment
Question by:Created
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 39634634
You need to remove the drive mappings on the server through the management console. Using the traditional Computer Management console, you'd open up Shared Folders/Shares and then delete the ones pointing to resources that no longer exist.
0
 
LVL 6

Accepted Solution

by:
RaithZ earned 500 total points
ID: 39634643
You should be able to use the net share command to see the list of shares, and then use it to delete a share that goes to a path that doesn't exist anymore.  

Command Syntax:
The syntax of this command is:

NET SHARE
sharename
          sharename=drive:path [/GRANT:user,[READ | CHANGE | FULL]]
                               [/USERS:number | /UNLIMITED]
                               [/REMARK:"text"]
                               [/CACHE:Manual | Documents| Programs | BranchCach
e | None]
          sharename [/USERS:number | /UNLIMITED]
                    [/REMARK:"text"]
                    [/CACHE:Manual | Documents | Programs | BranchCache | None]
          {sharename | devicename | drive:path} /DELETE
          sharename \\computername /DELETE

Open in new window


So the command would be something like this:

net share \\paththat\doesntexist /delete
0
 

Author Closing Comment

by:Created
ID: 39634658
Thx for the quick response. That did the trick.
0

Featured Post

Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question