From 7e6678c4a87c81686993d40b045d3fef7455de11 Mon Sep 17 00:00:00 2001 From: adminbruno Date: Wed, 20 Mar 2024 09:43:54 -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 | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/README.md b/README.md index c2310e5..d3e5d82 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,42 @@ # win10-recovery-partition +## Commandes + + +``` +diskpart + +select disk 0 + +list part + +rem Select main partition or partition which to shrink by 1GB +select part <#> +shrink desired=1024 + +create part primary +list part + +rem Select new recovery part just made +sel part <#> + +rem MBR ONLY +set id=27 + +REM GPT ONLY +set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac" +gpt attributes=0x8000000000000001 + +``` + +The Recovery volume/partition should be hidden and labeled as "Recovery" with no drive letter assigned now + +## Then... + +- copy WinRE.wim and the uninitialized ReAgent.xml files from the installation Media to C:\Windows\System32\Recovery + +- Mount the Installation ISO / Plug-in ThumbDrive. If already mounted, Under Sources folder, Use 7-zip to open either install.esd or install.wim then navigate to \Windows\system32\Recovery then copy both files. +- NOTE: the install.esd or install.wim might contain multiple editions of Windows, just use any index. Also Recovery folder is hidden, you'd need to set the option to show hidden. +- From Admin command, run reagentc /enable. This will move WinRe.wim to the Recovery partition and set the GUID and location in ReAgent.xml + +