Message-ID: <1716128184.819.1711656565509.JavaMail.Confluence$@Confluence> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_818_165722898.1711656565506" ------=_Part_818_165722898.1711656565506 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html VSS Error: 0x8004231f - Failed to Create Volume Snapshot 1</titl= e> <!--[if gte mso 9]> <xml> <o:OfficeDocumentSettings> <o:TargetScreenSize>1024x640</o:TargetScreenSize> <o:PixelsPerInch>72</o:PixelsPerInch> <o:AllowPNG/> </o:OfficeDocumentSettings> <w:WordDocument> <w:View>Print</w:View> <w:Zoom>90</w:Zoom> <w:DoNotOptimizeForBrowser/> </w:WordDocument> </xml> <![endif]--> <style> <!-- @page Section1 { size: 8.5in 11.0in; margin: 1.0in; mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; } table { border: solid 1px; border-collapse: collapse; } table td, table th { border: solid 1px; padding: 5px; } td { page-break-inside: avoid; } tr { page-break-after: avoid; } div.Section1 { page: Section1; } /* Confluence print stylesheet. Common to all themes for print medi= a */ /* Full of !important until we improve batching for print CSS */ @media print { #main { padding-bottom: 1em !important; /* The default padding of 6em is to= o much for printouts */ } body { font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 10pt; line-height: 1.2; } body, #full-height-container, #main, #page, #content, .has-personal-sid= ebar #content { background: #fff !important; color: #000 !important; border: 0 !important; width: 100% !important; height: auto !important; min-height: auto !important; margin: 0 !important; padding: 0 !important; display: block !important; } a, a:link, a:visited, a:focus, a:hover, a:active { color: #000; } #content h1, #content h2, #content h3, #content h4, #content h5, #content h6 { font-family: Arial, Helvetica, FreeSans, sans-serif; page-break-after: avoid; } pre { font-family: Monaco, "Courier New", monospace; } #header, .aui-header-inner, #navigation, #sidebar, .sidebar, #personal-info-sidebar, .ia-fixed-sidebar, .page-actions, .navmenu, .ajs-menu-bar, .noprint, .inline-control-link, .inline-control-link a, a.show-labels-editor, .global-comment-actions, .comment-actions, .quick-comment-container, #addcomment { display: none !important; } /* CONF-28544 cannot print multiple pages in IE */ #splitter-content { position: relative !important; } .comment .date::before { content: none !important; /* remove middot for print view */ } h1.pagetitle img { height: auto; width: auto; } .print-only { display: block; } #footer { position: relative !important; /* CONF-17506 Place the footer at en= d of the content */ margin: 0; padding: 0; background: none; clear: both; } #poweredby { border-top: none; background: none; } #poweredby li.print-only { display: list-item; font-style: italic; } #poweredby li.noprint { display: none; } /* no width controls in print */ .wiki-content .table-wrap, .wiki-content p, .panel .codeContent, .panel .codeContent pre, .image-wrap { overflow: visible !important; } /* TODO - should this work? */ #children-section, #comments-section .comment, #comments-section .comment .comment-body, #comments-section .comment .comment-content, #comments-section .comment p { page-break-inside: avoid; } #page-children a { text-decoration: none; } /** hide twixies the specificity here is a hack because print styles are getting loaded before the base styles. */ #comments-section.pageSection .section-header, #comments-section.pageSection .section-title, #children-section.pageSection .section-header, #children-section.pageSection .section-title, .children-show-hide { padding-left: 0; margin-left: 0; } .children-show-hide.icon { display: none; } /* personal sidebar */ .has-personal-sidebar #content { margin-right: 0px; } .has-personal-sidebar #content .pageSection { margin-right: 0px; } .no-print, .no-print * { display: none !important; } } --> </style> </head> <body> <h1>VSS Error: 0x8004231f - Failed to Create Volume Snapshot 1</h1> <div class=3D"Section1"> <p>Error code 0x8004231f indicates<strong> VSS_E_INSUFFICIENT_STORA= GE</strong> (Insufficient storage space for the Shadowcopy). Macrium Reflec= t uses shadow storage space for system restore points. It is likely that ei= ther you have inadvertently allocated a drive letter to the Microsoft Syste= m Reserved partition (MSR), or you have too many restore points on your sys= tem.</p> <p>You may also see the following errors in your backup log:</p> <div class=3D"code panel pdl" style=3D"border-width: 1px;"> <div class=3D"codeContent panelContent pdl">=20 <pre class=3D"syntaxhighlighter-pre" data-syntaxhighlighter-params=3D"brush= : text; gutter: false; theme: Default" data-theme=3D"Default">Creating Volu= me Snapshot - Please Wait=20 Failed: Code: 0x8004231f - Retrying without VSS Writers=20 ERROR: COM call "m_pVssObject->BackupComplete(&pAsync)" failed.=20 - Returned HRESULT =3D 0x80042301=20 - Error text: VSS_E_BAD_STATE=20 Gathering Windows Events - Please Wait=20 Backup aborted! - Failed To Create Volume Snapshot. Result Code: 0x8004231f= </pre>=20 </div> </div> <p> </p> <p><strong>There are 3 solutions to this error.</strong></p> <p><style type=3D"text/css">/*<![CDATA[*/ div.rbtoc1711656564790 {padding: 0px;} div.rbtoc1711656564790 ul {list-style: disc;margin-left: 0px;} div.rbtoc1711656564790 li {margin-left: 0px;padding-left: 0px;} /*]]>*/</style></p> <div class=3D"toc-macro rbtoc1711656564790">=20 <ul class=3D"toc-indentation">=20 <li><a href=3D"#VSSError:0x8004231f-FailedtoCreateVolumeSnapshot1-Removedri= velettersallocatedunnecessarilytosmallpartitions:">Remove drive letters all= ocated unnecessarily to small partitions:</a></li>=20 <li><a href=3D"#VSSError:0x8004231f-FailedtoCreateVolumeSnapshot1-Increases= hadowstoragespace:">Increase shadow storage space:</a></li>=20 <li><a href=3D"#VSSError:0x8004231f-FailedtoCreateVolumeSnapshot1-Removeold= VSSsnapshots:">Remove old VSS snapshots:</a></li>=20 </ul>=20 </div> <strong><br></strong> <p></p> <hr> <h2 id=3D"VSSError:0x8004231f-FailedtoCreateVolumeSnapshot1-Removedrivelett= ersallocatedunnecessarilytosmallpartitions:"><strong>Remove drive letters a= llocated unnecessarily to small partitions:</strong></h2> <p>The MSR partition is required to boot Windows 7 and later operating syst= ems. 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).</p> <p>The same is also true of Original equipment manufacture (OEM) <strong>ut= ility and recovery partitions</strong> such as DELL utility partitions. The= se partitions also do not require drive letter associations and allocating = a drive letter can cause VSS to fail.<br>For more information on correcting= this see article:  <a href=3D"/display/KNOW/Removing+a+drive+letter+f= rom+the+MS+System+Reserved+partition">Removing a drive letter from the MS S= ystem Reserved partition</a><br></p> <hr> <h2 id=3D"VSSError:0x8004231f-FailedtoCreateVolumeSnapshot1-Increaseshadows= toragespace:"><strong>Increase shadow storage space:</strong></h2> <ol> <li><p>To see the amount of storage space allocated and used for Volume Sha= dow Copies run this command from a <a href=3D"/display/KNOW/Running+an+elev= ated+command+prompt">command prompt with elevated privileges</a>:</p> <div class=3D"code panel pdl" style=3D"border-width: 1px;"> <div class=3D"codeContent panelContent pdl">=20 <pre class=3D"syntaxhighlighter-pre" data-syntaxhighlighter-params=3D"brush= : text; gutter: false; theme: Default" data-theme=3D"Default">Vssadmin list= shadowstorage</pre>=20 </div> </div></li> <li><p>To allocate more storage (e.g. 50GB) run this command:</p> <div class=3D"code panel pdl" style=3D"border-width: 1px;"> <div class=3D"codeContent panelContent pdl">=20 <pre class=3D"syntaxhighlighter-pre" data-syntaxhighlighter-params=3D"brush= : text; gutter: false; theme: Default" data-theme=3D"Default">vssadmin resi= ze shadowstorage /For=3DC: /On=3DC: /MaxSize=3D50GB </pre>=20 </div> </div><p><em><br></em></p></li> </ol> <hr> <h2 id=3D"VSSError:0x8004231f-FailedtoCreateVolumeSnapshot1-RemoveoldVSSsna= pshots:"><strong>Remove old VSS snapshots:</strong></h2> <p>During normal Windows operation, restore points are created during softw= are installation and other regular operational tasks. These restore po= ints create snapshots that reside in an area of the disk and consume disk s= pace.</p> <p>Reclaim this disk space by using the <em>vssadmin</em> command in an ele= vated MS-DOS command prompt. <a href=3D"/display/KNOW/Running+an+elevated+c= ommand+prompt">Running an elevated command prompt</a><br><br></p> <ol> <li><p>Enter the following command:</p> <div class=3D"code panel pdl" style=3D"border-width: 1px;"> <div class=3D"codeContent panelContent pdl">=20 <pre class=3D"syntaxhighlighter-pre" data-syntaxhighlighter-params=3D"brush= : text; gutter: false; theme: Default" data-theme=3D"Default">vssadmin dele= te shadows /all.</pre>=20 </div> </div><p>This removes all VSS snapshots on the system, prompting you for co= nfirmation. <br><br></p></li> <li><p>Run the command <em>vssadmin list shadows</em> to display a lis= t of snapshots on your system with associated IDs.  Deletion by ID mus= t specify a valid snapshot ID, deletion by volume must specify a valid Wind= ows volume (e.g.: C:) and deletion of oldest snapshot simply removes the si= ngle, oldest snapshot on the system.  An example of deleting by ID fol= lows:</p> <div class=3D"code panel pdl" style=3D"border-width: 1px;"> <div class=3D"codeContent panelContent pdl">=20 <pre class=3D"syntaxhighlighter-pre" data-syntaxhighlighter-params=3D"brush= : text; gutter: false; theme: Default" data-theme=3D"Default">C:\Users\Dev&= gt;vssadmin delete shadows /shadow=3D{42bb9090-723c-4107-8954-92006026defd}= </pre>=20 </div> </div> <div class=3D"confluence-information-macro confluence-information-macro-inf= ormation"> <span class=3D"aui-icon aui-icon-small aui-iconfont-info confluence-informa= tion-macro-icon"></span> <div class=3D"confluence-information-macro-body"> To not be prompted by any of the commands use the /quiet flag. </div> </div></li> </ol> <hr> <p>This <a href=3D"http://technet.microsoft.com/en-us/library/cc788116= %28WS.10%29.aspx" class=3D"external-link" rel=3D"nofollow">Microsoft KB art= icle</a> provides further information regarding vssadmin list shadows.= </p> <p>This <a href=3D"http://technet.microsoft.com/en-us/library/cc788026= %28WS.10%29.aspx" class=3D"external-link" rel=3D"nofollow">Microsoft KB art= icle</a> provides further information regarding vssadmin delete shadow= s.</p> <div> <p> </p> </div> <hr> <div> <span style=3D"line-height: 13.333333px;"><br></span> </div> </div> </body> </html> ------=_Part_818_165722898.1711656565506--