How it works...

We can utilize some very simple logon and logoff scripts on RDSH servers in order to generate reporting information about who is logging in, where they are logging in, and at what times they are coming and leaving. Incorporating these reporting scripts onto each of your RDSH servers and then having them all report to a central location can greatly improve your ability to generate user accounting information. This is a common question among those utilizing RDS, and hopefully you can take this information and build on top of it further to gather whatever info is important to your organization.

Get Windows Server 2016 Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.