{"id":74838,"date":"2024-04-17T11:48:23","date_gmt":"2024-04-17T06:18:23","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=74838"},"modified":"2026-05-06T12:29:19","modified_gmt":"2026-05-06T06:59:19","slug":"fix-efi-boot-partition-guid-set-id","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/fix-efi-boot-partition-guid-set-id\/","title":{"rendered":"How to Fix the EFI Boot Partition&#8217;s ID Using DiskPart"},"content":{"rendered":"<p>Each partition type is strictly identified by a GUID number. For example, the data partitions (&#8220;Basic data partition&#8221;) are identified by the GUID <code>ebd0a0a2-b9e5-4433-87c0-68b6b72699c7<\/code>. The EFI partition has the GUID <code>c12a7328-f81f-11d2-ba4b-00a0c93ec93b<\/code>.<\/p>\n<p>However, on some systems, the EFI partition may have an incorrect ID assigned for unknown reasons. As a result, the EFI partition may appear as a &#8220;basic data partition&#8221; when you open Disk Management.<!--more--><\/p>\n<figure id=\"attachment_74841\" aria-describedby=\"caption-attachment-74841\" style=\"width: 740px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-74841 size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/04\/efi-incorrect-id-fix-1.png\" alt=\"fix EFI partition id using diskpart's set id command.\" width=\"750\" height=\"440\" \/><figcaption id=\"caption-attachment-74841\" class=\"wp-caption-text\">The EFI partition shows up as &#8220;Basic Data Partition.&#8221;<\/figcaption><\/figure>\n<p>As you can see, the EFI partition appears as a &#8220;<strong>Basic Data Partition<\/strong>&#8221; whereas it should appear as &#8220;<strong>EFI System Partition<\/strong>&#8220;.<\/p>\n<p>Windows updates and feature updates may fail to install due to the incorrect ID assigned for the EFI partition. Also, the <strong>bcdedit<\/strong> command may fail to run, and the Boot Configuration Data (BCD) may be inaccessible during setup. You may also see the following errors when installing or upgrading to Windows 10 or 11.<\/p>\n<pre class=\"err\">\r\n<strong>This PC doesn't currently meet Windows 11 system requirements.<\/strong>\r\n\r\nWindows can't be installed because this PC has an unsupported disk layout for UEFI firmware.\r\n<\/pre>\n<p>-or-<\/p>\n<pre class=\"err\">Sorry, we're having trouble determining if your PC can run Windows 10. Please close Setup and try again.<\/pre>\n<h2>Cause<\/h2>\n<p>The above happens because the EFI partition&#8217;s GUID is incorrect; it has been assigned the Basic data partition&#8217;s GUID (<code>ebd0a0a2-b9e5-4433-87c0-68b6b72699c7<\/code>)<\/p>\n<p>Fixing the EFI&#8217;s ID using the Diskpart&#8217;s <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows-server\/administration\/windows-commands\/set-id\" rel=\"noopener\" target=\"_blank\">Set ID<\/a> command resolves the issue.<\/p>\n<h2>Resolution<\/h2>\n<p>To fix the EFI partition&#8217;s identifier (GUID), open an <a href=\"https:\/\/www.winhelponline.com\/blog\/open-elevated-command-prompt-windows\/\">admin Command Prompt<\/a> window and run the following commands:<\/p>\n<pre class=\"cmd\">diskpart\r\n\r\nlist vol<\/pre>\n<p>The output shows the list of volumes.\u00a0We must select the EFI partition, which is always a FAT32 partition.<\/p>\n<p><em><strong>Note:<\/strong> If there are multiple EFI partitions listed, especially on systems with multiple hard disks and dual OS installations, be sure to choose the correct EFI partition by using the combination of commands &#8220;select disk #&#8221; and &#8220;list part&#8221;. Or, select the EFI partition from the list that has the description &#8220;<strong>System<\/strong>&#8221; adjacent to it &#8212; i.e., under the &#8220;Info&#8221; column in the output.<\/em><\/p>\n<p>The volume number of the EFI partition <span style=\"text-decoration: underline;\"><strong>in this example<\/strong><\/span> is &#8220;Volume 0&#8221;. In this example, it&#8217;s of size 100 MB.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/04\/diskpart-fix-efi-partition-guid.png\" alt=\"fix EFI partition id using diskpart&#039;s set id command.\" width=\"751\" height=\"592\" class=\"alignnone size-full wp-image-74843\" \/><\/p>\n<p>So, type the following command:<\/p>\n<pre class=\"cmd\">select volume 0<\/pre>\n<p><em>(This selects the EFI partition. You should see the message &#8220;Volume 0 is the selected volume.&#8221;)<\/em><\/p>\n<p>Next, to set the correct ID for the selected volume, type the following command:<\/p>\n<pre class=\"cmd\">set id=c12a7328-f81f-11d2-ba4b-00a0c93ec93b override<\/pre>\n<p>You should see the following output:<\/p>\n<p><em>DiskPart successfully set the partition ID.<\/em><\/p>\n<p>Next, type the following command to fix the gpt attributes for the volume.<\/p>\n<pre class=\"cmd\">gpt attributes=0x8000000000000000<\/pre>\n<p><em>(The attribute 0x8000000000000000 ensures that Windows won&#8217;t assign a drive letter for the partition.)<\/em><\/p>\n<p>Type <strong>Exit<\/strong> to quit the DiskPart environment.<\/p>\n<p>Type <strong>Exit<\/strong> to quit the Command Prompt.<\/p>\n<p>Now, open Disk Management to see if the EFI partition&#8217;s ID has been fixed. It should read &#8220;EFI System Partition&#8221; instead of &#8220;Basic Data Partition.&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-74839\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/04\/efi-incorrect-id-fix-3.png\" alt=\"fix EFI partition id using diskpart's set id command.\" width=\"750\" height=\"440\" \/><\/p>\n<p>We have successfully fixed the EFI partition&#8217;s ID.<\/p>\n<h3>Related articles<\/h3>\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows-server\/administration\/windows-commands\/set-id\" rel=\"noopener\" target=\"_blank\">set id (Diskpart) | Microsoft Learn<\/a><\/p>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/GUID_Partition_Table\" rel=\"noopener\" target=\"_blank\">GUID Partition Table &#8211; Wikipedia<\/a><\/p>\n<p><a href=\"https:\/\/www.winhelponline.com\/blog\/efi-system-partition-appears-in-explorer\/\">EFI System Partition Appears in Explorer<\/a><\/p>\n<p><a href=\"https:\/\/www.winhelponline.com\/blog\/rebuild-efi-partition-bcd-boot-files\/\">How to Rebuild the EFI Boot Partition, BCD and Boot Files<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Each partition type is strictly identified by a GUID number. For example, the data partitions (&#8220;Basic data partition&#8221;) are identified by the GUID ebd0a0a2-b9e5-4433-87c0-68b6b72699c7. The EFI partition has the GUID c12a7328-f81f-11d2-ba4b-00a0c93ec93b. However, on some systems, the EFI partition may have an incorrect ID assigned for unknown reasons. As a result, the EFI partition may appear &#8230; <a title=\"How to Fix the EFI Boot Partition&#8217;s ID Using DiskPart\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/fix-efi-boot-partition-guid-set-id\/\" aria-label=\"Read more about How to Fix the EFI Boot Partition&#8217;s ID Using DiskPart\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[8,869],"tags":[106,965,865],"class_list":["post-74838","post","type-post","status-publish","format-standard","hentry","category-windows-10","category-windows-11","tag-command-prompt","tag-disk-management","tag-diskpart"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":57345,"url":"https:\/\/www.winhelponline.com\/blog\/find-if-disk-is-mbr-or-gpt\/","url_meta":{"origin":74838,"position":0},"title":"How to Find if a Disk Uses MBR or GPT","author":"Ramesh","date":"July 1, 2023","format":false,"excerpt":"Knowing how your disks were set up (MBR vs. GPT) is essential for troubleshooting boot issues and Windows Update errors. Master Boot Record (MBR) disks use the standard BIOS partition table. GUID partition table (GPT) disks use the Unified Extensible Firmware Interface (UEFI). The boot files reside in the System\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"diskpart gpt disk or mbr","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/07\/diskpart-mbr-disk.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/07\/diskpart-mbr-disk.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/07\/diskpart-mbr-disk.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/07\/diskpart-mbr-disk.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":74844,"url":"https:\/\/www.winhelponline.com\/blog\/setup-error-determining-pc-can-run-windows\/","url_meta":{"origin":74838,"position":1},"title":"Sorry, we&#8217;re having trouble determining if your PC can run Windows 11","author":"Ramesh","date":"April 17, 2024","format":false,"excerpt":"When you attempt to install or reinstall Windows 10 or Windows 11 using the Media Creation Tool or ISO, the following error may occur: Sorry, we're having trouble determining if your PC can run Windows 10. Please close Setup and try again. (or) Sorry, we're having trouble determining if your\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"Windows 10\/11 Setup: sorry, we're having trouble determining if your PC can run Windows 11. Please close Setup and try again.","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/04\/trouble-determining-error-setup.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/04\/trouble-determining-error-setup.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/04\/trouble-determining-error-setup.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":61178,"url":"https:\/\/www.winhelponline.com\/blog\/0x80070003-0x20008-error-feature-update\/","url_meta":{"origin":74838,"position":2},"title":"0x80070003 &#8211; 0x20008 &#8211; Windows 10\/11 Feature Update Error","author":"Ramesh","date":"September 4, 2023","format":false,"excerpt":"When you attempt to install a Feature Update, the error code 0x80070003 - 0x20008 may appear. The\u00a0Setupact.log file may show the following contents: Info CONX ConX::Compatibility::CSystemAbstraction::HostIsUEFIFirmware: Host is UEFI. Error CONX ConX::Compatibility::CSystemAbstraction::HostIsUEFIDiskLayout: Failed to retrieve system partition NT path. Error CONX CHostIsUEFICompliantChecker failed. [Failed to check whether host has UEFI\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"efi boot partition - disk management","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/09\/efi-system-partition-diskmgmt.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/09\/efi-system-partition-diskmgmt.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/09\/efi-system-partition-diskmgmt.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/09\/efi-system-partition-diskmgmt.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":32027,"url":"https:\/\/www.winhelponline.com\/blog\/rebuild-efi-partition-bcd-boot-files\/","url_meta":{"origin":74838,"position":3},"title":"How to Rebuild the EFI Boot Partition, BCD and Boot Files","author":"Ramesh","date":"January 17, 2023","format":false,"excerpt":"The EFI boot partition is a FAT32 partition that stores the boot files and the boot configuration data (BCD) to load Windows. Sometimes, the boot partition or the BCD may get corrupted, and the boot files remain unserviceable by the Windows Setup process. In that case, rebuilding the EFI partition\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"EFI partition shows as RAW","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/01\/efi-raw-diskmgmt.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/01\/efi-raw-diskmgmt.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/01\/efi-raw-diskmgmt.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":78024,"url":"https:\/\/www.winhelponline.com\/blog\/resize-efi-system-partition\/","url_meta":{"origin":74838,"position":4},"title":"How to Resize the EFI System Partition in Windows","author":"Ramesh","date":"March 5, 2025","format":false,"excerpt":"Summary: This post explains how to increase the size of the EFI partition to 250 MB without using any paid software. The EFI system partition stores the boot configuration database (BCD) and the boot files needed to boot a UEFI system. By default, the Windows setup creates a 100 MB\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"resize efi partition using aomei free version","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2025\/03\/resize_efi_9-3.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2025\/03\/resize_efi_9-3.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2025\/03\/resize_efi_9-3.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2025\/03\/resize_efi_9-3.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":74860,"url":"https:\/\/www.winhelponline.com\/blog\/create-move-efi-partition-windows\/","url_meta":{"origin":74838,"position":5},"title":"How to Move EFI System Partition to Another Drive in Windows 10 or 11","author":"Ramesh","date":"April 18, 2024","format":false,"excerpt":"The EFI partition is created automatically when you install Windows. However, after adding a second HDD\/SSD and installing Windows on that disk, you may realize that the EFI system partition remains on the old hard disk. You wonder how to move the EFI partition from the old hard drive to\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"EFI boot partition on another disk","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/04\/move-efi-partition-os-drive.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/04\/move-efi-partition-os-drive.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/04\/move-efi-partition-os-drive.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/04\/move-efi-partition-os-drive.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/74838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=74838"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/74838\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=74838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=74838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=74838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}