How to fix missing Recovery Partition on Windows 11

If the Recovery Partition is missing on Windows 11, you have at least two ways to recreate it, and here's how.

Recovery Partition missing
Recovery Partition missing / Image: Mauro Huculak

On Windows 11, you can run the operating system without a Recovery Partition. However, if it’s missing, you can create a new Recovery Partition to regain access to the Windows Recovery Environment (WinRE), and in this guide, I’ll show you how to complete this configuration.

A new clean installation of Windows 11 contains multiple partitions. The EFI (Extensible Firmware Interface) partition is a crucial component of the system’s boot process. The “C:” drive contains the operating system, apps, settings, and files, and the Recovery Partition includes the tools to troubleshoot and resolve system issues.

If the Recovery Partition is missing or you accidentally deleted it, you can recreate it to regain access to the Windows Recovery Environment when going to Settings > System > Recovery, and clicking the “Restart now” button for the “Advanced startup” feature.

You can complete this configuration using the existing “WinRE.wim” file from the “Recovery” folder. However, if the image file is missing from the system folder, you’ll have to extract the “WinRE.wim” file from the “Install.wim” file available through the Windows 11 ISO file.

In this guide, I will explain how to fix the missing Recovery Partition on Windows 11.

Warning: You will be modifying the partitions on your computer, which, if it’s not done correctly, could break the installation. It’s recommended to create a full backup before proceeding.

Fix missing Recovery Partition on Windows 11 using existing WinRE.wim

This set of instructions assumes that a copy of the “winre.wim” file is available on C:\Windows\System32\Recovery while the hidden and protected system files are set to be visible. If the recovery image is missing, you will have to continue with the alternative set of instructions below.

To create the missing Recovery Partition with an existing WinRE.wim file, follow these steps:

  1. Open Settings.

  2. Click on Storage.

  3. Click on Advanced storage settings under the “Storage management” section.

  4. Click on Disks & volumes.

    Open Disks & Volumes settings

  5. Select the Windows 11 volume and click the Properties option.

    Open drive properties

  6. Click the Change size button.

    Quick note: If the drive has some available unallocated space, you don’t have to shrink the Windows 11 installation, and you can skip to step 9.

    Change C partition size

  7. Confirm the “Max” value in the New (MB) setting to indicate the total size of the partition (C:) where Windows 11 is installed, but leave at least 1024MB (1GB) to create a new Recovery Partition. For example, if the maximum size of the partition that can be used is 307082, then subtract 1024, and use that as the new number (306058).

    Windows 11 extend C partition size to use unallocated space

  8. Click the OK button.

  9. Open Start.

  10. Search for Command Prompt, right-click the top result, and choose the Run as administrator option.

  11. Type the following command to launch DiskPart and press Enter:

    diskpart
  12. Type the following command to recreate the missing Recovery Partition and press Enter:

    create partition primary

    Recreate Recovery Partition on Windows 11

  13. Type the following command to format the partition and press Enter:

    format fs=ntfs quick
  14. Type the following command to register the new partition as the Recovery Partition in the system and press Enter:

    set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac override
  15. Type the following command to lock and prevent users from modifying this partition and press Enter:

    gpt attributes=0x8000000000000001
  16. Type the following command to close the DiskPart tool and press Enter:

    exit
  17. Type the following command to enable WinRE and press Enter:

    reagentc /enable
    Quick note: This action will also copy the “Winre.wim” from the “Recovery” folder to the “Recovery Partition.”
  18. Type the following command to confirm the Windows Recovery Environment is working correctly, and press Enter:

    reagentc /info

After you complete the steps, the missing Recovery Partition will be created next to the Windows 11 setup.

Fix missing Recovery Partition on Windows 11 using new WinRE.wim

If the “winre.wim” file is missing from the system’s “Recovery” folder, you can recreate the Recovery Partition using the “winre.wim” file available inside the “install.wim” file from the Windows 11 ISO file.

To create a new Recovery Partition by extracting the winre.wim from the install.wim file, follow these steps:

  1. Open Settings.

  2. Click on Storage.

  3. Click on Advanced storage settings under the “Storage management” section.

  4. Click on Disks & volumes.

    Open Disks & Volumes settings

  5. Select the Windows 11 volume and click the Properties option.

    Open drive properties

  6. Click the Change size button.

    Quick note: If the drive has some available unallocated space, you don’t have to shrink the Windows 11 installation, and you can skip to step 9.

    Change C partition size

  7. Confirm the “Max” value in the New (MB) setting to indicate the total size of the partition (C:) where Windows 11 is installed, but leave at least 1024MB (1GB) to create a new Recovery Partition. For example, if the maximum size of the partition that can be used is 307082, then subtract 1024, and use that as the new number (306058).

    Windows 11 extend C partition size to use unallocated space

  8. Click the OK button.

  9. Open Start.

  10. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

  11. Type the following command to run the DiskPart tool and press Enter:

    diskpart
  12. (Option 1) Type the following command to create a new partition with the renaming unallocated space and press Enter:

    create partition primary

    Windows 11 create new Recovery Partition

  13. (Option 2) Type the following command to recreate the missing Recovery Partition of exactly 1GB and press Enter:

    create partition primary size=1024
  14. Type the following command to format the new partition as NTFS and press Enter:

    format fs=ntfs quick
  15. Type the following command to register the new partition as the Recovery Partition in the system and press Enter:

    set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac override
  16. Type the following command to lock and prevent users from modifying this partition and press Enter:

    gpt attributes=0x8000000000000001
  17. Type the following command to exit the DiskPart tool and press Enter:

    exit
  18. Connect the USB bootable flash drive (or mount the Windows 11 ISO to File Explorer).

    Quick tip: You can always mount the Windows 11 ISO file by right-clicking the file and choosing the “Mount” option. Also, make sure to note the drive letter of the mount point or the USB bootable media, as you’ll need this information in step 20.
  19. Type the following command to create two custom folders and press Enter:

    mkdir "%USERPROFILE%\Downloads\Images" "%USERPROFILE%\Downloads\Mount"
  20. Type the following command to copy the “Install.wim” image to the “Images” folder (this command may take a while to complete) and press Enter:

    xcopy "D:\Sources\install.wim" "%USERPROFILE%\Downloads\Images\" /H /E /C /I /Y

    Extract and copy Install.wim from ISO file

  21. Type the following command to mount the Install.wim image and press Enter:

    dism /Mount-Image /ImageFile:"%USERPROFILE%\Downloads\Images\install.wim" /Index:6 /MountDir:"%USERPROFILE%\Downloads\Mount"
    Important: In this step, I’m using the number “6” for index, which means that I’ll interact with the Pro edition of Windows 11. If you have another version, you will have to specify the index number within the image. You can use the dism /Get-WimInfo /WimFile:D:\sources\install.wim command to determine the index number for your edition of the operating system. (Remember to change “D” for the drive letter for the drive with the installation files.)
  22. Type the following command to rename the existing ReAgent file in the “Recovery” folder and press Enter:

    ren C:\Windows\System32\Recovery\reagent.xml Reagent.xml.bak
  23. Type the following commands to copy the “Winre.wim” and “ReAgent.xml” files to the “Recovery” folder and press Enter:

    xcopy "%USERPROFILE%\Downloads\Mount\Windows\System32\Recovery\winre.wim" "C:\Windows\System32\Recovery\" /H /E /C /I /Y
    xcopy "%USERPROFILE%\Downloads\Mount\Windows\System32\Recovery\reagent.xml" "C:\Windows\System32\Recovery\" /H /E /C /I /Y

    Extract and copy winre.wim to Recovery folder

  24. Type the following command to re-enable the recovery environment in the new partition and press Enter:

    reagentc /enable

    Enable WinRE on Windows 11

  25. Type the following command to confirm the Windows Recovery Environment state and press Enter:

    reagentc /info
    Quick note: If the output shows as “Enabled” and you can see the location path, then everything has been configured successfully.
  26. Type the following commands (one at a time) to dismount the “Install.wim” image and press Enter:

    dism /Unmount-Image /MountDir:"%USERPROFILE%\Downloads\Mount" /discard
    dism /Cleanup-Wim
    Quick tip: At this point, you can also delete the “Images” and “Mount” folders from the “Downloads” folder.

Once you complete the steps, the missing Recovery Partition will be recreated on the computer.

You can test the recovery feature from Settings > System > Recovery and click the “Restart now” button for “Advanced startup.” If the recovery environment loads correctly, then the new Recovery Partition is working.

About the author

Mauro Huculak is a Windows How-To Expert and founder of (est. 2010). With over 21 years as a technology writer and IT Specialist, Mauro specializes in Windows, software, and cross-platform systems such as Linux, Android, and macOS.

Certifications: Microsoft Certified Solutions Associate (MCSA), Cisco Certified Network Professional (CCNP), VMware Certified Professional (VCP), and CompTIA A+ and Network+.

Mauro is a recognized Microsoft MVP and has also been a long-time contributor to Windows Central.

You can follow him on YouTube, Threads, BlueSky, X (Twitter), LinkedIn and About.me. Email him at [email protected].