CtxAdmTools

FREE Tools for Citrix, Microsoft and VMware Administrators and Consultants

DetectVM v2.0
Release Date: May 19, 2010
 
This FREE tool detect Virtualization Technology installed.
 
if you run DetectVM Client from Command Line:
 
Detect Virtual Machines
 
DetectVM can detect Citrix, Microsoft and VMware Virtual Machines only.
DetectVM run on x86 and x64 systems.
DetectVM requires .NET Framework 2.0 or later installed.
 
Every time you run DetectVM the application return a code
 
 0 = Not running inside a Virtual Machine
 1 = Microsoft Virtual Machine
2 = VMware Virtual Machine
3 = Citrix XenServer Virtual Machine
100= Error
 
You can capture the code using a Batch file. Below is a example:
 
  @ECHO OFF
DetectVM /QUIET
IF ERRORLEVEL 100 GOTO ErrorVM
IF ERRORLEVEL 3 GOTO Xen
IF ERRORLEVEL 2 GOTO VMware
IF ERRORLEVEL 1 GOTO Microsoft

REM No Virtual Machine
ECHO Not running inside a Virtual Machine
GOTO End

:Microsoft
REM Microsoft
ECHO Running Inside a Microsoft Virtual Machine
GOTO End

:VMware
REM VMware
ECHO Running Inside a VMware Virtual Machine
GOTO End

:Xen
REM Citrix XenServer
ECHO Running Inside a Citrix XenServer Virtual Machine
GOTO End

ErrorVM
ECHO Error Detecting Virtual Machine
:End

 
 
Download Script
 
Are you interested in the Source Code of this application? Click here
 
Read the End-User License Agreement
 
Download
 
Price:
Free