Windows Server can’t see who has share in use
25 pts.
0
Q:
Windows Server can't see who has share in use
I have a server running Windows 2003 standard with a folder that is being shared. On this share I have limited the User Limit to one user. I have done this by going to the properties of the share, under the general tab, User Limit section, Allow this number of users: and set to 1. When I have someone map a drive to this folder it uses that one access point and blocks all others from access it. Problem is, that as long as they don’t open any files, I can’t find a way to see what user has that share in use. The only time I can see who is in the share is by seeing them having file open. One other item worthy of mentioning is that I have also accessed this share through a DFS path as well. Doesn’t seem to matter which way you access it, I still can’t see who has the share in use when they don’t have any files open. Does anyone have a Windows command to see this?
Software/Hardware used:
Windows Server 2003
ASKED: Aug 13 2009  5:57 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
7610 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
You should be able to go into Computer Management (compmgmt.msc), go into Shared Folders, and then drill down to see who is connected and which files are open.
Last Answered: Aug 14 2009  4:24 PM GMT by KevinBeaver   7610 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Wimble   25 pts.  |   Aug 17 2009  11:59AM GMT

Thanks Kevin,
Problem is though, that the end user doesn’t have any files in use yet when the share is connected too. My problem is that someone is mapping a drive letter to the share and then just leaving it at that and not accessing any files. Without a file open, how can i see who has the share in use?

 

KevinBeaver   7610 pts.  |   Aug 18 2009  1:46PM GMT

You could run netstat -an |more from a command prompt and see who’s connected on the NetBIOS ports (445 and 13x) ….it may take a while if you have a lot of users but you could use that to narrow things down.

 

Wimble   25 pts.  |   Aug 18 2009  2:20PM GMT

I have tried Netstat -an and all it shows me is the IP of the server and the port it is using (445 and 13X) and then the IP of the pc’s connected. I know i have a bunch of people connected to this server. It has approx. 10 other shares and they are all accessing different shares. That is where my issues is. I need to see who has what share open, not who has a connection open on the server.
This share thing is what is making it hard. You just can’t see who has a share in use at the server.
One other item, I only have a limited amount of users that even have access to this share. Does anyone know of a PSEXEC command that i can run on each individual users machine to see what share’s they have in use? I can’t look at mapped drives becuase some don’t map it, they just browse to it which in return will also mark the share in use.
Thanks,

 

KevinBeaver   7610 pts.  |   Aug 19 2009  1:10PM GMT

If you have a limited number of users couldn’t you just logon to their machines and do a ‘net use’ and see who has it open? You could use PsExec to do this remotely.

 
0