<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>..::\\ www.christiano.ch //::.. &#187; VSS</title>
	<atom:link href="http://www.christiano.ch/wordpress/tag/vss/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christiano.ch/wordpress</link>
	<description>christiano.ch blog - personal knowledge base, news, memoires et cetera</description>
	<lastBuildDate>Fri, 06 Jan 2012 15:28:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<meta xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" />
		<item>
		<title>Backup Exec, Volume Shadow Copy, Permissions etc</title>
		<link>http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/</link>
		<comments>http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/#comments</comments>
		<pubDate>Sun, 01 May 2011 09:57:13 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Backup Exec]]></category>
		<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows General]]></category>
		<category><![CDATA[CAPI2]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[icacls]]></category>
		<category><![CDATA[VSS]]></category>
		<category><![CDATA[vssadmin]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/</guid>
		<description><![CDATA[Ok, long story short, it all started with a Backup Exec 12.0 job suddenly failing.. One part of the whole job is backuping Exchange Server 2007 using a remote agent and the exchange server. In the job log of Backup &#8230; <a href="http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strike></strike><br />
<table border="0" cellspacing="0" cellpadding="2" width="675">
<tbody>
<tr>
<td valign="top" width="607">Ok, long story short, it all started with a Backup Exec 12.0 job suddenly failing.. One part of the whole job is backuping Exchange Server 2007 using a remote agent and the exchange server. In the job log of Backup Exec, i got a <strong>‘Final error: 0xe000fed1 &#8211; A failure occurred querying the Writer status. ‘ </strong>ok, initially i thought, this is nothing new.. querying the writer status and seeing what this one’s reporting .. </td>
<td valign="top" width="67"><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2011/05/Logo_winlogo.jpg"><img style="display: inline" title="Logo_winlogo" alt="Logo_winlogo" src="http://www.christiano.ch/wordpress/wp-content/uploads/2011/05/Logo_winlogo_thumb.jpg" width="102" height="91" /></a></td>
</tr>
</tbody>
</table>
<p><span id="more-1194"></span>
<p><strong>This is the Backup Exec 12.0 Job log:</strong> </p>
<pre>Job ended: Donnerstag, 28. April 2011 at 23:00:12
Completed status: Failed
Final error: 0xe000fed1 - A failure occurred querying the Writer status.
Final error category: Resource Errors

For additional information regarding this error refer to link <a href="http://eventlookup.veritas.com/eventlookup/EventLookup.jhtml?EvtID=V-79-57344-65233" target="_blank">V-79-57344-65233</a></pre>
<p><strong>and this:</strong> </p>
<pre><tt>Click an error below to locate it in the job log

Backup- server.domain.localV-79-57344-34110 - AOFO: Initialization failure on: &quot;\\server.domain.local\Microsoft Information Store\xyz Storage Group&quot;. Advanced Open File Option used: Microsoft Volume Shadow Copy Service (VSS).Snapshot provider error (0xE000FED1): A failure occurred querying the Writer status. Check the Windows Event Viewer for details. Writer Name: Exchange Server, Writer ID: {76FE1AC4-15F7-4BCD-987E-8E1ACB462FB7}, Last error: The VSS Writer failed, but the operation can be retried (0x800423f3), State: Waiting for backup complete notification (5). </tt></pre>
<p><strong>VssAdmin List Writers reported:</strong> </p>
<pre>Writer name: 'Microsoft Exchange Writer'
  Writer Id: {76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}Writer Instance Id: {c0784b22-2777-47ea-955c-6302ef023141}   State: [5] Waiting for completion
Last error: No error</pre>
<p><strong>Checking Event Viewer: </strong></p>
<pre><strong>Source: VSS

Event ID: 8193</strong>Volume Shadow Copy Service error: Unexpected error calling routine ConvertStringSidToSid.hr = 0x80070539. Operation:
OnIdentify event
Gathering Writer DataContext:
Execution Context: Shadow Copy Optimization Writer
Writer Class Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
Writer Name: Shadow Copy Optimization Writer
Writer Instance ID: {e439464c-084e-42a6-bebb-79f6c877804e}</pre>
<p><strong>i got this solved by following <a href="http://social.technet.microsoft.com/Forums/en/winserverfiles/thread/7b52f7c1-a783-409e-9af3-da64567676df" target="_blank">MSFT-David Shen’s tip</a>.. =&gt; Just deleted a Profile with a .bak extension..</strong></p>
<pre>Hi,

According to the research, the issue may be caused by an invalid entry inside the following registry sub tree.

<strong>HKey_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\ProfileList</strong>

Please open the registry editor with regedit.

Expand and local to the subtree, check if there is an entry that has a &quot;.bak&quot; value appended. If so, this may be cause the failure when trying to resolve the SID of the writer.

Please backup the registry key first, and then delete that entry with the extra &quot;.bak&quot;

Then you may reboot the problematic server to check if it the issue can be fixed.</pre>
<p>&#160;</p>
<p>Ok, this solved the above mentioned error with EventID 8193</p>
<p>But there was another error, kept me from running the backup job successfully.. </p>
<pre>Source: CAPI2
Event ID: 513
Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.

Details:
AddCoreCsiFiles : BeginFileEnumeration() failed.

System Error:
Access is denied.
.</pre>
<p>&#160;</p>
<p><strong><a href="http://technet.microsoft.com/en-us/library/cc734021(WS.10).aspx" target="_blank">Microsoft Technet</a></strong><strong> writes:</strong></p>
<hr />
<h4>Event Details</h4>
<p><strong>Product:</strong> </p>
<p>Windows Operating System</p>
<p><strong>ID:</strong> </p>
<p>513</p>
<p><strong>Source:</strong> </p>
<p>Microsoft-Windows-CAPI2</p>
<p><strong>Version:</strong> </p>
<p>6.0</p>
<p><strong>Symbolic Name:</strong> </p>
<p>MSG_SYSTEMWRITER_ONIDENTITY_FAILURE</p>
<p><strong>Message:</strong> </p>
<p>Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.%1.</p>
<h4>Resolve</h4>
<h5>Modify the access control list on the registration folder</h5>
<p>Component Object Model (COM) applications must be able to access the COM+ catalog files that are stored in the COM catalog folder. If the default access control list is changed on the COM catalog folder within the Windows folder, the Shadow Copy System Writer may not work properly.</p>
<p>To perform this procedure, you must be a member of the local <strong>Administrators</strong> group, or you must have been delegated the appropriate authority.</p>
<p>To modify the access control list on the COM catalog folder:</p>
<ol>
<li>Click <strong>Start</strong>, and then click <strong>Computer</strong>. </li>
<li>Navigate to <em>%systemdrive%</em>\Windows.
<p>By default, <em>%systemdrive%</em> is located at C:\.</p>
</li>
<li>Right-click <strong>Registration</strong>, click <strong>Properties</strong>, and then click the <strong>Security</strong> tab. </li>
<li>Click <strong>Advanced</strong>, and then click <strong>Edit</strong>. </li>
<li>If the <strong>User Account Control</strong> dialog box appears, confirm that the action it displays is what you want, and then click <strong>Continue</strong>. </li>
<li>Click <strong>Edit</strong> to view the special permissions assigned to this folder. </li>
<li>Ensure that the access control list matches the following criteria:
<ul>
<li>The local Administrators group has <strong>Full Control</strong> permissions applied to <strong>This folder and files</strong>. </li>
<li>The Everyone group has <strong>List folder/read data</strong>, <strong>Read attributes</strong>, <strong>Read extended attributes</strong>, and <strong>Read permissions</strong> applied to <strong>This folder and files</strong>. </li>
<li>The local SYSTEM account has <strong>Full Control</strong> permissions applied to <strong>This folder and files</strong>. </li>
</ul>
</li>
<li>If the permissions on this folder do not match what is listed in this procedure, make the appropriate changes, and then click <strong>OK</strong>. </li>
</ol>
<h4>Verify</h4>
<p>To perform this procedure, you must be a member of the local <strong>Administrators</strong> group, or you must have been delegated the appropriate authority.</p>
<p>To verify that the Shadow Copy System Writer is working properly:</p>
<ol>
<li>Click <strong>Start</strong>, point to <strong>All Programs</strong>, and then click <strong>Accessories</strong>. </li>
<li>Right-click <strong>Command Prompt</strong>, and then click <strong>Run as administrator</strong>. </li>
<li>If the <strong>User Account Control</strong> dialog box appears, confirm that the action it displays is what you want, and then click <strong>Continue</strong>. </li>
<li>In the command prompt window, type <strong>vssadmin list writers</strong>. </li>
<li>Ensure that <strong>Writer Name: &#8216;System Writer&#8217;</strong> is displayed in the list. </li>
</ol>
<hr />i followed these instructions, but the problem still existed. When calling <em>VssAdmin List Writers</em>&#160; the System Writer wasn’t listed .. </p>
<p>I started Process Monitor and found an ACCESS DENIED on <em>C:\Windows\winsxs\FileMaps\$$.cdf-ms</em> for the <em>NT AUTHORITY\NETWORK SERVICE</em>. Funny, the guys writing Technet Articles and Help for MS don’t even know their own system in deep .. rofl .. however, granting NT AUTHORITY\NETWORK SERVICE the necessary rights, solved also this issue.</p>
<p><strong>here’s my powershell get-history (including typos and retries <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Zwinkerndes Smiley" src="http://www.christiano.ch/wordpress/wp-content/uploads/2011/05/wlEmoticon-winkingsmile.png" />), maybe it will help you: </strong></p>
<hr />
<p>[PS] C:\Windows\system32&gt;Get-History</p>
<p>&#160; Id CommandLine<br />
  <br />&#160; &#8212; &#8212;&#8212;&#8212;&#8211; </p>
<p>&#160; 14 .\vssadmin.exe list writers </p>
<p>&#160; 15 icacls </p>
<p>&#160; 16 icacls %windir%\winsxs\filemaps\*.* /grant &quot;NT Service\trustedinstaller:(F)&quot; </p>
<p>&#160; 17 .\vssadmin.exe list writers </p>
<p>&#160; 18 icacls /? </p>
<p>&#160; 19 .\vssadmin.exe list writers </p>
<p>&#160; 20 Takeown /f %windir%\winsxs\filemaps\* /a </p>
<p>&#160; 21 icacls %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\SYSTEM:(RX)&quot; </p>
<p>&#160; 22 icacls %windir%\winsxs\filemaps\*.* /grant &quot;NT Service\trustedinstaller:(F)&quot; </p>
<p>&#160; 23 icacls %windir%\winsxs\filemaps\*.* /grant BUILTIN\Users:(RX) </p>
<p>&#160; 24 icacls %windir%\winsxs\filemaps\*.* /grant BUILTIN\Users:(RX) </p>
<p>&#160; 25 icacls </p>
<p>&#160; 26 icacls %windir%\winsxs\filemaps\*.* /grant &quot;BUILTIN\Users:(RX)&quot; </p>
<p>&#160; 27 .\vssadmin.exe list writers </p>
<p>&#160; 28 .\vssadmin.exe list writers </p>
<p>&#160; 29 .\icacls.exe %windir%\winsxs\filemaps\*.* grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 30 .\icacls.exe %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 31 .\icacls.exe %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 32 .\vssadmin.exe list writers </p>
<p>&#160; 33 .\icacls.exe %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 34 takeown /f %windir%\winsxs\filemaps\* /a </p>
<p>&#160; 35 takeown </p>
<p><font color="#ff0000"><strong>&#160; 36 takeown /f C:\Windows\winsxs\FileMaps\* /a<br />
      <br />&#160; 37 icaclc C:\Windows\winsxs\FileMaps\*.* /grant </p>
<p>&#160; 38 icaclc C:\Windows\winsxs\FileMaps\*.* /grant &quot;NT AUTHORITY\SYSTEM:(RX)&quot; </p>
<p>&#160; 39 icacls C:\Windows\winsxs\FileMaps\*.* /grant &quot;NT AUTHORITY\SYSTEM:(RX)&quot; </p>
<p>&#160; 40 icacls C:\Windows\winsxs\FileMaps\*.* /grant &quot;NT Service\trustedinstaller:(F)&quot; </p>
<p>&#160; 41 icacls C:\Windows\winsxs\FileMaps\*.* /grant BUILTIN\Users:(RX) </p>
<p>&#160; 42 icacls C:\Windows\winsxs\FileMaps\*.* /grant &quot;BUILTIN\Users:(RX)&quot; </p>
<p>&#160; 43 .\icacls.exe %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 44 .\icacls.exe c:\windows\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot;</strong></font> </p>
<p>&#160; 45 .\vssadmin.exe list writers</p>
<hr />
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Backup+Exec%2C+Volume+Shadow+Copy%2C+Permissions+etc+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1194" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Backup+Exec%2C+Volume+Shadow+Copy%2C+Permissions+etc+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1194" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup Exec: VSS Snapshot warning. File &lt;path&gt; is not present on the snapshot.</title>
		<link>http://www.christiano.ch/wordpress/2010/02/25/backup-exec-vss-snapshot-warning-file-path-is-not-present-on-the-snapshot/</link>
		<comments>http://www.christiano.ch/wordpress/2010/02/25/backup-exec-vss-snapshot-warning-file-path-is-not-present-on-the-snapshot/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 11:22:38 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Backup Exec]]></category>
		<category><![CDATA[Volume Shadow Copy Service]]></category>
		<category><![CDATA[VSS]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2010/02/25/backup-exec-vss-snapshot-warning-file-path-is-not-present-on-the-snapshot/</guid>
		<description><![CDATA[Ok, i have/had this exception in five different Backup Exec installations. It’s not an error, it’s just a exception/notification that one setup (most often a driver installation) registered a file for the VSS (Volume Shadow Service) to backup. The i &#8230; <a href="http://www.christiano.ch/wordpress/2010/02/25/backup-exec-vss-snapshot-warning-file-path-is-not-present-on-the-snapshot/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="2" width="675">
<tbody>
<tr>
<td valign="top" width="572">Ok, i have/had this exception in five different Backup Exec installations. It’s not an error, it’s just a exception/notification that one setup (most often a driver installation) registered a file for the VSS (Volume Shadow Service) to backup. </td>
<td valign="top" width="102"><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2010/02/Logo_SymantecBackupExec.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Logo_SymantecBackupExec" border="0" alt="Logo_SymantecBackupExec" src="http://www.christiano.ch/wordpress/wp-content/uploads/2010/02/Logo_SymantecBackupExec_thumb.png" width="165" height="47" /></a> </td>
</tr>
</tbody>
</table>
<p> <span id="more-882"></span>
<p>The i found this one here:</p>
<p>A product installer &#8211; possibly from a 3rd party app has registered that file as being required for a System State backup and not then removed the registration from the System State when the file was removed. </p>
<p>Either identify the vendor of the file and speak to them about a fix &#8211; or create a file with the same name in the same folder. Note it is unlikely that you will need the specific file for a restore (assuming your server does restart correctly currently)</p>
<p>So, to have a short break fix, just create a dummy file OR contact the vendor of the driver/program.</p>
<p><a title="Volume Shadow Copy Service (VSS) System Writer backup fails, and error messages reference nonexistent files in Windows Server 2008" href="http://support.microsoft.com/kb/955078" target="_blank">Microsoft KB955078</a> <em>Volume Shadow Copy Service (VSS) System Writer backup fails, and error messages reference nonexistent files in Windows Server 2008</em></p>
<p>Symantec had a KB entry, but the removed it.. i found it in the Google cache:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><a href="http://www.symantec.com"></a></p>
<p>Document ID: 303664    <br /><a href="http://support.veritas.com/docs/303664">http://support.veritas.com/docs/303664</a> <a href="http://209.85.229.132/"><img border="0" alt="E-Mail Colleague Icon" src="http://seer.entsupport.symantec.com/images/icoemail.gif" width="20" height="15" />E-Mail this document to a colleague</a></p>
<p>System State backup of a Windows 2008 server completes with an exception </p>
<hr noshade="noshade" />
<p>Exact Error Message   <br />Backup- System?State System?State    <br />VSS Snapshot warning. File [PATH] [FILENAME] is not present on the snapshot.</p>
<p>Details:</p>
<p>System State backup of a Windows 2008 server may complete with the above mentioned exception if a driver file(s) was deleted/renamed. For example in the Figure 1, 04mmdat.sys is causing the exception.   </p>
<p>Volume Shadow Copy Service (VSS) System Writer may list a file to be backed up even though the file is no longer present on the server. View the {GUID}-System_Writer.xml file located in the directory C:\Program Files\Symantec\Backup Exec\Logs to confirm if the writer lists the file present as an exception in the job log.    <br /><b>NOTE:</b>    <br />The exception can be safely ignored as it does not affect the functionality of the Backup set.    <br /><b>Workaround:</b>    <br />Follow the steps listed below:    <br />1. Create a empty text file with the same name as the file mentioned in the exception    <br />2. Place the document in the same location as in the exception    <br /><b>Resolution:</b>    <br />For more details on resolution refer to the following article from Microsoft:    <br /><a href="http://support.microsoft.com/kb/955078">http://support.microsoft.com/kb/955078</a></p>
<p>Supplemental Material:</p>
<p>System: Ref.#   <br />Description</p>
<p>ETrack: 1264044    <br />VSS Snapshot exceptions happen during system state backup if tape drivers were deleted</p>
<p>Acknowledgements   <br />Microsoft </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2010/02/Symantec_DocID303664.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Symantec_DocID303664" border="0" alt="Symantec_DocID303664" src="http://www.christiano.ch/wordpress/wp-content/uploads/2010/02/Symantec_DocID303664_thumb.png" width="657" height="1118" /></a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Backup+Exec%3A+VSS+Snapshot+warning.+File+%3Cpath%3E+is+not+present+on+the+snapshot.+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D882" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Backup+Exec%3A+VSS+Snapshot+warning.+File+%3Cpath%3E+is+not+present+on+the+snapshot.+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D882" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2010/02/25/backup-exec-vss-snapshot-warning-file-path-is-not-present-on-the-snapshot/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

