Introduction
In Windows 10, the recovery partition is an essential component that helps you restore your system to its previous state in case of system failures or corrupted files. However, sometimes the recovery partition may not be marked correctly in Disk Management, causing various issues. In this article, we will discuss how to change partition attributes using DISKPART to resolve recovery partition issues in Windows 10.
Prerequisites
Before proceeding with the steps, ensure the following:
- You have a backup of your important data.
- You have administrative privileges on your Windows 10 system.
Steps to Change Partition Attributes using DISKPART
Follow the steps below to change partition attributes using DISKPART:
-
Step 1: Open Command Prompt as Administrator
Press
Win + Xkeys and selectCommand Prompt (Admin)orPowerShell (Admin)from the menu. -
Step 2: Identify the Recovery Partition
Run the following command to list all the partitions:
diskpartPress
Enterand then type:list diskIdentify the disk number where your Windows 10 installation is located.
-
Step 3: Select the Recovery Partition
Run the following command:
select disk [Disk_Number]Replace [Disk_Number] with the number of the disk where your Windows 10 installation is located.
-
Step 4: Identify the Recovery Partition
Run the following command:
list partitionIdentify the number of the recovery partition. It usually has a size of around 500 MB and is marked as "Healthy (Hidden, System, Partition)" or "Healthy (Hidden, Recovery)."
-
Step 5: Change the Recovery Partition Attributes
Run the following command:
select partition [Partition_Number]Replace [Partition_Number] with the number of the recovery partition.
Run the following command:
attributes disk clear hiddenPress
Enterand then:attributes partition set hidden true -
Step 6: Verify the Changes
Run the following command:
list partitionCheck if the recovery partition is now marked as "Healthy (Recovery)" or "Healthy (Hidden, Recovery)."
Conclusion
By following the steps above, you can change the partition attributes of the recovery partition using DISKPART to resolve any issues with the recovery partition in Windows 10. If you encounter any difficulties, feel free to leave a comment below.