lmvminfo

The lmvminfo utility returns the environment as virtual or not.

Usage

lmvminfo -long

Note:Flexnet Licensing Service needs to be installed for 'lmvminfo -long' to fetch the required details.

Where -long returns the following:

Family of the virtual machine. The Family generally denotes the provider of the detected hypervisor software that the virtual machine (VM) is running on.

The virtual environments for which Family names are generated are:

List of VM_family and VM_name and hypervisor supported

Hypervisor

Family

Name

Hyper-V

MICROSOFT

HYPERV

VMware Workstation

VMWARE

DESKTOP, previously VMWARE

VMware ESXi

VMWARE

SERVER, previously VMWARE

Oracle VirtualBox

VIRTUALBOX

VIRTUALBOX

Citrix XenServer

XEN

XEN

Amazon EC2

AMAZON

EC2

Parallels

PARALLELS

PARALLELS

QEMU

QEMU

QEMU

QEMU-KVM*

QEMU

QEMU-KVM

Google Compute

GOOGLE

COMPUTE

Microsoft Azure

MICROSOFT

AZURE, previously HYPER-V

everRun

STRATUS

EVERRUN

* The KVM suffix is only appended to the QEMU hypervisor 'name' attribute (not the family attribute) when the presence of the KVM virtualization infrastructure has been detected.

Name of the virtual machine. The Name specifies the detected hypervisor product that the virtual machine (VM) is running on. The Name is for future use and is intended to be a subset of family.
UUID of the machine
GENID of the machine

Output example for the command lmvminfo -long:

C:\Users\Administrator\Desktop\64bit\x64_n6>lmvminfo.exe -long

lmvminfo - Copyright (c) 1989-2021 Flexera Software LLC. All Rights Reserved.

Running on Virtual Platform

FAMILY=VMWARE

NAME=VMWARE

UUID=0F064D56-465C-1286-6243-81C70C2766FF

GENID=433646c3cd09838f:39d695b09d953cb4

Note:If the GENID is not available then “GENID: ERROR - Unavailable” is displayed.