search cancel

How do I extract user information like last log off, last log on and logon hours?


Article ID: 53635


Updated On:


CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER CA Server Automation CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager



The WBEM Inventory module has to be configured in order to collect user information like last log off, last long on and log on hours.


  • In the DSM Explorer, drill down to Control Panel->Configuration->Collection Modules->Inventory Detection Modules.
  • <Please see attached file for image>

    Figure 1
    (Fig. 1)

  • Double click on 'WBEM Inventory' and go to the 'Configuration' tab.
  • <Please see attached file for image>

    Figure 2
    (Fig. 2)

  • Click on launch and then select Win32_*
  • <Please see attached file for image>

    Figure 3
    (Fig. 3)

  • Expand Win32_* -> Win32_NetworkLoginProfile and select LastLogoff, LastLogon and LogonHours as shown in the screenshot below. Click OK and apply the changes as prompted.
  • <Please see attached file for image>

    Figure 4
    (Fig. 4)

  • Once the agents run and the inventory is collected by the Engine, a report can be created using the DSM Reporter as illustrated below using the WBEM Inventory fields.
  • <Please see attached file for image>

    Figure 5
    (Fig. 5)


Release: UASIT.99000-11.2-Asset Intelligence


1558711291026000053635_sktwi1f5rjvs16s5f.gif get_app
1558711289035000053635_sktwi1f5rjvs16s5e.gif get_app
1558711287225000053635_sktwi1f5rjvs16s5d.gif get_app
1558711285392000053635_sktwi1f5rjvs16s5c.gif get_app
1558711283224000053635_sktwi1f5rjvs16s5b.gif get_app