Windows Server 2022 Uefi Installation Error Fix [Solved]

Immediate Fix (Method 1): Convert Disk to GPT via Diskpart

Most UEFI installation errors occur because Windows Server 2022 requires a GPT (GUID Partition Table) when booting in UEFI mode. If your drive is currently MBR, the installer will block the process.

To resolve this instantly, press Shift + F10 on the installation screen to open the Command Prompt. Enter the following commands to wipe and convert your target drive:

diskpart
list disk
select disk 0
clean
convert gpt
exit

Note: The “clean” command will erase all data on the selected disk. Once finished, close the terminal and refresh the partition list to continue the installation.

Technical Explanation: Why UEFI Requires GPT

Modern Windows Server versions prioritize UEFI (Unified Extensible Firmware Interface) over the aging Legacy BIOS. This shift is primarily due to enhanced security features like Secure Boot and support for partitions larger than 2TB.

A mismatch happens when the installation media boots in UEFI mode, but the target hard drive is initialized with an MBR (Master Boot Record) partition table. UEFI cannot boot from an MBR drive, triggering the installation halt.

Windows Server 2022 UEFI installation error fix using Diskpart command prompt on a server screen.

Alternative Methods

Method 2: Disable Secure Boot in BIOS

If the GPT conversion does not solve the issue, the error may be caused by a Secure Boot signature conflict. This is common in virtualized environments like VMware or older physical hardware.

Setting Name Required Status
Boot Mode UEFI (Non-CSM)
Secure Boot Disabled (Temporary)
TPM 2.0 Enabled

Method 3: Rebuild Bootable Media for GPT

If your USB installer was created using a Legacy MBR tool, it may fail to trigger the UEFI environment correctly. Use a tool like Rufus to recreate your installation media.

Ensure you select “GPT” as the partition scheme and “UEFI (non CSM)” as the target system. This ensures the Windows Server 2022 ISO is mounted with the correct bootloader for modern server hardware.