Configuring WMI for FlexNet Inventory Scanner
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).
- Win32 classes: http://msdn.microsoft.com/en-us/library/aa394084(v=vs.85).aspx
- CIM classes: http://msdn.microsoft.com/en-us/library/aa386179(v=vs.85).aspx
- Software licensing classes: http://msdn.microsoft.com/en-us/library/ee957720(v=vs.85).aspx
wmitrack.ini
file to include the lines:
[Win32_ComputerSystem]
UserName
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.
;[Win32_USBDevice]
Locations
- 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. - 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 thisini
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