{"id":1058,"date":"2016-07-24T01:04:00","date_gmt":"2016-07-23T23:04:00","guid":{"rendered":"http:\/\/borncity.com\/win\/?p=1058"},"modified":"2021-06-17T23:02:54","modified_gmt":"2021-06-17T21:02:54","slug":"bugs-in-windows-disk-management-tool","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2016\/07\/24\/bugs-in-windows-disk-management-tool\/","title":{"rendered":"Bugs in Windows Disk Management tool"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" style=\"float: left; margin: 0px 10px 0px 0px; display: inline\" src=\"http:\/\/www.borncity.com\/blog\/wp-content\/uploads\/2013\/03\/winb.jpg\" width=\"58\" align=\"left\" height=\"58\">For partitioning of MBR and GPT disks, Windows provides a Disk Management tool and the command line tool <em>diskpart<\/em>. While the Disk Management tool is easy to handle, it comes with a few bugs, that can cause serious trouble. Here are issues I came across during the years.<\/p>\n<p><!--more--><\/p>\n<h3>Wrong results shown for GPT disks<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/ssl-vg03.met.vgwort.de\/na\/026ef401ad284e4f9e4716591a8517b4\" width=\"1\" height=\"1\">Inspecting a gpt partitioned disks (default on UEFI systems) using Windows disk manager won't give you appropriate results. Here is a screenshot I've obtained from one of my systems. <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/web.archive.org\/web\/20200516234634\/http:\/\/k60.imgup.net\/ComputerMa906c.jpg\">  <\/p>\n<p>Have a look at the upper right corner. The columns <em>Free Space <\/em>and <em>% Free <\/em>reports wrong<em> <\/em>values on several partitions<em>. <\/em>The <em>Recovery Partition<\/em>, the <em>EFI System Partition, <\/em>the <em>OEM Partition <\/em>and also the <em>Recovery Partition <\/em>are reported as 100 % free \u2013 which isn't the case. So Windows Disk Management is pretty useless to check, if the <em>Recovery Partition <\/em>on UEFI systems is filled. This is required, if Windows 10 installing reports \"We couldn't update system reserved partition\" (see <a href=\"https:\/\/support.microsoft.com\/de-de\/kb\/3086249\" target=\"_blank\" rel=\"noopener noreferrer\">KB3086249<\/a>).  <\/p>\n<h3>Partitioning scheme on MBR disks may be reported wrong<\/h3>\n<p>Recently I stumbled upon another case, where Windows Disk Management may cause serious trouble, if a user misinterpret a partitioning scheme, reported for MBR disks. The case has been mentioned within <a href=\"https:\/\/web.archive.org\/web\/20200811193907\/https:\/\/administrator.de\/wissen\/windows-datentr%C3%A4gerverwaltung-buggy-windows-vista-10-305799.html\">this (German) forum.<\/a> The disk layout reported from Windows Disk Management for a extended partition containing a Linux partition was presse wrong. The Windows command line tool <em>diskpart <\/em>reports the following (correct) disk partition structure. <\/p>\n<pre>DISKPART&gt;  list part \n \n  Partition ###   Type              Size    Offset \n  -------------  ----------------  -------  ------- \n  Partition 1    Primary              40 GB  1024 KB \n  Partition 2    Primary             40 GB    40 GB \n  Partition 3    Primary              40 GB    80 GB \n  Partition 0    Extended          113 GB   120 GB \n  Partition 4    Logical             40 GB   120 GB \n  Partition 5    Logical             40 GB   160 GB \n  Partition 6    Logical             29 GB   200 GB \n  Partition 7    Logical           4095 MB   229 GB<\/pre>\n<p>Take note of extended partition 0. This partition should contain all logical drives listed above via <em>diskpart<\/em>. Below is the partition structure shown in Windows Disk Management (unfortunately only in German). <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/web.archive.org\/web\/20200517064533\/https:\/\/o43.imgup.net\/Datentraegdb8d.jpg\"> <\/p>\n<p>The MBR base disk contains 3 primary partitions, so a fourth primary partition or secondary partition (extended partition) is left (MBR may contain only four partitions). An extended partition may contain several logical volumes. Windows Disk Management reports the two partitions for Windows 10 and for data as an extended partition (the green frame). The Linux partitions 5 and 6 are shown as primary partitions \u2013 so the MBR disk seem to contain 6 primary partitions (which is impossible). Changing the partition structure bears the risk that the disk will be left in a corrupted state or the Linux installation will be non bootable anymore. <\/p>\n<h3>The MBR dynamic disk trap<\/h3>\n<p>There is another trap where non experienced users may landing during re-partitioning a MBR disk. As mentioned above, a MBR disk may contain only four partitions at all. Here is a screenshot from a disk structure shown in (German) Windows Disk Management.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/web.archive.org\/web\/20200517104744\/https:\/\/d85.imgup.net\/Disk0117c8.jpg\" width=\"626\" height=\"447\"> <\/p>\n<p>It's a typical structure of a OEM disk. If a users decides, to split the partition containing logical drive C: to separate data from the Windows install disk, it's not possible (no free partition left). <\/p>\n<p>But Windows Disk Management allows to shrink an existing primary partition, to create free unallocated space on the disk. Then the unallocated free disk space may be right clicked, and the user can choose the context menu command <em>Create new simple volume<\/em>. <\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/web.archive.org\/web\/20200517172424\/https:\/\/r35.imgup.net\/Disk027cc0.jpg\"> <\/p>\n<p>A wizard will guide the user trough the steps to create the new partition. Windows Disk Management will create a dynamic disk that is shown in the screenshot below. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/web.archive.org\/web\/20200517173654\/https:\/\/b60.imgup.net\/Disk089083.jpg\" width=\"626\" height=\"447\"> <\/p>\n<p>Although Windows will boot from a dynamic disk, this partition structure may cause serious trouble using third party disk tools, installing multi boot environments or accessing the dynamic disk. So my recommendation is to use either diskpart or a third party partition tool to alter disk partition structures. <\/p>\n<p><strong><strong>Similar articles<br \/><\/strong><\/strong><a href=\"https:\/\/borncity.com\/win\/2016\/07\/18\/windows-10-upgrade-disk-controller-current-active-partition-is-compressed\/\">Windows 10-Upgrade: \"Disk Controller: Current Active partition is compressed\"<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2015\/09\/24\/easeus-partitionmaster-10-8-with-gpt-bug-fix\/\">EaseUS Partition Master 10.8 with GPT bug fix<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2015\/08\/08\/is-easeus-partition-manager-a-windows10-upgrade-killer\/\">Is EaseUS Partition Master 10.5 a Windows10 upgrade killer?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For partitioning of MBR and GPT disks, Windows provides a Disk Management tool and the command line tool diskpart. While the Disk Management tool is easy to handle, it comes with a few bugs, that can cause serious trouble. Here &hellip; <a href=\"https:\/\/borncity.com\/win\/2016\/07\/24\/bugs-in-windows-disk-management-tool\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[308,307,148,194],"class_list":["post-1058","post","type-post","status-publish","format-standard","hentry","category-windows","tag-bugs","tag-disk-management","tag-disk-partitioning","tag-windows"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/1058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/comments?post=1058"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/1058\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=1058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=1058"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=1058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}