diagnosticdatasettings.dll Error in Windows 10 and 11: Windows diagnostic data settings

Settings closes or remains blank when opening the Diagnostics & feedback page. If the message or log names diagnosticdatasettings.dll, capture the full path, Windows build and time of the failure.
Microsoft binary metadata identifies this file as Microsoft Windows Diagnostic Data Settings. Use the filename as a diagnostic clue and check the action that failed before repairing Windows.
Isolate the failure
Check a second Settings page and note whether the diagnostic page is unavailable only under a managed account. Record which controls are affected and the Windows version.
Repair the affected component
Ask the administrator to confirm policy if the PC is managed. If other Settings pages fail too, apply Windows updates and use Microsoft’s protected file repair instructions.
For a protected Windows file, use Microsoft’s System File Checker instructions when there is evidence of Windows component damage. Keep DLLs supplied by Windows or the full vendor package.
Verify the repair
The page opens and shows the diagnostic selections permitted by the organization or local settings.
See Microsoft’s guidance for this feature, the exact Windows file record, and the related PC Repair Atlas guide.