Hardware and software setup

Disk partition deleted. Disk Management: Delete Partition

In this article, you will learn how to remove a hard drive partition in the Disk Management console or using the built-in DiskPart utility in Windows 7.

Warnings

In order to delete a volume, you must be logged into Windows 7 with an account with administrator rights.

Deleting a partition erases all data stored on it. Archive any data you want to keep before deleting.

It is not possible to remove from under Windows 7 a partition that contains boot or other system files of the same copy of Windows 7, including partitions that contain its swap files. Therefore, if the hard drive contains only one partition, you will only be able to remove it during the Windows setup process.

Before starting the removal, in the settings of the Disk Defragmentation service, set the startup type Manually. If this service is disabled, then when you try to delete a partition, you will receive an error message: The specified service cannot be started because it is disabled or all devices associated with it are disabled.

Method 1: Deleting a partition through Windows 7 Disk Management

1. Open the Start menu, type diskmgmt.msc in the search bar and press ENTER.

2. Right-click the partition you want to remove and select the command.

3. Carefully read the warning that appears:

and press the button Yes to confirm the deletion.

4. Now the selected partition has been removed and an unallocated area has appeared in its place. In Disk Management, it appears as an unallocated partition and is marked in black.

In the resulting unallocated area, you can create a new partition or extend another partition that exists on the same physical hard drive.

Method 2: Removing a hard disk volume using DiskPart (command line)

1. Run the command prompt as an administrator.

2. Type the diskpart command and press ENTER.

This command launches the DiskPart utility built into Windows 7, designed to manage hard drives, their volumes and partitions.

3. Type the command list volume and press the ENTER key.

After that, all existing partitions with the numbers assigned to them will be displayed on the screen.

4. Enter the command select volume X (instead of X number of the section to be deleted) and press ENTER.

With this command, you select a volume for further operations with it.

5. Type the delete volume command and press ENTER.

Attention! After executing this command, the hard disk partition selected in step 4 of this guide will be permanently deleted. This operation cannot be undone. Run this command only after making sure that all the previous steps have been completed correctly.

If the volume is not deleted after the previous command, enter another command: delete volume override and press ENTER.

6. Type exit and press ENTER to exit the DiskPart program. After that, you can close the command prompt window.

Quite often, you can find situations where, for some reason, users of Windows systems have to solve the problem of how to delete a partition. Disk Management (the system's built-in tool) allows you to do this without any problems. You can also use specialized programs. But in any case, this issue must be approached very seriously, after weighing all the pros and cons. Basically, such actions are used to merge partitions when you need to fix some failures in the system, to prepare for a reinstallation of it, or to convert GPT partitions.

How to delete a partition (disk management)?

Windows systems themselves have a built-in tool for working with any type of partition. It's a utility called Disk Management. It is quite simple to delete a partition or perform any other manipulations with its help.

This tool can be accessed in several ways: through RMB on the computer icon, through the "Control Panel" (disk management is invoked through administration), or through the "Run" menu by entering the command diskmgmt.msc.

Here it is enough to select the desired partition and use the volume delete line through the RMB menu. The system will issue a warning that the data in this partition will be destroyed. If you agree, confirm the action, after which the so-called unallocated area will appear, in which you can create a new partition or expand another partition at its expense. But that's another topic.

Disk Management in Windows 10 through the command console

One of the universal tools for such operations is the command line, which uses the DiskPart tool (a tool for managing disk partitioning). The actions here are quite simple, but you should be especially careful when choosing the right sections.

So, disk management in Windows 10 or in any other version of the system through the command console begins by calling it with administrator rights (cmd) and entering the primary one by pressing the enter key after it.

After that, executing the list volume line makes it possible to view all disks and partitions available in the system. Only they will be marked not with letters, but with numbers (the desired section can be determined at least by its size).

Finally, we enter the delete volume command, after which, in fact, the deletion follows. If the selected volume is not deleted for some reason, you can write an extended version of the delete command - delete volume override. Upon completion of all procedures, the exit line is exited, after which the console can be closed and the system rebooted.

The best applications for working with disks and partitions

If for some reason the user does not want or cannot use the tools built into the system, any disk management program used to create logical partitions is suitable as a means of removal.

Among the simplest and most popular utilities are the following:

  • AOMEI Partition Assistant Standard;
  • MiniTool Partition Wizard
  • Acronis Disk Manager;
  • Ease US Partition Master;
  • GParted;
  • [email protected] Partition Manager, etc.

An example of using the program from AOMEI

Consider as an example the first utility presented in the list (although almost all of them work according to the same principles and do not differ in particularly abstruse interfaces).

Here you just need to select the section of interest to the user, and then select the delete line in the menu at the bottom left. Everything seems to be simple. But the advantage of this application is that it immediately offers two options for uninstalling: quick and complete. In the first case, the deletion will be carried out in such a way that after that, if there are appropriate programs for recovering information, anyone can access the files and folders previously stored in the partition.

In the second case, as stated, the information will be completely erased, and it will be impossible to restore it even when using the most advanced software (the sectors in which the information was stored earlier will have zero values). However, for many, the impossibility of data recovery in this case raises legitimate doubts.

Next, select the preferred method and click the "OK" button, after which the pending task will be created. In the top panel, click the "Apply" button, and then after checking the correctness of the data in the confirmation window, click the "Go" button. After that, the selected section will be deleted (the estimated time of the operation is displayed at the bottom of the window).

Finally

That's it for third-party programs, the command line, and the Windows Disk Management tool. Deleting a partition in all three cases is quite simple. The main question is only the advisability of carrying out such actions, because in order to install the system, you will have to create a boot partition, mark it up by formatting, etc. And you should think about the safety of information in advance by copying it to another place or creating a backup copy.

After installing Windows 10, the user may notice a small hidden partition (from 300 to 450 MB). It contains a "Recovery" folder, and in it is a "WindowsRE" directory with a WIM image (Winre.wim), which contains the system recovery tools. The same tools are available on the installation media. Therefore, users are often interested in how to delete the recovery partition on a Windows 10 hard drive by attaching it to the total volume. Let's consider this process in more detail.

Step-by-step instructions for deleting the Windows 10 recovery partition

If you click "Start", "Settings", select the "Update and security" section, and then "Recovery", "Special boot options" and click "Restart now", the system will restart the computer and you will be taken to the operating system settings environment.

In this environment, you can choose to restore the system, roll back to an earlier state, make various settings using the command line.

Despite the usefulness of all these tools, they are on the installation disk or flash drive. Therefore, if you are sure that you will be rolling back Windows 10 and fixing errors using the installation media, you can delete the recovery partition. You can do this in the following way:

  • We create bootable media of the same version and bit depth of Windows 10 that you have installed (if there is no previously created installation flash drive or disk).
  • After we boot from this flash drive. The operating system installation window will appear. Press the key combination "Shift + F10". The command line will appear.

  • Next, in order, we introduce the following tasks.
  1. diskpart;
  2. lis dis (a list of all installed disks will appear);
  3. sel dis 0 (select a drive with Windows 10 installed);
  4. lis par (command for viewing disk partitions).

  1. The following commands remove three hidden partitions in Windows 10:
  • Recovery in 450 MB;
  • 100 MB system partition or (EFI);
  • MSR in 128 MB. This is the partition that is required for GPT partitioning (it is not visible in disk management).
  1. We leave only the partition with the installed operating system. To delete these three partitions, enter the following commands in order:
  • sel par 1 (first section);
  • del par override (remove the first section);
  • sel par 2 (second section);
  • del par override (remove the second section);
  • sel par 3 (third section);
  • del par override (delete the third section).

  1. At the next stage, enter create par efi size=100 to create an encrypted (EFI) system partition of 100 MB.
  2. Next, enter format fs=FAT3 (to format and create a partition in FAT32).
  3. Now we create a partition of 128 MB, entered the create par msr size=128 command.
  4. Click lis vol. A list of disk partitions will appear. We see that the partition with Windows 10 is assigned a drive letter (C:).

IMPORTANT! In your case, it may be a different letter.

  1. Enter exit to exit diskpart.
  2. bcdboot C:\Windows, where C is the letter of the partition where the operating system is installed.
  3. exit.

After performing these operations, you should restart your computer. Now go to Disk Management.

In this tool, we see that the deletion was successful and freed space appeared. It needs to be attached to the local drive C. For this purpose, we use the program AOMEI Partition Assistant Standard Edition.

  • We start the program. Select the disk to which we want to attach free space. Select "Resize/Move" from the menu on the left.

  • We put a mark "I need to move this partition" and drag the slider to the limit to give all the space to drive C.

IMPORTANT! We look for zeros in the "Unallocated space" section.

  • Click "OK" and click "Apply".

  • Next, a window will open. Click "Go".

  • The computer monitor will blink as the program enters a special boot mode. A window will appear. We click "Yes".

  • The system will restart. On a black background, freed space will be attached.

The recovery partition on Windows has been removed and attached to the shared space.

For information on how to delete the recovery partition in Windows 10, see the video:

There are various situations in which it may be necessary to merge disk partitions. For example, you bought a used computer or only a hard drive, and the breakdown does not suit you, or you made partitions on the new computer, the sizes of which you decided to change. You can combine them and re-split. This operation can be done in different ways.

Method 1. You can use Windows tools to merge disk partitions without installing any additional programs. In the "Disk defragmentation" settings, set the method to "Manual", otherwise an attempt to delete the partition will end with an error. Perform a series of actions: "Start" - "Accessories" - "Run", then in the service line, type "diskmgmt.msc" - the name of the disk management service. Press the "Enter" key. In the window that opens, the names of the available disk partitions will be listed. Select the name of the volume to be deleted. For example, out of two partitions of volume C and D, only C should be left - on drive D, right-click, select "Delete volume ...". First copy all the information from the disk partition to be deleted (D) to external media, because now a notification will appear on the screen that the data on the disk will be lost. You have to agree if you want to merge sections. Free disk space will appear, due to which you can increase the volume of another disk. This area of ​​the disk has not yet been partitioned and is highlighted in black in the Disk Management Manager. You can create a new section in it or attach it to an existing section.


On the C drive, right-click, select "Extend volume ..." from the menu. In the next window, you need to specify in the list of partitions the one by which disk C is being enlarged. In our example, it is one, and therefore partition D will be selected by default. The system will display all the information on merging partitions, click the "Finish" button. Disk C will now be one and its size has been increased. All information on drive C remained unchanged.


Method 2: Log in as an administrator. At the command prompt, type "diskpart", press the "Enter" key. A utility built into Windows will launch, which is used to manage local disks and their partitions. Complete each command by pressing the Enter key. Now type "list volume". A list of all volumes with assigned numbers will appear on the screen.


Type the command "select volume X" - instead of "X" indicate the number of the partition to be deleted. You have thus chosen the volume with which further manipulations will be performed. Enter "delete volume". Please note that all data from the specified partition will be irretrievably lost. A completed delete operation cannot be undone.


If for some reason the volume is not deleted after the command entered, try deleting the disk partition using the "delete volume override" command. Exit DiskPart with the "exit" command and close the command prompt window.


Method 3: Delete a hard disk partition using Partition Magic. Download on the Internet, install the specified software. Then restart your computer. Run the program for execution. In the "Quick Launch Menu" set "Mode for advanced users".


Mark the section to be deleted. At the same time, be extremely careful not to accidentally delete the necessary information. In the open window, double-check the name of the partition to be deleted, enter the volume label in the "Please enter a volume label..." field. Click the "Yes" button to confirm the deletion. In the list of partitions, this volume will have the type "Unallocated".

Select "Changes" in the main menu of the program, then "Apply changes" in the next window. Click the "Yes" button to confirm your decision. During partition deletion, the system will reboot several times. Then Partition Magic will automatically launch. The area of ​​the deleted disk partition will be marked in the program window on the "List of partitions" tab - "Not marked", the selected partition has been deleted.


You can delete a disk partition without installing additional programs in Windows 7. You cannot delete a partition with an operating system installed on it or other system files (for example, paging files) in this way. If a version of Windows XP is installed, then you need to use special programs for working with disks.

Hi all! I offer a short story in which I had to solve one small task using the command line, I think it will be useful in your knowledge box.

My friend bought a computer with a solid state drive (120 GB) instead of a hard drive, there simply wasn’t enough money for a simple hard drive (we all know that the prices for components have now risen). Our mutual friend decided to help him out and offered him a not quite old 400 GB SATA II hard drive for storing files. Together they connected the hard drive to the computer, entered Disk Management and saw that there were four partitions on the disk and only one of all four was deleted normally. The fact is that the factory Windows 8.1 with all the service partitions was previously installed on this hard drive. If you click on the first, second and last section with the right mouse, then only "Help" will be offered from all the options.

Without thinking twice, they decided that if you format the disk (D:) in the "Computer" window, then all partitions will be deleted. Entering the "Computer" window, they right-clicked on the drive (D:) and simply formatted it.

Going into disk management again, they saw that all partitions were safe and sound, then they simply deleted the disk (D:). Once again seeing that nothing had happened to the other sections, their patience ran out and they called me.

Friends, hard disk partition managers immediately came to mind for many: and, of course, you can use them, but there is an easier way, the command line!

Run command prompt as administrator.

To manage disk space, enter the diskpart command.

We display a list of all disks with the command list disk , press Enter.

A list of all disks connected to the computer appears. Be careful, you can't go wrong here. By volume, one can guess that Disk 0(111 GB) is the SSD, and Disk 1 (372 GB) is our second hard drive, on which we need to delete all partitions.

Select to delete all partitions Disk 1 (372 GB), enter the command select disk 1. (Caution! In your case, the number in the command may be different).

We enter the clean command and press Enter, all partitions on the second hard drive are completely deleted.

Everything is ready, close the command line.

We enter disk management and see that all partitions on the hard drive have been deleted.

Before creating a single partition, the disk must be initialized. Right click on Disk 1 and select Initialize disk.

If you don't know what is , then select Master Boot Record (MBR) and click OK..

Now let's create a simple volume. Right mouse click on unallocated space and select Create volume.

Liked the article? Share with friends!
Was this article helpful?
Yes
Not
Thanks for your feedback!
Something went wrong and your vote was not counted.
Thanks. Your message has been sent
Did you find an error in the text?
Select it, click Ctrl+Enter and we'll fix it!