1

On Windows Server 2008 R2, I want to know which users are logged in remotely (and locally) to this computer.

For example, the Windows Server is on subnet 192.169.34.xxx and I am accessing folders on the server, from my PC (which is on domain: 192.169.32.xxx). I get access to the Server via Windows Explorer like follows:

\\191.169.34.55\d$

Then it asks me for username and password: Username I use serverDomain\admin and then the password for the admin user account on the server.

So my Question: When I access the server like that, how can I, from the server, see which users are accessing the server remotely like I do from my local PC from a different subnet (or from the same subnet if any)

Thank You

1 Answer 1

3

If you want to list the user they connected to your Server you can type this command local:

NET SESSION | FIND "\\"

Or if you search for a remote command try this:

PSEXEC \\191.169.34.55 NET SESSION | FIND "\\"

You can add some Expressions to the find command to filter the output for your optimal result.

3
  • thank you, works great. What other options are avail for "" apart from \\ ? Dec 11, 2013 at 8:44
  • You can set a expression for specially your UNC Share, so if there are more than one share you can filter for only the one your interested
    – kockiren
    Dec 11, 2013 at 8:47
  • ok cool, appreciated. Dec 11, 2013 at 8:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .