Configuring WMI for FlexNet Inventory Scanner

IT Asset Management (Cloud)

The behavior of FlexNet Inventory Scanner on Windows devices can (in part) be configured in a wmitrack.ini file.

The WMI (Windows Management Instrumentation) configuration file is used to inform the inventory agent what hardware, software and operating system components it should track. This file is only used if WMI tracking is selected as the preferred mechanism for hardware inventory tracking (set by the WMI preference, for which see FlexNet Inventory Scanner Command Line).

The components to be tracked can be any valid Win32 classes. A full list of supported classes is provided through the following URLs:
You can edit this text-based file to change the items being tracked. For example, if you want to track user logons, edit the wmitrack.ini file to include the lines:
[Win32_ComputerSystem]
     UserName
The UserName value returns the name of the user currently logged on. In a terminal services session, UserName returns the name of the user that is logged on to the console — not the user logged on during the terminal service session. UserName may be null if the user currently logged on does not have administrative privileges. If you experience this problem, try using;
[Win32_LoggedOnUser]
     Antecedent

The user data collected will be available in hardware inventory reports.

You can also exclude an entire section, or an individual item, by commenting them out with a leading semi-colon. For example, in the sample file, see
;[Win32_USBDevice]

Locations

For remote inventory collection from Windows devices, the FlexNet Inventory Scanner checks the following in this order:
  1. It looks for a command-line option -o WMIConfigFile= "FullPathAndFileName", and uses the file declared there (and no further checking occurs).
    Note: There is no limitation on the file name or extension you may specify with this option.
  2. In the absence of a command-line option, FlexNet Inventory Scanner looks for a wmitrack.ini file in the same folder where the self-executing zip expanded (%temp%\FlexeraInventoryScanner), on the computer where the scanner is executing. This is the standard operating location for this ini file.

If a wmitrack.ini file is not found in either way, no WMI hardware components are tracked.

Sample file

The following default wmitrack.ini file specifies the Win32 items collected during standard inventory tracking. (You may use this as source for modifying your own alternative configuration file.)

[Win32_ComputerSystem]
Manufacturer
Model
Domain
DomainRole
NumberOfProcessors
NumberOfLogicalProcessors
TotalPhysicalMemory
Status
UserName

[Win32_ComputerSystemProduct]
IdentifyingNumber
Name
UUID
Vendor
Version 

[Win32_OperatingSystem]
Name
Manufacturer
Version
ServicePackMajorVersion
ServicePackMinorVersion
SerialNumber
InstallDate
LastBootUpTime
OSLanguage
FreePhysicalMemory
FreeVirtualMemory
CountryCode
WindowsDirectory
SystemDirectory
Caption
CSDVersion
Status
CSName
OSType
OSArchitecture

[Win32_BIOS]
Manufacturer
Version
ReleaseDate
SerialNumber
BiosCharacteristics
Status

[Win32_Processor]
Description
Manufacturer
Version
ProcessorId
CurrentClockSpeed
CurrentVoltage
L2CacheSize
Status
MaxClockSpeed
Name
ProcessorType
NumberOfLogicalProcessors
NumberOfCores
DeviceID

[Win32_DiskDrive]
Description
Manufacturer
Model
Size
InterfaceType
Partitions
Status 

[Win32_LogicalDisk]
Description
VolumeName
FileSystem
FreeSpace
Size
VolumeSerialNumber
DriveType
MediaType
Status
ProviderName

[Win32_CDROMDrive]
Description
Manufacturer
Drive
Status
Capabilities

[Win32_NetworkAdapter]
Manufacturer
MACAddress
MaxSpeed
Speed
Status

[Win32_NetworkAdapterConfiguration]
Caption
Description
Index
MACAddress
IPEnabled 
DHCPEnabled
IPAddress
DHCPServer
DNSHostName
DNSDomain
DNSServerSearchOrder
DefaultIPGateway
IPSubnet

[Win32_PhysicalMemory]
Capacity
MemoryType
PositionInRow
Speed
Status

[Win32_SoundDevice]
Name
Manufacturer

[Win32_VideoController]
Name
VideoProcessor
DriverVersion
DriverDate
InstalledDisplayDrivers
AdapterRAM

[Win32_VideoConfiguration]
AdapterRAM
AdapterType
Description
HorizontalResolution
MonitorManufacturer
MonitorType
Name
VerticalResolution

[Win32_SystemEnclosure]

;[Win32_USBDevice]
;Caption
;ClassGuid
;Description
;DeviceID
;Manufacturer
;Name
;Status
;SystemName

[SoftwareLicensingProduct]
ApplicationID
Description
EvaluationEndDate
GracePeriodRemaining
LicenseStatus
MachineURL
Name
OfflineInstallationId
PartialProductKey
ProcessorURL
ProductKeyID
ProductKeyURL
UseLicenseURL

[SoftwareLicensingService]
ClientMachineID
IsKeyManagementServiceMachine
KeyManagementServiceCurrentCount
KeyManagementServiceMachine
KeyManagementServiceProductKeyID
PolicyCacheRefreshRequired
RequiredClientCount
Version
VLActivationInterval
VLRenewalInterval 

IT Asset Management (Cloud)

Current