You may have seen an error message saying “Cloud Files Diagnostic Event Listener failed to start with the following error: 0xC0000022” every time you start your computer and we understand how irritating the issue is! But what can you do now?
This error message may appear due to duplicated application files in Windows. However, many believe that the error appears after the installation of OneDrive or Office 365.
Whatever the reason is, I will describe the fixes in detail to recover you from the appeared error in this entire article. Let’s explore without wasting any of your valuable time.
Why Do “Cloud Files Diagnostic Event Listener Fail to Start With The Following Error: 0xC0000022” Occur?
The “Cloud Files Diagnostic Event Listener Fail to Start With The Following Error: 0xC0000022” mainly occurs because of the duplicated application files in the Windows operating system. However, it can occur after the installation of OneDrive or Microsoft Office 365.
According to reports, people who have faced the same issue have managed to get rid of it by disabling “Files On-Demand” in OneDrive. Again, some of them had to reinstall OneDrive to resolve it.
Also, the built-in system file checker tool of Windows is proven helpful in solving this error. Let’s try all the solutions until we completely resolve the error.
What to Do With ‘Cloud Files Diagnostic Event Listener’ Error Message
The error is not a risk factor at all. In fact, there are only a few things you may apply to fix the discussed error. These are-
- Fix 1: Disable OneDrive Files On-Demand
- Fix 2: Use System File Checker (SFC)
- Fix 3: Reinstall OneDrive
Fix 1: Disable OneDrive Files On-Demand
Follow the steps below to disable ‘Files On-Demand’ and resolve the “Cloud Files Diagnostic Event Listener Fail to Start With The Following Error: 0xC0000022” isser.
Step 1
Sign in to OneDrive on your computer.
Step 2
From the Windows taskbar notification area, click on the OneDrive cloud icon and then click on the gear icon > Settings.
Step 3
Now while in the Sync & Backup tab, click Advanced Settings.
Step 4
After that, scroll down and disable the Files On-Demand option by toggling it to Off.
Step 5
Finally, click OK to download all files to the PC.
Fix 2: Use System File Checker (SFC)
Let’s try a first-hand fix as an initial action. It is supposed to use SFC (System File Checker) to recover the cloud files. I will describe the process step by step below.
Step 1
Press the Windows key and type ‘cmd’. Accordingly, you will see the ‘Command Prompt‘ preface on the top of the appeared interface. From here, you have to select the ‘Run as administrator’ option.
Step 2
Next, you have to allow ‘User Account Control’. To do so, click on ‘Yes’.
Step 3
As a result, the ‘Command Prompt’ window will become evident. You have to copy the below text and paste it into the window.
‘SFC /scannow’
After that, hit the ‘enter’ key. Then the process will start. It may take several times to complete. Finally, check the OneDrive. It will be fine if it works. But if not, you need to follow the next fix.
Fix 3: Reinstall OneDrive
The very possible fix for the discussed error is to reinstall OneDrive. You have to work with the ‘Administrator: Command Prompt’ window again to apply the fix. The process has two parts. Firstly, you have to uninstall it. Then install it again to complete the procedure. I will give the in detail steps below.
Step 1
Tap the Windows key and type ‘cmd’. Then select the ‘Run as administrator’ option. Accordingly, you will get the window on the screen.
Step 2
Here you have to copy the below command and paste it into the window to terminate all OneDrive processes.
‘taskkill /f /im OneDrive.exe’
Hit the ‘enter’ button then.
Step 3
After that, you have to copy the below command text and paste it into the appeared window.
‘%systemroot%\SysWOW64\OneDriveSetup.exe /uninstall’
Then press the ‘enter’ button. Consequently, OneDrive will uninstall from the system.
Step 4
Next, you have to install OneDrive again. To do so, open the ‘Administrator: Command Prompt’ window. Then copy the below command text and paste it into the window.
‘%systemroot%\SysWOW64\OneDriveSetup.exe’
Then hit the ‘enter’ button. OneDrive will install within a couple of moments. You just need to follow the on-screen direction to complete the process successfully. In the end, you have to restart the PC.
Final Words
Hopefully, the OneDrive will work smoothly, and cloud files diagnostic event listener will no more exist. Additionally, I would like to remind you that you can reinstall the OneDrive by using Command Prompt only.