{"id":24037,"date":"2021-05-13T12:39:44","date_gmt":"2021-05-13T07:09:44","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=24037"},"modified":"2021-05-20T00:25:55","modified_gmt":"2021-05-19T18:55:55","slug":"delete-volume-greyed-usb-diskmgmt","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/delete-volume-greyed-usb-diskmgmt\/","title":{"rendered":"&#8220;Delete Volume&#8221; Grayed Out for USB Drives in Disk Management"},"content":{"rendered":"<p>In the Disk Management console, the &#8220;Delete Volume&#8221; option may be dimmed out in the right-click menu for USB flash drives. So, users may be wondering how to remove one or more partitions in the external USB drives.<\/p>\n<h2>Cause<\/h2>\n<p>The &#8220;Delete Volume&#8221; option may be missing if the page file (<code>pagefile.sys<\/code>) exists in the partition, or the disk contains an Operating System.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24038\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/delete-volume-greyed-out.png\" alt=\"delete volume grayed out for usb drives\" width=\"750\" height=\"347\" \/><\/p>\n<p>If you look at the image above, you can see that a Page File exists in the D: drive &#8212; denoted by the line <code>Healthy (Page File)<\/code>. Hence the Delete Volume option is grayed out.<\/p>\n<p>This article explains how to delete the volume on a USB drive if the option is missing in Disk Management.<!--more--><\/p>\n<h2>&#8220;Delete Volume&#8221; Disabled for USB Drives in Disk Management<\/h2>\n<h3>1) Disable paging file on the USB drive<\/h3>\n<p>Windows allows users to set a page file on external USB hard drives, but not for USB thumb (or flash) drives. To be able to delete a USB drive partition, the first step is to <a href=\"https:\/\/www.winhelponline.com\/blog\/you-cannot-shrink-volume-beyond-point-disk-mgmt\/\">disable the paging file<\/a> on that drive. To do so, follow these steps:<\/p>\n<ol>\n<li>Right-click Start, click Run.<\/li>\n<li>Type <code>sysdm.cpl<\/code> and click OK.<\/li>\n<li>Click Advanced<\/li>\n<li>Under Performance, click Settings<\/li>\n<li>Select the Advanced tab, and click Change<\/li>\n<li>Uncheck &#8220;Automatically manage paging file size for all drives&#8221; if it&#8217;s checked.<\/li>\n<li>Select the USB drive from the list (i.e., the drive from which you want to delete a partition)<\/li>\n<li>Select &#8220;No paging file,&#8221; and click Set<\/li>\n<li>Enable &#8220;Automatically manage paging file size for all drives.&#8221;.\n<figure id=\"attachment_24039\" aria-describedby=\"caption-attachment-24039\" style=\"width: 386px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-24039 size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/delete-volume-greyed-out-pagefile.png\" alt=\"delete volume grayed out for usb drives - pagefile\" width=\"396\" height=\"523\" \/><figcaption id=\"caption-attachment-24039\" class=\"wp-caption-text\">Example: Disabling paging file on external USB hard disk<\/figcaption><\/figure>\n<p><em>(USB flash drives are not listed in the above dialog. External USB hard disks would show up, though. The above dialog shown only for illustration purposes.)<\/em><\/li>\n<li>Click OK. You&#8217;ll see the message: &#8220;<em>The changes you have made require you to restart your computer before they can take effect.<\/em>&#8220;<\/li>\n<li>Click OK, OK, to close all the dialog boxes.<\/li>\n<li>Restart Windows.<\/li>\n<\/ol>\n<p>See if you&#8217;re able to delete a partition from your USB drive via Disk Management.<\/p>\n<hr \/>\n<h3>2) Delete Partitions on a USB drive using DiskPart<\/h3>\n<p>If you&#8217;re still unable to delete the USB drive partition using Disk Management, then you may try the DiskPart command-line tool to accomplish the task.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-18386\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/09\/warning.png\" alt=\"warning caution icon\" width=\"48\" height=\"48\" \/>Warning:<\/strong> DiskPart is only for advanced users. It should be used only if you&#8217;re a person who knows what you&#8217;re doing. If you&#8217;re not confident running diskpart.exe, be sure to have proper drive image backup(s) in place before proceeding.<\/p>\n<p><em>In this example, we&#8217;ll see how to delete one or all partitions on a USB flash drive using DiskPart.<\/em><\/p>\n<h4>Deleting a single partition<\/h4>\n<ol>\n<li>Open an <a href=\"https:\/\/www.winhelponline.com\/blog\/open-elevated-command-prompt-windows\/\">admin Command Prompt<\/a> window.<\/li>\n<li>Type <code><strong>diskpart<\/strong><\/code> and press <kbd>Enter<\/kbd>.<\/li>\n<li>Type <code><strong>list disk<\/strong><\/code>. This shows the list of physical disks on the computer.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24044\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/usb-diskpart-partition-delete-3.png\" alt=\"delete volume grayed out for usb drives - diskpart\" width=\"651\" height=\"576\" \/><\/li>\n<li>Identify the disk # for the subject USB drive &#8212; in this case, it&#8217;s Disk 2.\n<div class=\"qt\">\n<p><strong>Caution:<\/strong> It&#8217;s extremely important that you select the right drive. <strong>Selecting the wrong disk can be disastrous!<\/strong> You may want to cross-verify the Disk # and Size via the Disk Management console.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24043\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/usb-diskpart-partition-delete.png\" alt=\"delete volume grayed out for usb drives - diskpart\" width=\"650\" height=\"215\" \/><\/p>\n<\/div>\n<\/li>\n<li>Type <code><strong>select disk 2<\/strong><\/code> (in this example, the USB drive is <code>Disk 2<\/code>) and press <kbd>Enter<\/kbd>.<\/li>\n<li>Type <code><strong>list partition<\/strong><\/code> and press <kbd>Enter<\/kbd>.<\/li>\n<li>Let&#8217;s say you want to remove the 2nd partition in that disk, type <code><strong>select partition 2<\/strong><\/code>, and press <kbd>Enter<\/kbd>.<\/li>\n<li>Type <code><strong>delete partition<\/strong><\/code> and press <kbd>Enter<\/kbd>.<\/li>\n<li>Type <code><strong>exit<\/strong><\/code> to quit the DiskPart environment.<\/li>\n<\/ol>\n<p>If you open the Disk Management console now, the deleted partition space will show up as Unallocated.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24045\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/usb-diskpart-partition-delete-2.png\" alt=\"delete volume grayed out for usb drives - diskpart\" width=\"650\" height=\"210\" \/><br \/>\n<em>You may create one or more partitions from that unallocated space. Or, you can merge the entire free space with the other partition on the same disk.<\/em><\/p>\n<h4>Deleting all partitions<\/h4>\n<p>If you want to delete all the partitions using DiskPart, you need to use a different command. Follow these steps:<\/p>\n<ol>\n<li>Open an admin Command Prompt window.<\/li>\n<li>Type <code><strong>diskpart<\/strong><\/code> and press <kbd>Enter<\/kbd>.<\/li>\n<li>Type <code><strong>list disk<\/strong><\/code>. This shows the list of physical disks on the computer.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24042\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/usb-diskpart-partition-clean.png\" alt=\"delete volume grayed out for usb drives - diskpart\" width=\"650\" height=\"302\" \/><\/li>\n<li>Identify the disk # for the subject USB drive &#8212; in this case, it&#8217;s <code>Disk 2<\/code>.\n<div class=\"qt\">\n<p><strong>Caution:<\/strong> It&#8217;s extremely important that you select the right drive. <strong>Selecting the wrong disk can be disastrous<\/strong>! You may want to cross-verify the Disk # and size via the Disk Management console.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24043\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/usb-diskpart-partition-delete.png\" alt=\"delete volume grayed out for usb drives - diskpart\" width=\"650\" height=\"215\" \/><\/p>\n<\/div>\n<\/li>\n<li>Type <code><strong>select disk 2<\/strong><\/code> (in this example, the USB drive is Disk 2) and press <kbd>Enter<\/kbd>.<\/li>\n<li>Type <code><strong>clean<\/strong><\/code> and press <kbd>Enter<\/kbd>. This command deletes all the partitions in the chosen disk #.\n<div class=\"qt\">\n<h4>Optional Steps: Create a partition using DiskPart<\/h4>\n<p>You can create a new partition from that unallocated space, format it into NTFS or FAT32 as desired, and let Disk Management assign the next available drive letter automatically.<\/p>\n<p><strong>Optionally<\/strong>, if you want to create a partition using Disk Part (instead of Disk Management console), you can run these additional commands (4, 5, &amp; 6) while you&#8217;re at the DiskPart command environment.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24040\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/usb-diskpart-partition-create.png\" alt=\"delete volume grayed out for usb drives - diskpart\" width=\"651\" height=\"516\" \/><\/p>\n<p>The commands 4-6 will create a single partition, utilizing the entire free space on the disk, format it into NTFS (Quick), and assign the next available drive letter.<\/p>\n<pre>list disk\r\nselect disk 2\r\nclean\r\n<strong>create partition primary\r\nformat fs=NTFS QUICK\r\nassign\r\nexit<\/strong><\/pre>\n<\/div>\n<\/li>\n<li>Type <code><strong>exit<\/strong><\/code> to quit the DiskPart environment.<\/li>\n<\/ol>\n<p>If you haven&#8217;t created a partition already (using DiskPart) or formatted the drive and assigned a drive letter, the entire space in that disk will show up as Unallocated.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24041\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/usb-diskpart-partition-clean-2.png\" alt=\"delete volume grayed out for usb drives - diskpart\" width=\"650\" height=\"213\" \/><\/p>\n<p>Using Disk Management, you can create a partition and assign a drive letter as required.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Disk Management console, the &#8220;Delete Volume&#8221; option may be dimmed out in the right-click menu for USB flash drives. So, users may be wondering how to remove one or more partitions in the external USB drives. Cause The &#8220;Delete Volume&#8221; option may be missing if the page file (pagefile.sys) exists in the partition, &#8230; <a title=\"&#8220;Delete Volume&#8221; Grayed Out for USB Drives in Disk Management\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/delete-volume-greyed-usb-diskmgmt\/\" aria-label=\"Read more about &#8220;Delete Volume&#8221; Grayed Out for USB Drives in Disk Management\">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_memberships_contains_paid_content":false,"footnotes":""},"categories":[7],"tags":[106,865],"class_list":["post-24037","post","type-post","status-publish","format-standard","hentry","category-windows","tag-command-prompt","tag-diskpart"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":6438,"url":"https:\/\/www.winhelponline.com\/blog\/media-creation-tool-0x80004005-0xa001a-error-usb\/","url_meta":{"origin":24037,"position":0},"title":"[Fix] Media Creation Tool Error 0x80004005 &#8211; 0xA001A","author":"Ramesh","date":"August 7, 2018","format":false,"excerpt":"When you use the Media Creation Tool to create a bootable USB Windows 10 setup disk, error 0x80004005 - 0xA001A\u00a0occurs during the process. Precisely, the error happens after the ISO download is complete, and during the 'creating media' stage when it nears 50%.\u00a0 Here is the full error message: There\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"media creation tool error 0x80004005 - 0xA001A","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/08\/mct-error-0x80004005-0xA001A.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/08\/mct-error-0x80004005-0xA001A.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/08\/mct-error-0x80004005-0xA001A.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":60202,"url":"https:\/\/www.winhelponline.com\/blog\/extend-volume-grayed-out-disk-management\/","url_meta":{"origin":24037,"position":1},"title":"Why is &#8220;Extend Volume&#8221; Grayed out in Disk Management","author":"Ramesh","date":"August 9, 2023","format":false,"excerpt":"When you try to extend a volume in Disk Management, the Extend Volume option may be grayed out even though there is unallocated space on the disk. \u00a0 \u00a0 Cause In screenshot 1 above, the Extend option is grayed out because a partition (i.e., Recovery) appears between C: and the\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"extend volume grayed out - logical free space","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/08\/extended-logical-freespace.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/08\/extended-logical-freespace.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/08\/extended-logical-freespace.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/08\/extended-logical-freespace.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":9086,"url":"https:\/\/www.winhelponline.com\/blog\/what-is-system-volume-information-can-i-delete\/","url_meta":{"origin":24037,"position":2},"title":"What is System Volume Information and Can I Delete the Folder","author":"Ramesh","date":"May 7, 2019","format":false,"excerpt":"The System Volume Information folder is a hidden and protected folder located at the root of every drive or partition. It's even found on your SD card, USB pen drive, and external hard disk if you have connected them to your Windows computer earlier. It's is not a virus or\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"what is system volume information folder, and can i delete it","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/svi-folder-system-drive-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/svi-folder-system-drive-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/svi-folder-system-drive-2.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/svi-folder-system-drive-2.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":10117,"url":"https:\/\/www.winhelponline.com\/blog\/windows-auto-assign-same-drive-letter-usb-external-drive\/","url_meta":{"origin":24037,"position":3},"title":"How to Assign the Same Drive Letter for USB Drive in Windows","author":"Ramesh","date":"July 2, 2019","format":false,"excerpt":"When you insert a USB flash drive, external hard disk, or an SD card, Windows allots the first available drive letter. If drives C, D, E are already used, when you insert an external drive, it allocates drive letter F: for the external drive. If you're wondering how to assign\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"assign same drive letter for a external drive - windows","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/usb-drive-info.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/usb-drive-info.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/usb-drive-info.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/usb-drive-info.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":18487,"url":"https:\/\/www.winhelponline.com\/blog\/problem-ejecting-usb-mass-storage-device-currently-in-use\/","url_meta":{"origin":24037,"position":4},"title":"Problem Ejecting USB Mass Storage Device Currently In Use","author":"Ramesh","date":"September 10, 2020","format":false,"excerpt":"USB devices, including external USB hard drives, are meant to be hot-pluggable -- you can plug or unplug them when Windows is running. However, some processes may have a lock on the files in your external hard disk and won't release them that easily. This prevents you from ejecting the\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"problem ejecting usb device","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/09\/usb-drive-eject-6.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":955,"url":"https:\/\/www.winhelponline.com\/blog\/windows-iso-to-usb-dvd-tool-bootable-media\/","url_meta":{"origin":24037,"position":5},"title":"How to Create Bootable USB Disk from ISO","author":"Ramesh","date":"November 3, 2009","format":false,"excerpt":"This article explains the different methods to create a bootable USB Windows Setup disk from a Windows 10 or 11 ISO image. Follow one of the three methods in this article to create a USB Windows Setup Disk from the Windows ISO. Create USB Bootable Windows Setup Disk from ISO:\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"rufus create usb setup disk from windows 10 or 11 iso","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2009\/11\/rufus-iso-to-usb-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/24037","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=24037"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/24037\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=24037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=24037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=24037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}