none
Error source CAPI2 id 513 - Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object

    Question

  • Running Windows 8.1 PRO RTM x64 upgraded from Win 8 PRO. Updates to 8.1 as of 17 October installed

    Event viewer still shows newly triggered Error(s) CAPI2 event id 513.

    I can trigger this error by manually creating a restore point invoking VSS.

    The VSS System Writer is listed and is error free.

    Log Name:      Application
    Source:        Microsoft-Windows-CAPI2
    Date:          17/10/2013 20:32:19
    Event ID:      513
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Machine -Name
    Description:
    Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.

    Details:
    AddLegacyDriverFiles: Unable to back up image of binary Microsoft Link-Layer Discovery Protocol.

    System Error:
    Access is denied.
    .
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-CAPI2" Guid="{5bbca4a8-b209-48dc-a8c7-b23d3e5216fb}" EventSourceName="Microsoft-Windows-CAPI2" />
        <EventID Qualifiers="0">513</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8080000000000000</Keywords>
        <TimeCreated SystemTime="2013-10-17T19:32:19.935384000Z" />
        <EventRecordID>89898</EventRecordID>
        <Correlation />
        <Execution ProcessID="1404" ThreadID="2104" />
        <Channel>Application</Channel>
        <Computer>Machine-Name</Computer>
        <Security />
      </System>
      <EventData>
        <Data>

    Details:
    AddLegacyDriverFiles: Unable to back up image of binary Microsoft Link-Layer Discovery Protocol.

    System Error:
    Access is denied.
    </Data>
      </EventData>
    </Event>

    Friday, October 18, 2013 2:00 PM

All replies

  • Hi,

    Based on my research, it often appears on the Windows Server .

    Please try the steps below:

    This problem occurs if NTFS permissions have been removed to the C:\WINDOWS\WINSXS\FILEMAPS directory and / or files.

    Did a process monitor and found that we're receiving an access is denied on $$.cdf-ms (this is the first file) other files can be the cause of the problem too.

    To resolve this issue, Open CMD by running as administrator, and type following command:

    Takeown /f %windir%\winsxs\filemaps\* /a

    icacls %windir%\winsxs\filemaps\*.* /grant "NT AUTHORITY\SYSTEM:(RX)"

    icacls %windir%\winsxs\filemaps\*.* /grant "NT Service\trustedinstaller:(F)"

    icacls %windir%\winsxs\filemaps\*.* /grant BUILTIN\Users: (RX)

    Meanwhile, I would like to share the article:

    http://support.microsoft.com/kb/2009272

    Let we test if the method also apply to Windows 8.1.

    Regards,


    Kelvin_Hsu

    TechNet Community Support

    Monday, October 21, 2013 11:22 AM
    Moderator
  • I had run those commands previously with no! resolution to the error.

    Also KB2009272 refers to no VSS System Writer situation.

    This is NOT! the case here. System Writer is listed and error free as already stated.

    Details:
    AddLegacyDriverFiles: Unable to back up image of binary Microsoft Link-Layer Discovery Protocol.
    • Edited by Win7ine Monday, October 21, 2013 11:46 AM
    Monday, October 21, 2013 11:41 AM
  • Thursday, October 24, 2013 4:42 PM
  • Latest MS Updates of 12 November 2013 bring no! resolution to this error still.
    Thursday, November 14, 2013 12:54 PM
  • Latest MS updates of 10 December 2013 bring no! resolution to this error.

    Looking at he original error message: we need to find where the BINARY IMAGE of the "Microsoft Link-Layer Discovery Protocol" is stored and look at access rights to this image.

    Interestingly on my Laptop where only WiFi is active as a network connection LLDP is not enabled in the adapter settings and the Laptop does NOT produce the CAPI2 513 error on backup and VSS.

    On my Desktop however, LLDP is enabled for the Ethernet adapter and the error is logged.

    Also there is a difference as to Laptop running 32bit and Desktop 64bit versions of Windows 8.1 respectively.

    Wednesday, December 11, 2013 4:45 PM
  • I guess you've found no resolution so far, eh?  I haven't solved it either.

       

    -Noel


    Detailed how-to in my eBooks:  

    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

    Sunday, December 15, 2013 2:09 PM
  • I guess you've found no resolution so far, eh?  I haven't solved it either.

       

    -Noel


    Detailed how-to in my eBooks:  

    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options


    Not yet unfortunately.
    Sunday, December 15, 2013 6:05 PM
  • By the way I did an exhaustive search for the string "Microsoft Link-Layer Discovery Protocol".  While it was found in several files (e.g., .inf) what I was most interested in were the read failures.  Unfortunately, nothing jumped out at me as being a likely culprit for simple file access problems.

     

    -Noel


    Detailed how-to in my eBooks:  

    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

    Sunday, December 15, 2013 7:46 PM
  • I have exactly the same problem with all updates installed, and same beginning (upgrade to win 8.1 x64 pro from win 8.0 pro).  In addition, I've noticed it briefly (five seconds) freezes I/O on ms sql server, with this event log message added:

    "I/O is frozen on database master. No user action is required."


    • Edited by TechVsLife2 Sunday, December 15, 2013 10:09 PM
    Sunday, December 15, 2013 10:09 PM