Virtualization: The Microsoft Hardware-Assisted Virtualization Detection Tool

So you want to run a quick check to see if your hardware has the best requirements to be used for Virtualization?

The Hardware-assisted virtualization (HAV) detection tool checks if the computer processor supports HAV and if this setting is enabled.

Supported Operating Systems

The HAV detection tool ONLY supports the following operating systems and editions/versions:

Windows Vista Service Pack 1, 2 (Home Basic, Home Premium, Business, Enterprise, Ultimate)

Windows XP Service Pack 3 (Professional), Windows XP Service Pack 2 (Professional)

Windows 7 (Home Basic, Home Premium, Professional, Enterprise, Ultimate).

Collecting Data

With your *explicit approval*, system configuration data collected by the HAV detection tool will be sent to Microsoft.

If you choose ‘Yes, I would like to send data to Microsoft’ in any of the screens above, data will be sent to Microsoft. You can find the Privacy Statement for the HAV detection tool here: http://go.microsoft.com/fwlink/?LinkId=164031

Command line options

Copy havdetectiontool.exe to a local folder (say c:\HAVTool)
From an elevated command prompt, run the following command to extract the files:
c:\havtool\havdetectiontool.exe /x

This displays a prompt to choose the directory for the extracting the files.

Choose to extract the files to c:\HAVTool
Help Options:
To display the errorlevels returned by this tool, run one of the following commands from an elevated command prompt based on your OS architecture (from the extracted folder as described above):

c:\HAVTool\sources\i386\havtool.exe?

or

c:\HAVTool\sources\amd64\havtool.exe /?

Quiet Mode:

Create a script which executes the tool in quite mode – a snippet is shown below:

64 bit:

….

set errorlevel=

C:\HAVTool\sources\amd64\havtool.exe /q

echo %ERRORLEVEL%

….

32 bit:

….

set errorlevel=

C:\HAVTool\sources\i386\havtool.exe /q

echo %ERRORLEVEL%

….

Related Resources

Windows Virtual PC

Configure BIOS

Microsoft Hardware-Assisted Virtualization Detection Tool Privacy statement

Jeff Loucks
Available Technology
Available Technology
  Subscribe in a reader

2 thoughts on “Virtualization: The Microsoft Hardware-Assisted Virtualization Detection Tool”

  1. Once again, MS fails to understand their own product. Both Windows 7 XP Mode and Hyper-V require: 1) VT-capable CPU and the BIOS support for it, and 2) hardware DEP (Data Execution Prevention) and the BIOS support for it. Without BOTH of these, hardware virtualization will not work. I have tested this on an Intel DG45FC motherboard, which has both. I turned off first one and then the other, and the previously functioning XP Mode installation ceased to function. I have also tested a Compal notebook (IFL91), which has #1 but not #2. That platform passes the MS test, but fails the GRC test (see http://www.grc.com/securable.htm for a tool that actually works), and will not support HW virtualization under Win7 or Hyper-V.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>