Sometimes, your Windows update may fail because the Windows Recovery Environment servicing failed. This post from Partition Magic offers you 2 ways to solve the issue. You can have a try.

Windows Recovery Environment Servicing Failed

When you install some Windows updates like KB5028997, KB5033560, KB5034441, etc., you may encounter the “Windows Recovery Environment servicing failed” error. The error code is CBS_E_INSUFFICIENT_DISK_SPACE.

The cause of this error is the small Windows Recovery partition, which is not large enough to support the new Windows RE image (winre.wim) file.

2 Ways to Fix CBS_E_INSUFFICIENT_DISK_SPACE

How to solve the “Windows Recovery Environment servicing failed” issue? You just need to increase the Windows Recovery partition. Then, here are 2 ways for you.

Way 1. Use Commands

You can use commands to shrink the OS drive, delete the original Windows Recovery partition, and then create a new Windows Recovery partition. Then, the Recovery partition should become larger. Here is the guide:

Step 1: In the Windows Search bar, type “cmd”. From the result list, right-click Command Prompt and choose Run as administrator. Click Yes to open it.

Step 2: Type “reagentc /info” and press Enter to check if WinRE is installed and enabled. If WinRE is enabled, type “reagentc /disable” and press Enter to disable the WinRE. You should also check the WinRE location. In my case, it is on the disk 1 > partition 3.

check the WinRE status and disable it

Step 3: Shrink the partition before the Windows Recovery partition. You can use the DiskPart tool. Press the Windows logo key + R to call out the Run box. Type “diskpart” and press Enter. Then, click Yes to open the diskpart.exe window. Then, execute the following commands one by one:

Tips:
  • List disk (this command will list all disks connected to the PC)
  • Select disk # (# is the number of the disk where WinRE is on)
  • List partition (this command will list all partitions on the selected disk)
  • Select partition * (* is the number of the partition before the WinRE partition)
  • Shrink desired = xx (this command will shrink the selected partition by xx MB. You should write the number according to your need)
shrink the partition before the WinRE partition

Step 4: Delete the WinRE partition using the following commands:

Tips:
You can’t delete the WinRE partition in Disk Management. You must use the DiskPart commands.
  • Select partition N (N is the number of the WinRE partition)
  • Delete partition override
delete the Windows Recovery partition

Step 5: Create a new WinRE partition using all the unallocated space. Then, the new WinRE partition should be larger than the old one.

  1. See the disk information under the list disk command to check if the disk is a GPT disk or an MBR disk. You need to check if there is an asterisk character (*) in the Gpt column. If there is an asterisk character (*), then the drive is GPT. Otherwise, the drive is MBR.
  2. If your disk is GPT, run create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac followed by the command gpt attributes =0x8000000000000001.
  3. If your disk is MBR, run create partition primary id=27.
  4. Run format quick fs=ntfs label= “Windows RE tools” to format the WinRE partition.
  5. If your disk is an MBR disk, you should then run set id=27
create a new WinRE partition

Step 6: Run the Command Prompt as administrator again and then run reagentc /enable to re-enable WinRE.

Multiple Recovery Partitions in Windows 11/10? [Why & How to Fix]
Multiple Recovery Partitions in Windows 11/10? [Why & How to Fix]

Many users find there are multiple recovery partitions in Windows 10/11. Are you also troubled by this issue? This post explains to you why and how to fix it.

Read More

Way 2. Use MiniTool Partition Wizard

In most cases, the first will succeed in enlarging the WinRE partition. However, sometimes it may also fail. For example, in my case, it fails because the partition before the WinRE partition is a logical partition.

I have shrunk the logical partition successfully, but the extended partition can’t be shrunk. Therefore, the WinRE partition can’t be enlarged.

If you also fail to enlarge the WinRE partition for some reason, you can try using MiniTool Partition Wizard. This software can help you enlarge the WinRE partition for free. Here is the guide:

MiniTool Partition Wizard FreeClick to Download100%Clean & Safe

Tips:
MiniTool Partition Wizard is a multifunctional program. It can also help you clone Windows 10 to SSD, clone a hard drive, recover hard drive data, etc. You can have a try.

Step 1: Launch MiniTool Partition Wizard and right-click on the Windows Recovery partition. Select Extend from the menu.

select Extend

Step 2: On the pop-up window, you should decide where to take free space from. You can select a partition or unallocated space. Then, drag the blue block to decide how much free space you want to take. You should set them according to your needs. Then, click OK.

decide where to take space and how much space to take

Step 3: Review the disk layout in the right panel to see if the WinRE partition size is OK. If it is OK, click Apply to execute the pending operation.

click Apply
Tips:
You can also use the Move/Resize feature to increase the WinRE partition.

Have you encountered the “Windows Recovery Environment servicing failed” error? This post offers you 2 ways to solve the issue. You can have a try.Click to Tweet

Bottom Line

You may encounter the CBS_E_INSUFFICIENT_DISK_SPACE error when updating Windows. Then, you can try the above 2 ways to solve the issue by enlarging the WinRE partition.

If you encounter problems when extending the WinRE partition via MiniTool Partition Wizard, please feel free to contact us via support@minitool.com. We will get back to you as soon as possible.

  • linkedin
  • reddit