osksupport.dll Error in Windows 10 and 11: Windows On-Screen Keyboard support

Windows may still respond to a hardware keyboard while its On-Screen Keyboard fails to appear.
The Windows file inventory identifies osksupport.dll as Microsoft On-Screen Keyboard Support Utilities. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Open the official Accessibility setting and compare behavior with a working input method. Check whether the affected view is local or managed.
Open the accessibility keyboard directly. On Windows 11 go to Settings → Accessibility → Keyboard and turn on On-Screen Keyboard if available. In Notepad, try entering test 123 with it. If this works and only a touch keyboard or original app fails, record each result separately. Microsoft distinguishes the on-screen accessibility and touch keyboards.
Repair the affected feature
Use Windows accessibility settings and official system updates. Keep a physical or alternate input method available while testing.
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
Open the On-Screen Keyboard twice and confirm it sends input to a normal local text field.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.