@eribobdid you ever solve this? i am currently facing the same issue, also with a logitech mouse. windows also keeps trying to automatically install a driver for it that makes it bsod.
edit:
turns out it was MSI afterburner causing the issue in my case. after uninstalling it and then re-attempting to install the mouse drivers there was no issue.