Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to see what AD users are currently browsing an internal (intranet) IIS web server?

share|improve this question
up vote 5 down vote accepted

You have an understanding issue with the HTTP protocol. It's not like, say, FTP, where the client computer is keeping a persistent connection open to the server computer while the user is "browsing". Connections from clients are transient.

Having said that, assuming you're requiring authentication to the site, you could use the site's log file to see who has recently been accessing pages. If you're not requiring authentication, you're just going to see client IP addresses.

share|improve this answer

I don't think you can get the individual users at the server level, but you can user perfmon counters to get counts of how many active connections there are.

For IIS6 (from the Technet Article):

1.Open Administrative Tools, and then click Performance.

2.Right-click the System Monitor details pane, and then click Add Counters.

3.Do one of the following:

To monitor any computer on which the monitoring console is run, click Use local computer counters.


To monitor a specific computer, regardless of where the monitoring console is run, click Select counters from computer, and specify a computer name or IP address.

4.In Performance object, click:

Web Service to monitor active Web connections.


FTP Service to monitor active FTP connections.

5.Click Select counters from list, and select Current Connections.

6.Click All instances.

7.Click Add, and then click Close.

share|improve this answer

See Evan's answer. Also netstat | find ":http" will show you which hosts connected in the last minute or so (whatever the TIME_WAIT interval is).


share|improve this answer

The problem comes hard as the definition of "currently" varies.

If actually you need to know who accessed this server in the last 10 or 1 minutes, you can always take a look at Security event log to check logon events. But that's only a rough estimate.

share|improve this answer

If you are using authentication and if you want to see the results thru your site you can use the following code in c# from your site code:

using System.Web.Security;

MembershipUserCollection users = Membership.GetAllUsers();
            foreach(MembershipUser user in users)
                if (user.IsOnline) 

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.