Link to home
Start Free TrialLog in
Avatar of controlr
controlrFlag for Israel

asked on

is exe running in a VM or host platform

i have a program, and depending on the VM platform it will processes different tasks.
the program is for windows only.
I need to know if i can find out if:
1. EXE is running in VM or the host mode
2. if VM, which kind or vm  (HyperV / VMWare, etc)

a CPU Process name that can be seen in task manager would be great!
TIA
Avatar of ryder0707
ryder0707
Flag of Malaysia image

1. EXE is running in VM or the host mode
Each VM will be running its own OS, so all the exe is basically run inside the VM

2. if VM, which kind or vm  (HyperV / VMWare, etc)
I recommend the free esxi4
Avatar of controlr

ASKER

my question was refering to how can i tell INSIDE THE EXE  if  its running in a VM or the natural host platform
 
See article here, this is how I do it.
http://www.codeproject.com/KB/system/VmDetect.aspx
 
ASKER CERTIFIED SOLUTION
Avatar of za_mkh
za_mkh
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
As stated in the article referenced by the answer you accepted, DO NOT rely on the BIOS information to see if you are in a VM. It can be configured to pass the HOST information and NOT the VM info thus giving you a false belief that you are on a physical machine.