VMware Login Monitor Fling
While browsing on the VMware Flings website I have come across a new tool that was released on the 25/05/2016. This is the VMware Login Monitor tool, The functionality of the tool as per the website is as follows ‘VMware Logon Monitor monitors Windows user logons and reports a wide variety of performance metrics intended to help administrators, support staff, and developers troubleshoot slow logon performance. Metrics include, but are not limited to, logon time, CPU/memory usage, and network connection speed. VMware Logon Monitor also receives metrics from other VMware products which provide even more clues about what is happening during the logon flow.’
I have installed this on my personal VDI Desktop as I wanted to learn more about the tool. Installation is very simple with only one step as per the below screenshot.
When setup on the machine you will need to log off and log back on for it to create a log file of your login session. Once this has been completed you can find the log files in the following directory –
C:\ProgramData\VMware\VMware Logon Monitor\Logs
As you can see it has created a file for my login session on my VDI machine (JACOB-VDI01)
Further Information on the individual log files can be found in this configuration guide – https://download3.vmware.com/software/vmw-tools/logon_monitor/VMwareLogonMonitorConfigurationV2.pdf for example the ones we can see in this screenshot are explained below –
The main log file, vmlm.txt, contains all status messages for the vmlm service and session events
that come in before and after we monitor the logon. Check this log to determine if the VMware
Logon Monitor is running correctly.
The session log, vmlm_logon.txt, contains all events related to a user logon session. Events start in this log when the logon begins and only apply to a single user session. Look at this log to troubleshoot slow logons. A summary of the most important metrics is written at the end of this log. Check the summary for an overview of the logon and the rest of the log for more details. When the logon is complete, no further events are written to the session log.
I will now proceed to view the information that is obtained via the JACOB-VDI01 Login file. As you can see there is a lot of information presented via the Log file. Descriptions on the metrics can be found here – https://download3.vmware.com/software/vmw-tools/logon_monitor/VMwareLogonMonitorMetricsV1.pdf
As you can see the script login time isn’t high on this machine as I haven’t applied any group policies to my Home Lab Domain.
This tool would be very useful for troubleshooting login times on VDI Environments such as VMware Horizon. You can download and find out more information about this tool here – https://labs.vmware.com/flings/vmware-logon-monitor#summary