docking.virtualinput.dll Error in Windows 10 and 11: Wireless dock input recovery

A wireless dock display works but an input device connected through it stops responding and diagnostic information names docking.virtualinput.dll.
The Windows file inventory identifies docking.virtualinput.dll as Docking.VirtualInput. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Connect a known working local keyboard or mouse first. Compare the device through the dock and directly at the PC, then record the dock model, firmware and host build.
Repair the affected feature
Use the dock manufacturer's supported pairing and firmware updates along with Windows Update. Reconnect only the affected dock after creating an alternate input path.
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
Reconnect the dock and verify its original input device performs a simple test alongside the intended display output.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.