Determine Windows running on Physical or Virtual Platform

Sometimes when we access Windows Server through Remote Desktop but have no clue whether the OS platform falls on Physical or Virtual. But with Windows Management Instrumentation Command-line (WMIC), we can determine whether Windows is installed in a VM either Hyper-V, VMware or Xen:

  • For virtual machines running on Hyper-V, the version parameter will include the string VERSION.
  • For virtual machines running on VMware, the serialnumber parameter will include the string VMware.
  • For virtual machines running on Xen, the version parameter will include the string Xen.
Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s