From fac1d721ae1da810125bcf47f10798076ed26539 Mon Sep 17 00:00:00 2001 From: adminbruno Date: Fri, 30 Aug 2024 11:15:44 -0400 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a5ee258..5f8ff3e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,35 @@ # windows-recovery-partition -Comment modifier ou recréer la partition de récupération de Windows. \ No newline at end of file +Comment modifier ou recréer la partition de récupération de Windows. + + Basically, here are the steps: + + Disable the existing Windows Recovery Partition by running reagentc /disable + + Use diskpart to remove the recovery partition + + list disk + + select disk # where # is the disk needing the recovery partition removed + + list partition + + select partition # where # is the recovery partition + + delete partition override to force deletion of the recovery partition + + Expand the disk using Disk Management, leaving ~1024 MB at the end of the drive for recreating the recovery partition + + Create New Simple Volume for Recovery, NTFS, no drive letter + + use diskpart to set the recovery partition attributes + + list partition + + select partition # where # is the new recovery partition + + For GPT disks run set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac & gpt attributes=0x8000000000000001 + + For MBR disks, run set id=27 + + Re-enable the recovery partition by running reagentc /enable