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

Document ID : KB000053635
Last Modified Date : 14/02/2018
Show Technical Document Details

Description

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.

Solution

  • In the DSM Explorer, drill down to Control Panel->Configuration->Collection Modules->Inventory Detection Modules.
  • Figure 1
    (Fig. 1)



  • Double click on 'WBEM Inventory' and go to the 'Configuration' tab.
  • Figure 2
    (Fig. 2)



  • Click on launch and then select Win32_*
  • 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.
  • 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.
  • Figure 5
    (Fig. 5)