Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 7

Error code 0x8004231f indicates VSS_E_INSUFFICIENT_STORAGE (Insufficient storage space for the Shadowcopy). Macrium Reflect uses shadow storage space for system restore points. It is likely that either you have inadvertently allocated a drive letter to the Microsoft System Reserved partition (MSR), or you have too many restore points on your system.

You may also see the following errors in your backup log:

Code Block
Creating Volume Snapshot - Please Wait 
Failed: Code: 0x8004231f - Retrying without VSS Writers 
ERROR: COM call "m_pVssObject->BackupComplete(&pAsync)" failed. 
- Returned HRESULT = 0x80042301 
- Error text: VSS_E_BAD_STATE 
Gathering Windows Events - Please Wait 
Backup aborted! - Failed To Create Volume Snapshot. Result Code: 0x8004231f


There are 3 solutions to this error.

Table of Contents

Remove drive letters allocated unnecessarily to small partitions:

The MSR partition is required to boot Windows 7 and later operating systems. Ordinarily, this partition does not have a drive letter assigned to it. If a drive letter is assigned then this can cause problems with Microsoft Volume Shadow copy Service (VSS).

The same is also true of Original equipment manufacture (OEM) utility and recovery partitions such as DELL utility partitions. These partitions also do not require drive letter associations and allocating a drive letter can cause VSS to fail.
For more information on correcting this see article:  Removing a drive letter from the MS System Reserved partition

Increase shadow storage space:

  1. To see the amount of storage space allocated and used for Volume Shadow Copies run this command from a command prompt with elevated privileges:

    Code Block
    Vssadmin list shadowstorage
  2. To allocate more storage (e.g. 50GB) run this command:

    Code Block
    vssadmin resize shadowstorage /For=C: /On=C: /MaxSize=50GB

Remove old VSS snapshots:

During normal Windows operation, restore points are created during software installation and other regular operational tasks. These restore points create snapshots that reside in an area of the disk and consume disk space.

Reclaim this disk space by using the vssadmin command in an elevated MS-DOS command prompt. Running an elevated command prompt

  1. Enter the following command:

    Code Block
    vssadmin delete shadows /all.

    This removes all VSS snapshots on the system, prompting you for confirmation.

  2. Run the command vssadmin list shadows to display a list of snapshots on your system with associated IDs.  Deletion by ID must specify a valid snapshot ID, deletion by volume must specify a valid Windows volume (e.g.: C:) and deletion of oldest snapshot simply removes the single, oldest snapshot on the system.  An example of deleting by ID follows:

    Code Block
    C:\Users\Dev>vssadmin delete shadows /shadow={42bb9090-723c-4107-8954-92006026defd}
    To not be prompted by any of the commands use the /quiet flag.

This Microsoft KB article provides further information regarding vssadmin list shadows.

This Microsoft KB article provides further information regarding vssadmin delete shadows.