Solved

how to determine which workstations have server drive mapped

Posted on 2013-06-03
7
395 Views
Last Modified: 2013-06-04
I have an SBS 2008 server. A USB connected drive is shared and can be mapped by workstations in the domain. I want eject this drive, but it is telling me that the drive is in use. How can I determine which user/workstation still has the drive mapped other than going to each workstation in turn and checking their mappings?
0
Comment
Question by:jmarkfoley
7 Comments
 
LVL 21

Expert Comment

by:Haresh Nikumbh
ID: 39216317
Run below command from command prompt

net session
0
 
LVL 18

Expert Comment

by:Peter Hutchison
ID: 39216347
You can also use the Computer Management console, expand Shared Folders, Sessions to see who is connected to the share.
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 39216410
takecoffe: net session shows me the list of users connected to the server, but not what drives they have mapped.

cmsxpjh: Closer, the SHared Folders and Websites selection of the SBS console shows the shared folders, but not who has them mapped (see image). Double-clicking on the folder icon simply shows the permissions.

shared folders
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 1

Author Comment

by:jmarkfoley
ID: 39217572
No pressure, but I need to know the answer by tomorrow AM or I'll have to simply reboot the server to kick everyone off the drive and the need for this question goes away.
0
 
LVL 22

Accepted Solution

by:
David Atkin earned 500 total points
ID: 39218532
Clcik Start > Administrative tools > Share and Storage manager

On the right hand side it says manage sessions.

Click on that, it will show you all users currently connected to the server.  
If you click manage open files (also on the right hand side) it will show you what files they have open.

To eject the drive stop the share via the SBS Console and then eject.  It maybe bring the message up purely because it is shared.
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 39219601
-Scorpeo-: that did the trick! Thanks

Yes, it still says it is in use when I try to eject, even though I've closed the user connections and un-shared the drive. But, I now know it is not in use, and that message is bogus.
0
 
LVL 22

Expert Comment

by:David Atkin
ID: 39219692
Glad you got it resolved (Y).
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This guide is intended for migrating Windows 2003 Standard with Exchange 2003 to Windows Small Business Server 2008. You will need the following: Exchange Best Practice Analyzer: http://www.microsoft.com/downloads/details.aspx?FamilyID=DBAB201F-…
Because virtualization becomes more and more common, and, with Microsoft Hyper-V included in Windows Server at no additional costs, and, most server hardware nowadays is more than capable of running a physical Small Business Server (SBS) 2008 or 201…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now