Skip to content
Home » CBS_E_INSUFFICIENT_DISK_SPACE – An Ultimate Guide to Fix

CBS_E_INSUFFICIENT_DISK_SPACE – An Ultimate Guide to Fix

Update for Windows Recovery Environment KB5033560 fail to install and raise CBS_E_INSUFFICIENT_DISK_SPACE error as follows:

Windows Recovery Environment servicing failed.
(CBS_E_INSUFFICIENT_DISK_SPACE)

This error typically indicates that there isn’t enough space in the Recovery partition, preventing the Windows update from installing the update package.

When Microsoft releases an update package for the Windows Recovery Partition, it requires additional space to be installed correctly. If there isn’t enough space available, Windows returns various errors, including the CBS_E_INSUFFICIENT_DISK_SPACE error.

Other errors can also occur when there is low space in the Recovery partition.

0x80070643 – ERROR_INSTALL_FAILURE

KB5034441 failed to Install

How to Fix Windows Recovery Environment servicing failed. (CBS_E_INSUFFICIENT_DISK_SPACE) error?

To fix this problem, you need to extend the size of the Recovery partition by 250 MB. There are commands available that require an administrative command prompt to execute.

It is recommended to fix prior Windows issues before executing the set of commands. An unoptimized and buggy computer might increase problems rather than fix them.

Missing or corrupted system files (dll, exe, sys, ocx, etc.), incorrect registry entries, outdated drivers, malware, etc., can cause bigger problems during the treatment of the CBS_E_INSUFFICIENT_DISK_SPACE error. It is recommended to use the following Windows optimizer tool to repair your PC and boost its performance.

OutByte PC Repair Tool
  • ✅Solve more than a hundred of the most common PC issues
  • ✅ Optimize Windows and Boost Windows Performance.
  • ✅ Clean Disk Space
  • ✅ Privacy Protection
  • ✅ Protect PC by resolving common vulnerabilities
  • ✅ Real Time Boost
  • ✅ Real Time Privacy
  • ✅ Smart File Removal

Step by Step Guide to Increase the size of Recovery Partition

Here, I am going to list all the commands step by step, and I recommend you perform all the steps with caution and care.

Step 1: Backup your Data

It is advisable to keep a backup of important files before proceeding. Incorrect alteration of the recovery partition might cause data loss or even a total PC crash.

Step 2: Gather some information.

Type reagentc /info in the administrative command prompt to gather some information. This information will help you identify the correct disk, volume, and recovery partition.

C:\Windows\System32>reagentc /info

Windows Recovery Environment (Windows RE) and system reset configuration

Information:
    Windows RE status:         Enabled
    Windows RE location:       \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE
    Boot Configuration Data (BCD) identifier: 121819d1-2ecb-11ef-a494-c8b29b699654
    Recovery image location:
    Recovery image index:      0
    Custom image location:
    Custom image index:        0

REAGENTC.EXE: Operation Successful.

Remember this info:

  1. Hard disc: harddisk0
  2. Recovery Partition: partition4

Step 3: Disable Windows Recovery

C:\Windows\System32> reagentc /disable
REAGENTC.EXE: Operation Successful.

Step 4: Shrink the OS Partition

You need to shrink the OS partition by 250 MB. This free space will be used later to add to the recovery partition. Execute the following commands one by one.

  1. diskpart
C:\Windows\System32> diskpart

Microsoft DiskPart version 10.0.22621.1
Copyright (C) Microsoft Corporation.
On computer: DIGISEM-SIR
DISKPART>
  1. list disk
DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt

  --------  -------------  -------  -------  ---  ---

  Disk 0    Online          476 GB  3072 KB        *
  1. sel disk 0
DISKPART> sel disk 0

Disk 0 is now the selected disk.
  1. list part
DISKPART> list part

  Partition ###  Type              Size     Offset

  -------------  ----------------  -------  -------

  Partition 1    System             100 MB  1024 KB

  Partition 2    Reserved            16 MB   101 MB

  Partition 3    Primary            348 GB   117 MB

  Partition 4    Recovery           730 MB   348 GB

  Partition 5    Recovery           536 MB   348 GB

  Partition 6    Recovery           508 MB   349 GB

  Partition 7    Primary            126 GB   350 GB
  1. sel part 3
DISKPART> sel part 3

Partition 3 is now the selected partition.
  1. shrink desired=250 minimum=250
DISKPART> shrink desired=250 minimum=250

DiskPart successfully shrunk the volume by:  250 MB
  1. list part
DISKPART> list part

  Partition ###  Type              Size     Offset

  -------------  ----------------  -------  -------

  Partition 1    System             100 MB  1024 KB

  Partition 2    Reserved            16 MB   101 MB

  Partition 3    Primary            348 GB   117 MB

  Partition 4    Recovery           730 MB   348 GB

  Partition 5    Recovery           536 MB   348 GB

  Partition 6    Recovery           508 MB   349 GB

  Partition 7    Primary            126 GB   350 GB
  1. sel part 4
DISKPART> sel part 4

Partition 4 is now the selected partition.
  1. delete partition override
DISKPART> delete partition override

DiskPart successfully deleted the selected partition.

Step 5: Create a new Recovery Partition

  1. First, check your partition style type to see whether it is GPT or MBR. You can easily determine the partition style type by running the list disk command. If it is GPT, there will be an asterisk (*) mark at the end. If there is no asterisk (*) mark at the end, it means it is an MBR partition.

Example:

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt

  --------  -------------  -------  -------  ---  ---

* Disk 0    Online          476 GB   983 MB        *
  1. If your partition style type shows GPT, run the following command.
DISKPART> create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac

DiskPart succeeded in creating the specified partition.

DISKPART> gpt attributes =0x8000000000000001

DiskPart successfully assigned the attributes to the selected GPT partition.
  1. If your partition style is MBR, then use the following command.
create partition primary id=27
  1. Format the newly created partition.
DISKPART> format quick fs=ntfs label="Windows RE tools"

  100 percent completed

DiskPart successfully formatted the volume.
  1. To confirm the extended partition, run the list vol command.
DISKPART> list vol

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info

  ----------  ---  -----------  -----  ----------  -------  ---------  --------

  Volume 0     C                NTFS   Partition    347 GB  Healthy    Boot

  Volume 1     D                NTFS   Partition    126 GB  Healthy

  Volume 2                      FAT32  Partition    100 MB  Healthy    System

  Volume 4                      NTFS   Partition    536 MB  Healthy    Hidden

  Volume 5                      NTFS   Partition    508 MB  Healthy    Hidden

* Volume 6         Windows RE   NTFS   Partition    982 MB  Healthy    Hidden

Step 6: Exit from the diskpart. Type exit and press Enter.

DISKPART> exit

Leaving DiskPart...

C:\Windows\System32>

Step 7: Re-enable Windows Recovery.

C:\Windows\System32> reagentc /enable

REAGENTC.EXE: Operation Successful.

Step 8: To confirm the WinRE installation, run the reagentc /info command.

C:\Windows\System32> reagentc /info

Windows Recovery Environment (Windows RE) and system reset configuration

Information:

    Windows RE status:         Enabled

    Windows RE location:       \\?\GLOBALROOT\device\harddisk0\partition6\Recovery\WindowsRE

    Boot Configuration Data (BCD) identifier: 121819d3-2ecb-11ef-a494-c8b29b699654

    Recovery image location:

    Recovery image index:      0

    Custom image location:

    Custom image index:        0

REAGENTC.EXE: Operation Successful.

Conclusion

If you are installing updates for the Windows Recovery Environment and encounter the error “Windows Recovery Environment servicing failed. (CBS_E_INSUFFICIENT_DISK_SPACE)”, it means there isn’t enough space available in the Recovery partition. To fix this problem, simply increase the Recovery partition size by 250 MB.

Leave a Reply

Your email address will not be published. Required fields are marked *