remotepg.dll Error in Windows 10 and 11: Remote sessions setting panel

A Windows property extension fails when viewing remote-session settings.
The Windows file inventory identifies remotepg.dll as Remote Sessions CPL Extension. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Compare the built-in Remote Desktop Settings page with the older property dialog. Confirm the edition supports acting as a host.
Go to Settings > System > About and note the Windows edition. On a supported Remote Desktop host, compare Settings > System > Remote Desktop with the older dialog that fails, without changing either. If the modern page shows the expected managed state and only the older dialog crashes, report that exact dialog and time. Microsoft explains which editions can act as a host.
Repair the affected feature
Service Windows when two system dialogs fail. Managed remote settings should be corrected through the administrator’s existing device policy.
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 appropriate Settings page, then verify a previously authorized client session still connects.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.