Tag Archive for: ‘uefi’
Detect BIOS or UEFI / EFI from Windows PE

To detect whether you’re computer is running with a BIOS or UEFI, type the following command:

reg query HKLM\System\CurrentControlSet\Control /v PEFirmwareType 

The following results codes are available:

  • 0x1 = BIOS
  • 0x2 = (U)EFI

Depending on the BIOS or EFI the hard disk partitioning will use MBR (with BIOS) or GPT (with UEFI) when installing Windows 7 /8.

More information about the difference between GPT and MBR can be found on the Wiki pages:

GPT = GUID Partition Table (
MBR = Master Boot Record (

VMware Workstation  and UEFI

Virtual UEFI firmware can be enabled on VMware Workstation 8.x or 9.x, but it is not officially supported.

To do so add the following line to your .vmx file of the virtual machine.

firmware = "efi"

Next time you start the Virtual Machine you will see this screen:

Instead of the BIOS screen of VMware. Starting installing Windows 8 in UEFI mode is now possible. Unfortunately it is not possible to enable Secure Boot in VMware yet.

Changing from BIOS to UEFI also changes the hardware of the Virtual Machine. Normally a VM identifies it as VMware Virtual Platform, with UEFI this is changed to ‘VMware 7.1’ (in my case). So be care full with this.