How to remove incompatible drivers

Besides removing old and incompatible drivers because of a BSOD you might need to uninstall the drivers because you want to turn on Windows Memory Integrity (Settings / Privacy & Security / Windows Security / Device Security / Core Isolation) and you get an error when you try to turn it on.

Using Disk Cleanup (Easiest Method) 

  1. Open Disk Cleanup: Type Disk Cleanup in the Windows search bar and select the application.
  2. Select Drive: Choose your C: (system) drive and click OK.
  3. Select Driver Packages: In the Disk Cleanup window, check the box for “Device driver packages” and click OK to remove old drivers.

Using Device Manager (Recommended for Specific Devices)

  1. Open Device Manager: Right-click the Start button and select “Device Manager”. 
  2. Show Hidden Devices: In the Device Manager toolbar, click “View” and select “Show hidden devices”. 
  3. Find Devices: Expand the relevant categories (like “Human Interface Devices”) and look for any grayed-out or less transparent devices. 
  4. Uninstall: Right-click the old Logitech device and select “Uninstall device”. 
  5. Delete Driver Software: If the option appears, check the box labeled “Delete the driver software for this device” and click OK. 

Using PnPUtil for Stubborn Drivers (Advanced)

  1. 1. Open Command Prompt as Admin:Search for “cmd,” right-click on “Command Prompt,” and select “Run as administrator”. 
  2. 2. Export and Delete Drivers:Use dism /online /get-drivers /format:table > c:\drivers.txt to list all installed drivers and identify the specific  .inf files. 
  3. 3. Force Remove:Use the command pnputil /delete-driver <oem_number>.inf /uninstall /force for each Logitech driver you want to remove, replacing <oem_number>.inf with the actual file name.