inputinjectionbroker.dll Error in Windows 10 and 11: Approved Windows input automation test

On a Windows developer test machine, a documented accessibility or UI test cannot use its approved input feature and records inputinjectionbroker.dll.
The Windows file inventory identifies inputinjectionbroker.dll as Broker for WinRT input injection.. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Check whether ordinary physical input works and confirm the test app has its publisher-documented Windows support and permissions. Capture the exact exception in an isolated test environment.
Repair the affected feature
Update the approved app or test runner and Windows. Have the app owner use its documented supported test configuration without changing system isolation or security permissions.
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
Run the original harmless UI test on the test system and verify the intended result and ordinary physical input both work.
See the publisher’s guidance, the exact Windows file record, and the DLL Errors & Fixes Library and the dcomp.dll troubleshooting guide.