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:
If Shawn's suggestion does not work, you can try deleting the partition in Diskpart using the delete partition override command instead of just delete partition.
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s
Thank you for reminding me of that command Jonathan. Note added for it in the tutorial. :)
 

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
You're welcome Shawn. Interestingly enough all my ideas and knowledge comes from reading other people's posts right here!
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s
Deleting Protected Recovery Partition

If Shawn's suggestion does not work, you can try deleting the partition in Diskpart using the delete partition override command instead of just delete partition.
Thank you both Jonathan & Brink, I finally reclaimed the protected hidden recovery partition using Diskpart. :)

I still don't understand why Windows 7 Disk Management was not letting me manage my own disk. :)
 

My Computer

Computer Manufacturer/Model Number
Vaio F Series Notebook VPCF115FM
OS
windows 7 64-bit
CPU
i7-720QM
Memory
6GB
Graphics Card(s)
Nvidia GT 330M 1gb
Screen Resolution
1080p
Hard Drives
Seagate Momentus 500gb
You're welcome Joe. It's just that Disk Management is a limited on what it can do since it's not a full featured 3rd party disk management program. :)
 

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
Helo to all of you... It's my first time here, and thanks for the stuff ... Learned a lot.
But i have a problem....

My Drive C has originally Windows 7 Home Edition OS, but then i tried installing Win7 Ultimate to my Drive D:... My problem now is, i cant uninstall Win7 Ultimate now on y Drive D..... Pls help me figure it out...

I tried manually deleting the Windows folder and the like, but it cant be deleted....

Thanks
 

My Computer

Computer Manufacturer/Model Number
Acer Aspire 5738ZG
OS
Windows 7 Home Edition
Hello Wahbufetz, and welcome to Seven Forums.

Windows will not let you delete the partition that you are currently started up in since it is in use.

You will need to restart the computer and select to startup into the Windows 7 Home Edition when you see the Windows Boot Manager screen. Afterwards, you should be able to delete the partition that Windows 7 Ultimate is on.

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
Windows 7 Home to Ultimate

...My Drive C has originally Windows 7 Home Edition OS, but then i tried installing Win7 Ultimate to my Drive D:... My problem now is, i cant uninstall Win7 Ultimate now on y Drive D...
I upgraded from Home to Ultimate by simply entering the Ultimate key using Start > search type: Anytime Upgrade.

That's it, the ultimate features are hidden but already included in Home. The key simply unlocks it.
 

My Computer

Computer Manufacturer/Model Number
Vaio F Series Notebook VPCF115FM
OS
windows 7 64-bit
CPU
i7-720QM
Memory
6GB
Graphics Card(s)
Nvidia GT 330M 1gb
Screen Resolution
1080p
Hard Drives
Seagate Momentus 500gb
Thanks Brink and Joe Sirs....

Is there any option wherein i will not delete the D: Partition (Ultimate) entirely, but perhaps the windows contents only, leaving my other files on.... Coz i do have important files already on D:...
 

My Computer

Computer Manufacturer/Model Number
Acer Aspire 5738ZG
OS
Windows 7 Home Edition
Wahbufetz,

Sorry, but you will need to backup your files either on the C: drive temporarily or somewhere else first, then delete your D: partition. Afterwards, you can copy the files back to D if you like. :(
 

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 anyways sir...

But then i found the answer somewhere in google, and uhm wanna share in here...

If u wanna delete files without the annoying Security ... the Take Ownership file option must be done... simply make this registry command using notepad and save as "Ownership.reg" with the quotes... Then Run.

Windows Registry Editor Version 5.00


[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"


Just right click the folder and hit Take Ownership... Ur now ready to delete it.

Thanks for the site whom i read this. Sorry i didn't take note of that...
 

My Computer

Computer Manufacturer/Model Number
Acer Aspire 5738ZG
OS
Windows 7 Home Edition
Wahbufetz,

I'm happy to hear that you got it sorted. :)

Yep, that would be close to what we have in our Take Ownership context menu shortcut, but not quite as thorough. ;)

http://www.sevenforums.com/tutorials/1911-take-ownership-shortcut.html

Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\takeownership]
@="Take Ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""
 
[HKEY_CLASSES_ROOT\*\shell\takeownership\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
 
[HKEY_CLASSES_ROOT\exefile\shell\takeownership]
@="Take Ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""
 
[HKEY_CLASSES_ROOT\exefile\shell\takeownership\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
 
[HKEY_CLASSES_ROOT\dllfile\shell\takeownership]
@="Take Ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""
 
[HKEY_CLASSES_ROOT\dllfile\shell\takeownership\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
 
[HKEY_CLASSES_ROOT\Directory\shell\takeownership]
@="Take Ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""
 
[HKEY_CLASSES_ROOT\Directory\shell\takeownership\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
 

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
Thanx Sir Brink... God Bless....
 

My Computer

Computer Manufacturer/Model Number
Acer Aspire 5738ZG
OS
Windows 7 Home Edition
I prefer Gparted for doing any job with my partitions !
 

My Computer

Computer Manufacturer/Model Number
ECS Elite group
OS
Windows 7 + Windows Xp Pro + Ubuntu 10.04 + openSUSE 11.2
CPU
Intel C2D 2.0 GHz
Motherboard
ECS
Memory
2.0 GB
Graphics Card(s)
Intel Chipset 945GCT m2
Sound Card
Realtek
Monitor(s) Displays
Samsung LCD
Screen Resolution
1280*1024
Hard Drives
Samsung Sata - 80gb
Samsung Sata - 500gb
Hitachi - 160 gb
External - WD - 500 gb
Keyboard
Logitech
Mouse
Logitech Mx 518
Internet Speed
2mbps broadband
I prefer Gparted for doing any job with my partitions !
That's okay, but for a quick partition delete, you can't beat the convenience of the built-in partition editor! :thumbsup:
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s
Hi,

I deleted the 2nd partition I had with XP and expanded the normal drive I have with Windows 7 to take back the extra space. It is still having me chose between Windows 7 and XP when I boot up the computer. How do I correct this so I don't have to chose between 7 and an OS that isn't even on my computer anymore?

Thank you,
Dave
 

My Computer

OS
Windows 7

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
Try this one folk...


Open CMD using Run ( Command Prompt)

Then type in

"bcdedit /enum" without the quotes to list up the boot configuration data store

then after it displays the list of boots configs, identify the name to what you're going to delete...

example

vrenwuh35h34534545kkgf

or

Current


type in:
bcdedit /delete [name]

where name is the name value and hit enter




.... That's it. Try rebooting to confirm...


(Bad English... Sorry)
 

My Computer

Computer Manufacturer/Model Number
Acer Aspire 5738ZG
OS
Windows 7 Home Edition
Windows 7 Partition Deleting Problem

Hello Friends,

I found this forum very usefull. I am facing one problem in windows 7, I have 13gb in my C drive where windows 7 is installed but its completly full now i have another partition D: there i have more 13gb its completly free space i tried to go to disk management and then delet the partition D: its showing green label and showing free space but when i am trying to delet it again to make it unallocation but delet partition option is disabled and i cant delet the partition so how i should extend the C:...

I have also tried partition wizard but and tried to merge from there but not sucessfull it says some files are in used in C: please restart retry or cancel the operation i did restart it starts operation before win start but not succesfull also please help
 

My Computer

OS
Windows 7

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s
Back
Top