The Oven

Tool World => Development and code snippets => Topic started by: CD-RW on April 21, 2013, 07:07:52 PM

Title: GetCPUVW.exe detect CPU VM extension
Post by: CD-RW on April 21, 2013, 07:07:52 PM
Hello

Sign me after a long time back.
My new little one is a program to detect whether a CPU for a virtual machine is capable.
It checks Intel VT-x and AMD vmx CPU.

Exitcode:
0 = VM not detected
1 = VM is available

This is the first version.
Improvements are welcome.

Test:
Code: [Select]

[Process]
ShellExecute,hide,c:\getcpuvm.exe
message,%exitcode%

download:

http://www.kare-net.de/downloads/GetCPUVM.exe

Kare
--
Title: Re: GetCPUVW.exe detect CPU VM extension
Post by: Galapo on April 22, 2013, 02:09:23 AM
Hi Kare,

Thanks for the new tool! :great:

A suggestion for improvement. Could you get it to write to the console window when run from the commandline? So it would output, say, "VM not detected" or "VM is available".

Regards,
Galapo.
Title: Re: GetCPUVW.exe detect CPU VM extension
Post by: CD-RW on April 22, 2013, 03:41:12 AM
Hi Galapo

Done, new Version 1.0.0.0 is online.

Kare
--
Title: Re: GetCPUVW.exe detect CPU VM extension
Post by: Galapo on April 22, 2013, 03:45:59 AM
Very good! Thanks Kare. :smile:

Regards,
Galapo.
Title: Re: GetCPUVW.exe detect CPU VM extension
Post by: Lancelot on April 22, 2013, 06:58:42 AM
Thanks Kare,

works nicely  :thumbsup:
Code: [Select]
GetCPUVM.exe
Echo %ErrorLevel%
Pause