Problem: After installing Microsoft’s Windows 10 October 2018 Patch Tuesday Update, HP device show BSOD with error message “WDF_VIOLATION”, which refers to the Windows Driver Framework, a set of tools and libraries used for the development of (kernel-mode) drivers. This problem caused by HP keyboard driver version 18.104.22.168 with known incompatibility with certain HP devices on Windows 10 versions 1803 (KB4462919) and 1809 (KB4464330).
The problem was traced back to a driver file on HP computers
C:\Windows\System32\drivers\HpqKbFiltr.sys. HpqKbFiltr.sys file is a keyboard driver and appears to be part of the HP Quick Launch Buttons software that allows you to configure various buttons to launch programs in Windows. Many of those affected reported that deleting this file solved their problems and that the devices work normally.
Microsoft released Windows 10 Critical Updates stand-alone package via Microsoft Update Catalog. Apply these if you are able to boot into Windows or have not yet restarted since applying the update.
HP Keyboard Filter Driver for Windows 10 1803 and 1809
HP Keyboard Filter Driver for Windows 10 1803 and 1809 (x64)
* Restart the computer after apply this update.
if you are unable to boot into Windows, enter Windows PE repair environment by pressing the power button on your PC each time you see the Windows flag on boot 3 times in a row, then follow below steps:
Step 1: Select Troubleshoot option > Advanced Options > Command Prompt.
Step 2: Microsoft recommend to uninstall the HP Keyboard Filter Driver using DISM:
For 32-bit versions of Windows:
dism /Image:C\ /Remove-Driver /Driver: C:\Windows\System32\DriverStore\FileRepository\hpqkbfiltr.inf_x86_f1527018cecbb8c2\HpqKbFiltr.inf
For 64-bit versions of Windows:
dism /Image:C:\ /Remove-Driver /Driver:c:\Windows\System32\driverstore\FileRepository\hpqkbfiltr.inf_amd64_714aca0508a80e9a\HpqKbFiltr.inf
Alternatively you can rename the driver HpqKbFiltr.sys to HpqKbFiltr.old using following command:
ren HpqKbFiltr.sys HpqKbFiltr.sys.old
Step 3: Reboot to normal mode.
Step 4: Apply the patch.
Microsoft Windows Support: HP Devices may experience blue screen error WDF_VIOLATION after installing HP Keyboard driver (22.214.171.124)
Microsoft Windows Support: HP devices may experience blue screen error WDF_VIOLATION after installing HP keyboard driver (version 126.96.36.199)
HP Support Community: HP Elitedesk 800 G4 Bloatware and bluescreen issue
Microsoft Update Catalog: KB4468304
Microsoft Update Catalog: HP Keyboard Filter Driver for Windows 10 1803 and 1809
Microsoft Update Catalog: HP Keyboard Filter Driver for Windows 10 1803 and 1809 (x64)