How to remove several Event Log Errors?

Page 1 of 2 12 LastLast

  1. gil
    Posts : 193
    Microsoft Windows 10 Pro 64-bit 10586 Multiprocessor Free
       #1

    How to remove several Event Log Errors?


    Hi all,

    I've googled some of the errors but I wasn't able to find a definitive solution.
    Here are the errors:

    Event 513, CAPI2
    Code:
    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.
    
    Details: AddLegacyDriverFiles: Unable to back up image of binary Microsoft Link-Layer Discovery Protocol. System Error: Access is denied.
    Event 69 AppModel-Runtime
    Code:
    EventData
    ErrorCode 1168
    PackageFullName Microsoft.WindowsSoundRecorder_10.1509.26110.0_x64__8wekyb3d8bbwe
    User S-1-5-21-4212775015-541755525-2815841924-1001
    DesiredStatus 32
    CurrentStatus 0
    Event 131, DeviceSetupManager
    Code:
    Metadata staging failed, result={E6899A4D-E94B-55AC-89D7-98788706F4B0} for container '0x80070490'
    
    - EventData
    Prop_ContainerId {E6899A4D-E94B-55AC-89D7-98788706F4B0}
    HRESULT 2147943568
      My Computer


  2. Posts : 193
    Windows 10 Pro
       #2

    Do you have actual errors or issues in your system that led you to look at event logs?
    One thing I would do (and that last event type may suggest as much) is to ensure your drivers are up to date for all components.
      My Computer


  3. gil
    Posts : 193
    Microsoft Windows 10 Pro 64-bit 10586 Multiprocessor Free
    Thread Starter
       #3

    Kanata said:
    Do you have actual errors or issues in your system that led you to look at event logs?
    One thing I would do (and that last event type may suggest as much) is to ensure your drivers are up to date for all components.
    I started to look in the event log because I wanted to resolve Win10 boot time issues from cold boot.
    Since it used to boot really fast from cold boot but now it doesn't. I seem to resolve it for the meantime, but a restart will result in 41 seconds boot time for example.
    Looking at the event log revealed many errors.
    My drivers are up to date.

    I think for the last event (Event 131, DeviceSetupManager), it's because I disabled Windows 10 fro automatically installing drivers via Windows Update. Control Panel > Search 'Change device installation settings' > Select No, let me choose... and then select 'Never Install driver software from Windows Update'.

      My Computer


  4. Posts : 66
    Windows 10
       #4

    last time I had longer boot times was when hardware failed and windows was trying to find upon boot up.
      My Computer


  5. Posts : 5,478
    2004
       #5

    The CAPI2 error is an old security error which has never been fixed. You can correct it by running this from elevated command prompt (it is quite long, copy it all):
    Code:
    sc sdset MSLLDP D:(D;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BG)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SO)(A;;LCRPWP;;;S-1-5-80-3141615172-2057878085-1754447212-2405740020-3916490453)(A;;CC;;;S-1-5-80-242729624-280608522-2219052887-3187409060-2225943459)
    Source

    The 131 error isn't really an error (it is an timing issue with MS servers and is also very old).

    You can fix it by changing the url for the download site as described by user Saammy here:

    change the value of DeviceMetadataServiceURL in the registry to "http://dmd.metaservices.microsoft.com/dms/metadata.svc", without quotes

    Neither are particularly important (and will not impact on start-up time) but both are very easy to fix.

    I don't know about the "Sound Recorder" error as I immediately uninstalled it I'm afraid.
      My Computer


  6. Posts : 10
    Windows 10 Pro
       #6

    halasz said:
    The CAPI2 error is an old security error which has never been fixed. You can correct it by running this from elevated command prompt (it is quite long, copy it all):
    Code:
    sc sdset MSLLDP D:(D;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BG)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SO)(A;;LCRPWP;;;S-1-5-80-3141615172-2057878085-1754447212-2405740020-3916490453)(A;;CC;;;S-1-5-80-242729624-280608522-2219052887-3187409060-2225943459)
    Source

    The 131 error isn't really an error (it is an timing issue with MS servers and is also very old).

    You can fix it by changing the url for the download site as described by user Saammy here:

    change the value of DeviceMetadataServiceURL in the registry to "http://dmd.metaservices.microsoft.com/dms/metadata.svc", without quotes

    Neither are particularly important (and will not impact on start-up time) but both are very easy to fix.

    I don't know about the "Sound Recorder" error as I immediately uninstalled it I'm afraid.

    This is what I get typically for event errors during normal messing around. In this time period (a couple of hours) I installed 2 apps and new Logitech mouse and keyboard drivers. Windows installed a Windows Defender update and another update. The PC restarted twice. I'm using Windows 10 Home fresh install on newly formatted SSD. Most people never look in event viewer and I'm sure you're right that most errors can be ignored, but with all the talk about fast boot times I don't think this helps. My startup times aren't as fast as windows 7 was and many things seem to run slower. However some things are faster also. Still makes me wonder if maybe this was released a little prematurely. What I get for errors in one day I wouldn't get in 4 months with windows 7.

    How to remove several Event Log Errors?-event-errors.png
      My Computer


  7. Posts : 472
    Windows 10 Pro 64bit v1803 build 17133.73
       #7

    Aren't the events cached a eventually reach the cache limit where they are then over written with new events?
      My Computer


  8. Posts : 10
    Windows 10 Pro
       #8

    lopedoggie said:
    Aren't the events cached a eventually reach the cache limit where they are then over written with new events?
    I believe so, good thing or I wouldn't have and hard drive room left on the 40gb drive.
      My Computer


  9. gil
    Posts : 193
    Microsoft Windows 10 Pro 64-bit 10586 Multiprocessor Free
    Thread Starter
       #9

    lopedoggie said:
    Aren't the events cached a eventually reach the cache limit where they are then over written with new events?
    Here, copy this to a .txt file and when you save it, rename to Clear_All_Logs.bat
    Save it on your C drive and run it if you wish to clear all logs once in a while to get a fresh view after messing with the system.

    Code:
    @echo off
    FOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V
    IF (%adminTest%)==(Access) goto noAdmin
    for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")
    echo.
    echo Event Logs have been cleared! ^
    goto theEnd
    :do_clear
    echo clearing %1
    wevtutil.exe cl %1
    goto :eof
    :noAdmin
    echo You must run this script as an Administrator!
    echo ^
    :theEnd
    pause>NUL
      My Computer


  10. Posts : 10
    Windows 10 Pro
       #10

    gil said:
    Here, copy this to a .txt file and when you save it, rename to Clear_All_Logs.bat
    Save it on your C drive and run it if you wish to clear all logs once in a while to get a fresh view after messing with the system.

    Code:
    @echo off
    FOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V
    IF (%adminTest%)==(Access) goto noAdmin
    for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")
    echo.
    echo Event Logs have been cleared! ^
    goto theEnd
    :do_clear
    echo clearing %1
    wevtutil.exe cl %1
    goto :eof
    :noAdmin
    echo You must run this script as an Administrator!
    echo ^
    :theEnd
    pause>NUL

    Thanks, I actually had that already. It's just too bad that I'm having to use it all the time.
    I used to track event errors once in awhile in Windows 7 so I would use it to clear the errors.
    There always seemed to be fixes and answers, hopefully they will come soon for Windows 10 errors.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:38.
Find Us




Windows 10 Forums