Make sure you match your Windows version (e.g., Windows 11 64-bit, Windows 10 64-bit). Do not install drivers for a different OS—it will cause errors.
If you are installing a driver manually (a .inf file), you can do so through the by right-clicking on the device and selecting "Update Driver". Alternative: Using Windows Update hp tpn-c126 drivers