Monitoring RDS Bandwidth Usage by Users with Perfmon is one of the best methods to find out which user session is causing traffic.
Here at Ibmi Media, as part of our Server Management Services, We regularly help our Customers to configure RDS Bandwidth monitoring tasks.
In this context, we shall look into how to set this up.
Reasons to Monitor RDS Bandwidth Usage by Users?
i. In a network, there will be several terminal servers based on Windows Server 2012 R2 with Remote Desktop Services (RDS) role, which connects many users from branches and regional offices.
ii. We can detect, which terminal users sessions generate the bulk of traffic. This happens when users within the RDP session actively upload or download numerous files or send large documents to print through Easy Print.
iii. We cannot completely prevent file transfer between a PC and an RDP server and printing documents over Easy Print, since this will effect users to do their work.
iv. Hence, we can solve the problem by finding users who actively transfer data and consult them personally so that they could effectively organize their work to minimize large data transfer during an RDP session.
Monitoring RDS Bandwidth Usage by Users with Perfmon
One of the methods used to monitor RDNS Bandwidth usage by users is by using Perfmon.
Steps to follow are provided below:
1. Open Performance Monitor (perfmon.exe) and add the counter RemoteFX Network/Total Sent Rate(*). It counts the outgoing traffic of a terminal server (B/s).
2. Then select Histogram bar view in the Graph tab if there are a lot of sessions. Specify, say, 100 KB/s (100000) as the value of the vertical scale.
3. We can check the values from maximum column and identify the numbers of RDP sessions sending the largest amounts of data.
4. Then to compare the number of an RDP session with a user name, we can use qwinsta.exe.
5. Alternatively, we can use RemoteFX Network/Total Sent Rate(*) counter as well.
6. For evaluating traffic during a day/week, we can create a separate group of data collectors counting the incoming/outgoing traffic of user RDP sessions.