windows.system.userprofile.diagnosticssettings.dll Error in Windows 10 and 11: User diagnostic preference controls

A Windows privacy panel cannot display a user's diagnostic preference, and event details identify windows.system.userprofile.diagnosticssettings.dll.
The Windows file inventory identifies windows.system.userprofile.diagnosticssettings.dll as Diagnostics Settings DLL. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Check whether the setting is controlled by the organization and compare another supported privacy setting in the same account. Record the first UI or policy error.
Repair the affected feature
Install applicable Windows servicing and use the documented privacy controls. On a managed PC, ask the policy owner about a confirmed assignment inconsistency.
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 diagnostic settings and verify the expected state for the intended user persists after signing back in.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.