By default, Windows 10 and 11 don't support PS/2 keyboards.
To enable PS/2 keyboard support:
- Open Windows Registry Editor.
- Navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > i8042prt
- Set the default value for Start to 1.
- Restart the PC.