Microsoft.Windows.DSC.CoreConfProviders.dll Error in Windows 10 and 11

If a configuration check names Microsoft.Windows.DSC.CoreConfProviders.dll, open Windows PowerShell on the PC where the job actually ran. Try the read-only resource check below before applying the configuration again. It helps separate a Windows component loading problem from one job with a stale path, missing prerequisites or the wrong PowerShell host.
What this filename tells you
Microsoft lists the exact file in the Windows 10 22H2 update file information for KB5066198 and in the Windows 11 update file information for KB5132061. The Windows 10 list reports file version 10.0.19041.3636 and the Windows 11 list includes 10.0.26100.9974. Your own file version can differ. Treat a version from an update list as evidence for that package and build.
Desired State Configuration, or DSC, lets an administrator describe a machine setting in code and check or apply it through a resource. Microsoft documents PSDesiredStateConfiguration 1.1 as the module in Windows PowerShell 5.1. This guide uses this version’s discovery and event checks when the exact file appears in an error. If your event names the shorter dsccoreconfprov.dll, use the guide for that Windows DSC provider filename.
1. Check which PowerShell host and resource you have
- Write down the console or management app name, the command, the local time and the exact text of its first error. If the tool ran the job remotely, record the target computer. Run the next checks on that computer, or give them to whoever administers it.
- Search Start for Windows PowerShell, open it and run
$PSVersionTable.PSVersion. For this walkthrough the major and minor version should be 5 and 1. If the failing window used PowerShell 7 or the dsc command, have the job owner compare the required version with the job’s configuration before changing Windows. Keep both versions installed if other work depends on them. - In Windows PowerShell 5.1, run
Get-DscResource -Name File. The built-in File resource manages files and folders in this DSC version. The discovery command should show a matching resource without changing a file. Write down the module and version if multiple entries appear. A returned entry shows that discovery works. The next check is whether the specific job can use its intended inputs. - If the original job used a different resource, give its exact name to
Get-DscResource -Name, using the module or resource listed by your job owner. A failure for that resource alone is a reason to check its required module and the version the configuration calls for. An explicit load failure for the Microsoft DLL during discovery is a reason to examine the Windows event record next.
2. Read the event for the failed job
- Search Start for Event Viewer. Open Applications and Services Logs → Microsoft → Windows → DSC → Operational. Match the error by time and then copy the job ID, the resource name and the actual error text. The job ID helps you collect entries that belong to the same attempt.
- Read the matching error before changing any setting. Microsoft’s DSC troubleshooting guide shows how to find errors and resource details by job. If this log is unavailable to you, give IT the timestamp and the target computer instead of changing logging permissions.
Example: Discovery lists File but the corresponding event says its source path was inaccessible. Ask the configuration owner to check that exact location from the target PC and under the account the job uses. A path you can open in File Explorer under your own account can still be unavailable to the job. Ask the owner to run the approved check after correcting the path or restoring approved access.
Example: Discovery fails in a fresh Windows PowerShell 5.1 window and the first error explicitly names Microsoft.Windows.DSC.CoreConfProviders.dll. Save any reported file path and version, then check whether other built-in Windows features also fail. If the message only occurs in a management app that carries its own copy, give that path to the app owner so they can verify the package they installed.
Keep the first and second job IDs separate. The event after a change should have a new time and match the same target and resource. If the File check now succeeds and a later resource reports a different problem, give the owner that new resource name. This helps you stop troubleshooting the provider once the configuration has advanced past it.
3. Repair the Windows copy when other built-in checks also fail
- On Windows 11, go to Settings → Windows Update. On Windows 10, go to Settings → Update & Security → Windows Update. Use updates offered for that PC and restart when requested. On a managed device, follow your IT team’s update policy. Write down any update failure code so it can be investigated separately.
- If the same component error persists across built-in checks, search Start for Command Prompt and choose Run as administrator. Run
DISM.exe /Online /Cleanup-Image /RestoreHealth. When it completes successfully, runsfc /scannow. These repair Windows components and protected system files. Follow Microsoft’s repair instructions for an error that cannot be repaired. - In Windows PowerShell 5.1 on the same PC, repeat
Get-DscResource -Name Fileand record the result. Have the job owner repeat the original approved check. You are finished when the named resource resolves, the original task completes and the fresh job has no matching provider failure. If discovery succeeds but the job still fails, pass along the new job ID and the first resource error.