Share via

Session "Cloud Files Diagnostic Event Listener" failed to start with the following error: 0xC0000022

Anonymous
2024-04-30T21:07:16+00:00

When I open OneDrive from the start menu I get the following error message everytime

Session "Cloud Files Diagnostic Event Listener" failed to start with the following error: 0xC0000022

xmlns="**http://schemas.microsoft.com/win/2004/08/events/event**">

  • <System> <Provider Name="Microsoft-Windows-Kernel-EventTracing" Guid="{b675ec37-bdb6-4648-bc92-f3fdc74d3ca2}" /><EventID>2</EventID><Version>0</Version><Level>2</Level><Task>2</Task><Opcode>12</Opcode><Keywords>0x8000000000000010</Keywords><TimeCreated SystemTime="2024-04-30T20:58:38.4327417Z" /><EventRecordID>37</EventRecordID><Correlation /><Execution ProcessID="12524" ThreadID="3284" /><Channel>Microsoft-Windows-Kernel-EventTracing/Admin</Channel><Computer>NewPC</Computer><Security UserID="S-1-5-21-4236326778-1158118487-3031151853-1001" /></System>
  • <EventData> <Data Name="SessionName">Cloud Files Diagnostic Event Listener</Data><Data Name="FileName" /><Data Name="ErrorCode">3221225506</Data><Data Name="LoggingMode">4194560</Data></EventData> </Event> How can i fix this issue? Is it harmful as OneDrive appeares to be working.

***Moved From Windows / Windows 10 / Performance and system failures***

Microsoft 365 and Office | OneDrive | Other | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

34 answers

Sort by: Most helpful
  1. Anonymous
    2025-02-05T04:59:17+00:00

    I can't help but notice that this is continuing to have people post about the problem but the Microsoft Agent/Moderator has not returned to update their out of date answer.

    This is a serious problem that is causing computers to crash. I even ran a Windows Repair install on Saturday, and this just happened again tonight.

    Was this answer helpful?

    10 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-06-14T16:52:40+00:00

    I am seeing this error across multiple computers and multiple users, some using Windows 10 Pro, some using 11 Pro (all are kept updated with the latest versions and this has been happening since Feb/Mar 2024). Users will get a certain number of Explorer.EXE error messages "This file does not have an app associated with it for performing this action." I usually get 2 of them, some coworkers will get 4 or 5, and the boss will get 10-12 at a time. 100% of the time, it occurs completely independent of any action taken by the user. It's not that they clicked on something and got the message- it just happens on it's own every couple of weeks or so. This is what my users have reported and has been true in my personal experience.

    There does not seem to be any apparent cause. The afflicted users have different job roles. Other users with similar setups and usage have NEVER seen this issue. Some see it once a week, some see it once a month. We use SharePoint and OneDrive to share and store files.

    In Event Viewer, the "Session 'Cloud Files Diagnostic Event Listener' failed to start with the following error: 0xC0000022" is always present at the time of Explorer error messages along with "Session 'Microsoft.Windows.Remediation" failed to start with the following error: 0xC0000035".

    As of the time of this writing, there is no longer a selection switch in OneDrive to turn off Files On-Demand- just the option to free up disk space.

    I have tried the following across several of the afflicted machines without a total resolution:

    -sfc /scannow (found and fixed errors)

    -DISM commands

    -enabling DirectPlay in the Windows Legacy Components

    -Looked in Reliability History in the Control Panel (found nothing)

    -Uninstalled all Office apps (except Teams) including OneDrive, reinstalled Microsoft 365 Apps for Business (which reinstalls OneDrive)

    For clarity (because I have seen 3 different versions), this is version of OneDrive in question:

    Was this answer helpful?

    8 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-07-31T01:07:10+00:00

    I have the same image. I do not have the checkboxes to turn the option off.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-07-30T16:00:32+00:00

    If do, please open OneDrive and in the Activity Center, select More > Settings. On the Settings tab, uncheck the "Save space and download files when you need them" checkbox.

    I do not see this option in the version of OneDrive I have installed, which is: Build 24.132.0701.0002 (64-bit).

    Here's the screen shot:

    Maybe I'm looking in the wrong place?

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2024-05-09T09:55:48+00:00

    Hi, NormanMcIlwaine

    Welcome to Microsoft Community.

    I realize that you've encountered a problem with OneDrive.

    I am wondering that if you turn off the file on-demand synchronization feature.

    If do, please open OneDrive and in the Activity Center, select More > Settings. On the Settings tab, uncheck the "Save space and download files when you need them" checkbox.

    Once you've done that, see if it resolves the issue.

    Please feel free to let me know how it goes.

    Best Regards,

    Cece | Microsoft Community Support Specialist

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments