One of the very popular pieces of information that ControlUp provides is insight into statistics of user sessions, especially profile load time during login. In this post, we would like to go through a way of using both ControlUp Insights and the Script-Based Actions in order to identify and troubleshoot high profile load times.
- Identifying Users with High Profile Load Time
- Log into the ControlUp Insights Sessions Activity Report
- Set the display period for the last week (i.e. the 1W preset or the week of interest)
- Refine this report by filtering the Profile Load Time column to being greater than or equal to 60 (seconds) in order to display only the longest load times.
- Export the table to a csv file (see the icon in the upper right corner). Since this report shows all logins, not just unique names, use Excel to reduce this table to unique users.
Now we have an exact list of users that suffered from slow profile time over the last week
- Troubleshooting High Profile Load Time
- Now that you have the list of users who are experiencing this problem, let’s turn to the ControlUp console. We see that some of the users still have very high profile load times.
- We will use a Script-Based Action to dig into the details of the long load time. If you have not already added it to your local SBA store, please add “Calculate User Profile Size” from the Community Actions tab. If you are not familiar with how to do this, please refer to this KB article in the section “Downloading Community SBAs”. The rest of the article is also very good for an understanding of SBAs if you have not worked with them much yet.
- Run the “Calculate User Profile Size” SBA on the sessions from the Excel spreadsheet to see if the profile size is responsible for the slow load time. As we have shown in our blog, “Troubleshooting Slow Logons Caused by a Large User Profile” , having thousands of files and being many megabytes in size certainly influences the amount of time it takes to load the profile.
- With this knowledge, you have more facts to work with in finding and fixing the root cause of the high profile load times.We encourage you to also review the information at here or here and especially https://www.citrix.com/blogs/2015/08/05/troubleshooting-slow-logons-via-powershell/.