penjpn.dll Error in Windows 10 and 11: Japanese handwriting input support

Windows may draw pen strokes but stop recognizing Japanese characters in a supported handwriting surface.
The Windows file inventory identifies penjpn.dll as Microsoft Tablet PC Component. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Check that Japanese recognition is selected and compare a short known kana sample with actual strokes and supported IME options.
Use the same short kana sample each time. In the supported handwriting surface, write あ with Japanese selected and check whether the strokes appear and whether the correct candidate is offered. See Microsoft’s Japanese IME guide for input controls. If strokes appear but the candidate does not, record the chosen language and affected surface. After repair, repeat the same sample and confirm the character can be accepted.
Repair the affected feature
Install the official Japanese handwriting component and supported pen updates. Keep another 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
Write the same characters and verify the selected output text matches the intended Japanese sample.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.