WindowsLastLoggedOnUser

FlexNet Manager Suite 2021 R1 (On-Premises)

For a Windows-based computer, standard BMC Discovery collection does not capture any inventory related to the Windows Logon. User identification is important for FlexNet Manager Suite to accurately calculate license consumption for user-based licensed, such as a Named User license. (There is no equivalent data for UNIX-like systems available through the BMC Discovery adapter.)

This pattern queries the registry at HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\LastLoggedOnUser to find the last logged-on user (for legacy Windows platforms before Vista, it queries WMI for the value of UserName from Win32_ComputerSystem). If the query is successful, a DiscoveredRegistryValue node is created for the host computer:

Property Value
Name The user name.
Type FNMP_LastLoggedOnUser
Key %type%/%host.key%

To configure the WindowsLastLoggedOnUser pattern:

  1. In the user interface for BMC Discovery, select the Discovery tab.
  2. Click Pattern Management, and from the list of patterns at the bottom of the page, ensure that your current Flexera.FNMP.InventoryRawData item is enabled, and select it. (The module must be enabled before any of its member patterns can operate.)
    Tip: The WindowsLastLoggedOnUser pattern is enabled by default when the pattern collection is initially enabled. If it has previously been disabled, you can re-enable it with the remainder of this procedure.
  3. From the Pattern Package properties, select the link for the Pattern Module.
  4. Scroll down to the Pattern Configuration area.
  5. In the WindowsLastLoggedOnUser group, click Edit Configuration.
  6. Select the True radio button for Report Windows last logged-on user.
  7. Click Apply (at the bottom of this group).

FlexNet Manager Suite (On-Premises)

2021 R1