duser.dll Error in Windows 10 and 11: Windows DirectUser engine

A supported built-in interface hangs when opening a view based on Windows direct user-interface components. If the message or log names duser.dll, capture the full path, Windows build and time of the failure.
Microsoft binary metadata identifies this file as Windows DirectUser Engine. Use the filename as a diagnostic clue and check the action that failed before repairing Windows.
Isolate the failure
Record the exact window and first event. Compare the same action in another Windows user profile if available.
Repair the affected component
Use Windows’ supported application or component repair according to whether the fault is isolated. Keep third-party replacement UI components out of the test.
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 original interface opens and can complete the intended action repeatedly.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.