Use Remote Access Monitoring and Accounting
Updated: March 14, 2016
Applies To: Windows Server 2012 R2, Windows Server 2012
Remote Access monitoring reports remote user activity and status for DirectAccess and VPN connections. It tracks the number and duration of client connections (among other statistics), and monitors the operations status of the server. An easy-to-use monitoring console provides a view of your entire Remote Access infrastructure. Monitoring views are available for single server, cluster, and multisite configurations.
Note: Windows Server 2012 combines DirectAccess and Routing and Remote Access Service (RRAS) into a single Remote Access role.
In addition to this topic, the following topics on monitoring Remote Access are available. Monitor the existing load on the Remote Access server Monitor the configuration distribution status of the Remote Access server Monitor the operations status of the Remote Access server and its components Identify and resolve Remote Access server operations problems Monitor connected remote clients for activity and status Generate a usage report for remote clients using historical data Optimize the Inbox Accounting Database Blog post: Additional way to monitor DirectAccess machine/user activity on Windows 2012 and 2012R2 DirectAccess with component event logging
In this guide
This document contains instructions for leveraging the monitoring capabilities of Remote Access by using the DirectAccess management console and the corresponding Windows PowerShell cmdlets, which are provided as part of the Remote Access server role.
The following monitoring and accounting scenarios are explained:
Monitor the existing load on the Remote Access server
Monitor the configuration distribution status of the Remote Access server
Monitor the operations status of the Remote Access server and its components
Identify and resolve Remote Access server operations issues
Monitor connected remote clients for activity and status
Generate a usage report for remote clients by using historical data
Understand monitoring and accounting
Before you begin monitoring and accounting tasks for remote clients, you need to understand the difference between the two.
Monitoring shows actively connected users at a given point in time.
Accounting keeps a history of users who have connected to the corporate network, and their usage details (for compliance and auditing purposes).
Remote client monitoring is based on connections. There are two types of tunnel connections that are established by DirectAccess clients:
Machine tunnel traffic connections: This tunnel is established by the computer, in system context, to access servers that are required for name resolution, authentication, remediation updating, and so on.
User tunnel traffic connections: This tunnel is established by the user account on the computer, in a user context, when the user tries to access a resource on the corporate network. Depending on the deployment requirements, a user might have to provide strong credentials (for example, by using a smart card or providing a one-time password) to access the corporate network resources.
For DirectAccess, a connection is uniquely identified by the IP address of the remote client. For example, if a machine tunnel is open for a client computer, and a user is connected from that computer, these would be using the same connection. In a situation where the user disconnects and connects again while the machine tunnel is still active, it is a single connection.