none
How to measure Login and GPO processing time metrics

    Question

  • Hello,

    We need to reliably measure GPO processing time, User Login time and other relevant metrics on our Windows Clients.

    What would be a good approach to track this?

    Tuesday, April 05, 2016 7:18 AM

Answers

All replies

  • > What would be a good approach to track this?
     
    XPerf.
     
    Tuesday, April 05, 2016 7:39 AM
  • Hi,

    I agree with Martin Xperf is great tool for tracking this and check the link for guide on how to use.

    https://blogs.technet.microsoft.com/askperf/2008/06/27/two-minute-drill-introduction-to-xperf/

    Also you can check native Action Center - Performance tool on Windows client.


    Regards, Jim MSCS - MCP Disclaimer: This posting is provided AS IS with no warranties or guarantees , and confers no rights. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

    Tuesday, April 05, 2016 8:01 AM
  • thank you for the suggestions.

    WMI and pshell will have less impact from my first glance.

    xperf seems a bit excessive. need to look into it a bit more.


    Tuesday, April 05, 2016 8:07 AM
  • xperf is a no go.

    configuring an extra executable on all client PCs, enabling session tracking or relying on network connectivity and placing the executable on sysvol is a no-go. Too heavy. Although it's the way to go for troubleshooting for sure.

    I'm having issues with all methods I've tried for tracking user logon time.

    Reality

    User Login start (Enter is pressed after entering username and password, windows wheel appears):

    11:44:00

    User Login end (Desktop background is visible, explorer is loaded):

    11:44:20

    Windows Explorer

    11:44:13   05/04/2016

     

    Notepad

    11:44:22   05/04/2016

     

    Microsoft Outlook

    11:44:36   05/04/2016

     

    Google Chrome

    11:44:47   05/04/201

    System Data 1

    PS C:\WINDOWS\system32> net statistics server | find "Statistics since"

    Statistics since 05-Apr-16 10:45:40

    Explanation of this from my side: daylight saving time effect and just a big delay. Not a reliable metric.

    System Data 2

    Get-WmiObject Win32_NetworkLoginProfile |
        Sort -Descending LastLogon |
        Select *

    LastLogon          : 20160403224424

    Explanation of this from my side: Some sync'ed or cached AD value most likely.

    System Data 3

    PS C:\WINDOWS\system32> $c = Get-ADUser John -Properties *
    [datetime]::FromFileTime($c.lastLogon)

    4 April, 2016 20:12:35

    Explanation of this from my side: It's some cached thing from AD.

    More suggestions appreciated.


    Tuesday, April 05, 2016 9:32 AM
  • hmm, this is interesting:

    net user john /domain

    The request will be processed at a domain controller for domain domain.local.

    Last logon                   05-Apr-16 11:43:56

    update: re-checked, it's some cached value again


    Tuesday, April 05, 2016 9:38 AM
  • > configuring an extra executable on all client PCs, enabling session
     
    There's no easy-to-use and reliable builtin solution available...
     
    If it's only about GPO processing performance:
    and combining existing logs)
     
    > I'm having issues with all methods I've tried for tracking user logon time.
     
    "logon time" - are you simply interested in "which user logs on to which
    computer at which time"? Then create a logon script that writes
    appropriate data to a central location. Files will be sufficient,
    database might prove helpful for analysis.
     
     
    Tuesday, April 05, 2016 9:59 AM
  • How much time does the user wait to login.

    User Logon time, from entering credentials to when the PC becomes usable (probably explorer.exe load +delta of 2 seconds).

    gpo processing time is part of that metric.

    thank you for the tool link, it's great, it's mostly for analyzing log files for clients that have extended logging enabled.



    Tuesday, April 05, 2016 10:38 AM
  • Hi,
    I would suggest you take a look the following similar threads, from them you may be able to get some useful and similar tools as your request:
    Measuring Win7 Boot/Login time
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/7d226888-7e0c-43ab-aa37-dabf45983ead/measuring-win7-bootlogin-time?forum=w7itproperf

    Measuring startup time of each processes
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/d2e51d8c-30e8-45c9-b871-38bb77eeb5ad/measuring-startup-time-of-each-processes?forum=perfmon

    Regards,
    Wendy


    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Wednesday, April 06, 2016 9:28 AM
    Moderator