kbdth0.dll Error in Windows 10 and 11: Thai Kedmanee Keyboard Layout

Test Thai Kedmanee when a key sends a different character than its physical label, or Windows reports kbdth0.dll on switching layouts. The active layout can be tested with the two documented positions below.
Microsoft lists 0000041E as the identifier for Thai Kedmanee. The Windows file inventory identifies kbdth0.dll as Thai Kedmanee Keyboard Layout. Microsoft records its introduction as pre-XP in Microsoft’s layout index.
Check the active layout
Switch with Win + Space while Notepad is focused. Select Thai Kedmanee, matching the whole name. Turn Caps Lock off and count physical character keys from the specified anchor, regardless of the legends printed on your keyboard.
The Thai Kedmanee keyboard diagram shows the expected output for each mode.
Press the first character key to the right of Tab with no modifier held. Look for ๆ (THAI CHARACTER MAIYAMOK, U+0E46).
Press the fourth character key to the right of Caps Lock while holding Shift. Look for โ (THAI CHARACTER SARA O, U+0E42).
If neither result matches, confirm that Thai Kedmanee remains selected with Notepad in focus. Then compare both positions with the Windows On-Screen Keyboard. Agreement there with a mismatch on the physical board points to the device or a key remapper. Agreement on both devices in Notepad helps isolate a failure in a single app.
Repair the input profile
Open Settings › Time & language › Language & region on Windows 11, or Settings › Time & Language › Language on Windows 10. Open the installed language’s options and add Thai Kedmanee under Keyboards if available. If it is already installed and another usable layout is available, remove and add this entry back. See Microsoft’s keyboard settings.
If a supported build fails to load this layout in multiple local apps and still names the Windows copy of kbdth0.dll, record the file path and error code. Use Microsoft’s System File Checker instructions for evidence of system file corruption. For an error pointing into a separate app’s folder, repair the app through its publisher.
Verify the two key positions
After signing back in, reopen Notepad and select Thai Kedmanee. Repeat the first position from Tab and the fourth position from Caps Lock using the same modifier conditions. Confirm both characters, then repeat the original action in the affected program.
For input failures across Windows text fields, see the PC Repair Atlas guide to InputHost.dll. The exact Windows file record documents the binary identity.