{"id":639,"date":"2019-04-13T05:18:00","date_gmt":"2019-04-13T12:18:00","guid":{"rendered":"https:\/\/kb.terabyteunlimited.com\/kb-articles\/backup-fails-with-vss-event-4001\/"},"modified":"2022-10-16T18:04:56","modified_gmt":"2022-10-17T01:04:56","slug":"backup-fails-with-vss-event-4001","status":"publish","type":"lsvr_kba","link":"https:\/\/www.terabyteunlimited.com\/kb\/kb-articles\/backup-fails-with-vss-event-4001\/","title":{"rendered":"Backup Fails with VSS Event 4001"},"content":{"rendered":"<p><strong><font color=\"#ff5500\">Problem:<\/font><\/strong> <\/p>\r\n  <p>An Image for Windows backup using VSS fails when backing up one or more partitions on a drive that includes a partition encrypted with BitLocker. The Windows Event Log shows an event ID 4001 error for VSS. Image for Windows reverts to using PHYLock, which will back up BitLocker partitions in their encrypted state instead of backing up only used space.<\/p>\r\n    <blockquote>\r\n      <p><font color=\"#ff0000\">Source: VSS, Event ID: 4001<br \/>Volume Shadow Copy Service error: Cannot find diff areas for creating shadow copies. Add at least one NTFS drive to the system with enough free space. The free space needed is at least 32 Mb for each volume to be shadow copied.<\/font><\/p>\r\n    <\/blockquote>\r\n  <p><strong><font color=\"#ff5500\">Cause:<\/font><\/strong> <\/p>\r\n  <p>The partitions being backed up lack sufficient free space to create the shadow copies. Free space on the BitLocker partition(s) is not used for unencrypted partitions.<\/p>\r\n  <p>If VSS backups on the drive were previously successful and now fail with this error, it's most likely something has changed that reduced the free space available for use by VSS. For example, the WinRE.wim file on the Recovery partition is larger than before due to a Windows update\/upgrade or updating WinRE to TBWinRE (or IFW WinRE).<\/p>\r\n  <p><strong><font color=\"#ff5500\">Solution:<\/font><\/strong><\/p>\r\n  <p>This issue can occur when backing up a normal Windows drive (or unencrypted partitions on the drive) where Windows is BitLocker encrypted. For example, if the drive consists of an EFI System partition, a Recovery (WinRE) partition, and the Windows partition (encrypted), the backup will fail if the Recovery partition doesn't have enough free space available.<\/p>\r\n  <p>Sufficient free space must exist on an NTFS partition that is not encrypted (in the example above, the Recovery partition is the only unencrypted NTFS partition). The free space amount specified as needed is at least 32MB per volume. However, the actual amount necessary may be more depending on the system and what's being backed up. Obtaining more free space on the Recovery partition may not be possible (the winre.wim file may almost completely fill it). Instead, it may be necessary to resize the partition larger or create a new empty unencrypted NTFS partition on the drive with an adequate size (100-200MB, for example).<\/p>\r\n  <p>Otherwise, if an entire disk image backup using VSS isn't required, it may be possible to use PHYLock to back up the unencrypted partitions and VSS used to create a separate backup of the BitLocker partition(s).<\/p>\r\n  <p><font color=\"#005858\"><strong>Checking or Resizing the Shadow Copy Storage Associations<\/strong><\/font><\/p>\r\n  <p>The Windows <strong>vssadmin<\/strong> utility can be used to list and resize the Shadow Copy Storage associations. Run the commands from an administrator command prompt.<\/p>\r\n  <p>To list the associations, run the <em>list shadowstorage<\/em> command with any additional parameters (as determined by your system):<\/p>\r\n  <p><strong><font color=\"#008800\">vssadmin list shadowstorage<\/font><\/strong><\/p>\r\n  <p><strong><font color=\"#008800\">vssadmin list shadowstorage \/On=C:<\/font><\/strong><\/p>\r\n  <p><strong><font color=\"#008800\">vssadmin list shadowstorage \/For=C:<\/font><\/strong><\/p>\r\n  <p>To resize the associations, run the <em>resize shadowstorage<\/em> command with the required additional parameters (as determined by your system):<\/p>\r\n  <p><strong><font color=\"#008800\">vssadmin resize shadowstorage \/For=C: \/On=C: \/MaxSize=900MB<\/font><\/strong><\/p>\r\n  <p>For more help on vssadmin usage, run the command with the \/? parameter. For example:<\/p>\r\n  <p><strong><font color=\"#008800\">vssadmin \/?<\/font><\/strong><\/p>\r\n  <p><strong><font color=\"#008800\">vssadmin list shadowstorage \/?<\/font><\/strong><\/p>\r\n  <p><strong><font color=\"#008800\">vssadmin resize shadowstorage \/?<\/font><\/strong><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Problem: An Image for Windows backup using VSS fails when backing up one or more partitions on a drive that includes a partition encrypted with BitLocker. The Windows Event Log shows an event ID 4001 error for VSS. Image for Windows reverts to using PHYLock, which will back up BitLocker partitions in their encrypted state [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"lsvr_kba_cat":[1790],"lsvr_kba_tag":[2121],"class_list":["post-639","lsvr_kba","type-lsvr_kba","status-publish","hentry","lsvr_kba_cat-problem-solving-image-for-windows","lsvr_kba_tag-image-for-windows"],"_links":{"self":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/comments?post=639"}],"version-history":[{"count":2,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/639\/revisions"}],"predecessor-version":[{"id":7100,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/639\/revisions\/7100"}],"wp:attachment":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/media?parent=639"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_cat?post=639"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_tag?post=639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}