mpprovider.dll Error in Windows 10 and 11: Defender provider visibility

A security view reports an antimalware provider problem and names mpprovider.dll.
The Windows file inventory identifies mpprovider.dll as Microsoft Security Client Antimalware Provider. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Compare provider status from Windows Security and the app that displayed the error. Record the Windows build and any approved third-party security product.
Repair the affected feature
Update the supported provider and Windows. Leave installed protection and organization policy in place during diagnosis.
If Windows reports corruption of a protected system file, use Microsoft’s system file repair procedure. Obtain software and drivers through Windows Update or the applicable publisher.
Verify the repair
Reopen the same security view and verify that it identifies the expected provider.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.
If you need another diagnostic branch, check a separate Microsoft Defender app-scan fault.