Deleting the driver using the PnPUtil causes problem on Win10 1909.

Hi All,

On my Win10 1909 ARM64 and X64 test machine, I used the command the tool PnPUtil to delete the driver package as the following steps.

  1. Power on the Bluetooth mouse and pair it to the test machine.
  2. Install the older mouse filter driver using the command line “PnPUtil /add-driver”.
  3. Power off the mouse.
  4. Uninstall the driver using the command line “PnPUtil /delete-driver”. The information in the setupapi.dev.log is as below:
    flq: {FILE_QUEUE_BACKUP_FILE exit OK}
    flq: DeleteFile: ‘C:\WINDOWS\System32\drivers\pointARM64.sys’
    flq: DeleteFile: ‘C:\WINDOWS\System32\drivers\pointARM64.sys’
    ! flq: DeleteFile: FAILED
    ! flq: Error 5: Access is denied.
    ! flq: Skipping attempt at delayed delete - file NOT deleted
    cpy: Shuffle-deleted file ‘C:\WINDOWS\System32\drivers\pointARM64.sys’.
  5. Install the newer mouse filter driver.
  6. Power on the mouse again.
  7. An exclamation mark displays on the mouse device node of the Device Manager and the mouse doesn’t work anymore. The information in the setupapi.dev.log as below:
    inf: LoadOrderGroup=“Pointer Port” (pointarm64.inf line 191)
    !!! dvi: Add Service: Failed to create service ‘PointARM64’.
    !!! dvi: Error 1072: The specified service has been marked for deletion.
    inf: {Install Inf Section [HID_Filtr_Inst.NT.Services] exit(0x00000430)}
    inf: Error 1072: The specified service has been marked for deletion.
    !!! dvi: Error while installing services.
    !!! dvi: Error 1072: The specified service has been marked for deletion.
    !!! dvi: Cleaning up failed installation
    !!! dvi: Error 1072: The specified service has been marked for deletion.
    dvi: {Install DEVICE exit (0x00000430)}
    !!! dvi: Cleaning up failed installation (00000430)
    !!! dvi: Default installer: failed
    !!! dvi: Error 1072: The specified service has been marked for deletion.
    dvi: {DIF_INSTALLDEVICE - exit(0x00000430)} 10:25:35.083
    !!! dvi: Error(00000430) installing device!
    dvi: Device install status: 0x00000430

However, the issue doesn’t happen on the Win10 2004. It displays a Reboot reminding dialog after the Step 7 but the mouse is still working well.

Any workaround solution to fix this? I tried to use 2004 PnPUtil on the 1909 machines but it displays the error like “the command doesn’t support the OS”.

Thanks,
Marshall