Partition or Volume - Delete

How to Delete a Partition or Volume in Windows 7 and Windows 8


   Information
This will show you how to delete a partition or volume on a hard disk using Disk Management or Diskpart in Windows 7 and Windows 8 to create empty unallocated space that you can use to create new partitions with.

   Note


  • You will not be able to delete the Windows partition that you are currently logged in to. The only way would be to delete it at boot or during a Windows installation.
  • You also can't delete the system partition, boot partition, or any partition that contains the virtual memory paging file, because Windows needs this information to startup and run properly.
   Warning

  • You must be logged on in an administrator account to be able to do this tutorial.
  • When you delete a partition, all data on the partition is erased.
  • If you disable the Disk Defragmenter service, then you will get the error below when you try to do anything in Disk Management. If you get this error, then make sure that the Disk Defragmenter service is set to only Manual.
Error.jpg




OPTION ONE

To Delete Partition or Volume using Disk Management

1. Press the Windows + R keys to open the Run dialog, type diskmgmt.msc, and Press Enter.

2. In the middle pane, right click on the partition of a disk that you want to delete, and click/tap on Delete Volume. (see screenshot below)
NOTE: If the partition is a logical partition, then you will need to delete the free space again to have it as unallocated space. Delete_Step1.jpg3. Click/tap on Yes to confirm deletion. (see screenshot below) Delete_Step2.jpg
4. The selected partition (step 2) is now deleted and is unallocated space on the disk. If not, then delete the partition again until it displays as unallocated space like below. (see screenshot below)
NOTE: You can now use this unallocated space to create a new partition with, or extend another adjacent partition on that same hard disk into it. Delete_Step3.jpg
5. You can now close Disk Management if you like.


OPTION TWO

To Delete Partition or Volume using Diskpart Command

1. Open an elevated command prompt in Windows 7 or Windows 8, or a command prompt at boot in Windows 7 and Windows 8.

2. In the command prompt, type diskpart and press Enter. (See screenshot below) CMD_Delete_Step1.jpg
3. In the command prompt, type list volume and press Enter. (See screenshot below)
NOTE: This will give you a list of volume numbers to select from to delete. CMD_Delete_Step2.jpg
4. In the command prompt, type select volume # and press Enter. (See screenshot below)
NOTE: You would substitute # for the volume number listed that you want to delete. For example, I want to delete the listed volume 3, so I would type select volume 3 and press Enter. CMD_Delete_Step3.jpg
5. In the command prompt, type delete volume and press Enter. (See screenshot below)
NOTE: If it fails to delete, then use type delete volume override and press enter instead. CMD_Delete_Step4.jpg
6. In the command prompt, type exit and press Enter. (See screenshot below) CMD_Delete_Step5.jpg
7. Close the command prompt.

8. The selected partition (step 4) is now deleted and is unallocated space on the disk.
NOTE: You can use this unallocated space to create a new partition with, or extend another partition on that same hard disk into it.
That's it,
Shawn




 
Last edited:
I today noticed that there is a partition on my hardrive, i have tried to remove the partition using both of the above methods with no luck. when i try through the command prompt it shows an error message.

im stuck for ideas on what to try


Do you want to delete your D: drive or the 400 Mb partition?
 

My Computer

OS
Windows 7 Enterprise x64 SP1
I today noticed that there is a partition on my hardrive, i have tried to remove the partition using both of the above methods with no luck. when i try through the command prompt it shows an error message.

im stuck for ideas on what to try

169266d1312829314-partition-volume-delete-disk.png

Hello Lizzie, and welcome to Seven Forums.

If you are trying to delete your D: partition, then it's not letting you since you have the page file located on it. With the page file on the D: partition, it considers the D: partition as a system partition now. Windows will not let you delete a system partition or drive for the same OS that you are currently started in to prevent you from hosing it.

To be able to delete the D: partition, you will need to move the page file back to your C: partition first.

Could you also provide a screenshot of your Disk Management window showing all of your HDD's layout to see if anything else may prevent you from deleting it as well?

Hope this helps,
Shawn
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
I will move the page file to see if that works. please see below screenshot of my disk management window.
 

Attachments

  • diskmanagement.png
    diskmanagement.png
    37.3 KB · Views: 171

My Computer

OS
windows 7
Yep, it looks like it's only the page file causing it.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Err..something has now gone horribly wrong and I cannot turn my laptop on it comes up with an error message BOOTMGR is missing....oops
 

My Computer

OS
windows 7
The reason why I asked this "Do you want to delete your D: drive or the 400 Mb partition?" is because you said you want to delete the "new found partition" (Volume 2) but in your picture you're actually trying to delete the D: partition (Volume 1).

What did you do EXACTLY? Tell us every step you did.
 

My Computer

OS
Windows 7 Enterprise x64 SP1
Lizzie,

Could you list exactly step by step on what you did and how you moved the page file to see if a mistake may have been made?

Run a startup repair to see if it can fix this for you. You may need to let it run and restart more than once.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Okay, i clicked on computer then properties then advanced system settings, i then clicked on the advanced tab. them clicked on change under virtual memory then i unchecked the Automatically manage paging file size for all drives box. i then put custom settings into my c drive initial size and max size boxes and on the d drive checked no paging file box, then restarted my laptop.

i cannot do anything on my laptop now its just a black screen with the error message on.
 

My Computer

OS
windows 7
Lizzie,

For now, see if running a startup repair may help. You may need to let it run and restart more than once.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Shawn,

i cant start a system repair as when i turn my computer on it loads the toshiba screen then the error message shows and i cannot do anything else.
 

My Computer

OS
windows 7
Shawn,

i cant start a system repair as when i turn my computer on it loads the toshiba screen then the error message shows and i cannot do anything else.

What happens when you start tapping F8 as soon as you turn on or restart the computer?

Do you have your retail Windows 7 installation disk or system repair disc in the DVD drive when you restart the computer?
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Thanks Shawn had been battling this little blighter for a couple of hours - then woke up to myself:o
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Own build (new) Desk1 / Asus ROG Win 7 / Desk2 1st build
OS
Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
CPU
Desk1 i5 3750K / Laptop i7 GTX 860M / Desk2 i5 2500
Motherboard
Desk1 Asus P877-V / Desk2 Gigabyte H67 UD3H / Laptop ?
Memory
Desk1 8GB (1866) / Desk2 16GB (1333) / Laptop 8Gb DDR3
Graphics Card(s)
Desk 1& 2NVidia GTX 650 & Laptops on board Intel
Sound Card
Desk 1 & 2 -XONAR DG Realtek High Def audio Laptop
Monitor(s) Displays
Desk 1 Benq HD 2450 / Desk2 Philips 24" / Laptop 17.5"
Screen Resolution
1920x1080 D1 & D2 & Laptop 1
Hard Drives
Desk1 Samsung 120GB 830 SSD
Asus ROG 256GB 850 Pro SSD
Desk2 Samsung 840 256 SSD
Toshiba 120GB EVO
PSU
Desk 1 Corsair HX 1050/ Laptop ? / Desk 2 Corsair HX 650
Case
Desk 1 Cooler HAF XM ? Toshiba laptop / Desk2 Coolermaster
Cooling
Fans on all Desk1 -2 Desk2 - all Coolermasters 5 Laptop ?
Keyboard
Desk 1 MS Sidewinder X6 Desk 2 MS Sidewinder X 4
Mouse
Desk 1&2 - Gigabyte MS 900 gamer - laptop - Logitec wireless
Internet Speed
ADSL2+
Other Info
One other Desktop (tester) and spare Toshba laptop both with SSD's
Running Kaspersky 2016 ISS on all machines config'd identically
Logitec audio stereo systems on each machine (x3)
Canon MG5250MFC
Router/modem TP-Link running WPA2SK
LOL, I hear you John. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Help deleting the volume

1st what i did is i tried to make a new local disk by shrinking local disk C, then comes a volume, i tried to format it, and it said do u wanna back it up, and i said no, and then it said file not specified,
 

Attachments

  • 1.JPG
    1.JPG
    59 KB · Views: 217

My Computer

OS
Windows 7 Ultimate x64
Hello TheGuy, and welcome to Seven Forums.

The real problem is that you converted your OS disk to Dynamic. This will render Windows unbootable now. You can use the free EaseUS Partition Manager Home Edition to convert your Disk 0 back to Basic. The guide at the link below can help show you how to with this program.

Convert dynamic disks to basic in Windows XP/2000/2003/2008/Vista/Windows 7/Windows 8 without data loss.

Afterwards, see if this tutorial below can help you convert the unallocated 39.06 space to be a logical partition without converting the disk to Dynamic. The program above may work nicely to do so as well.

http://www.sevenforums.com/tutorials/146694-partition-extended-logical-drives.html

Hope this helps,
Shawn
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Shawn i only see DIsk 1 (dynamic disk) theres no disk 0 so should i convert disk 1 to a basic disk????
Also theres a thing that says unformatted *: and when i clicked on it the only option is to copy dynamic volume
 

Attachments

  • Capture.JPG
    Capture.JPG
    66.7 KB · Views: 274

My Computer

OS
Windows 7 Ultimate x64
Yeah, it was only a reference from your first screenshot. :)

You should see Convert to basic disk when you select and right click on the actual smaller Disk 1 Dynamic MBR section at the bottom left, or select C: (disk 1) at the bottom and click on Disk (menu bar). If not, could you post a screenshot of the options you have instead?

convert-dynamic-to-basic-1.gif
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Thx Shawn ive got my unlocated space back :)
 

My Computer

OS
Windows 7 Ultimate x64
That's great news. You're most welcome. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
need help

hey guys i need help
i tried the first way and it says i cant delete it

so i tried the second way and i typed in delete volume and says cannot delete
so i tried the overdrive mode and says cannot delete in the current boot, system, pagefile crashdump or hibernation volume.

please help
 

My Computer

OS
62 bit windows 7 home premium
Back
Top