I want to disable/corrupt/inoperable some devices by using driver. This can be easily implemented with usermod but its not safe enough. so I want a driver (sys) solution for that work.
general approach is blocked/allowed some devices via class guid ([login to view URL]) or vendor id, product id, serial number, friendlyname, bus type or another usable infomation.
for ex: I wanna disable all usb mass storage devices except vendor ID is 0BDA. when someome try to plug usb it will direct block until allowed device plugged.
in attachment you can see a few example for device blocking.
another example: I want block Network adapters with friendly name (attached file [login to view URL]). the system just block "Intel Wifi", dont block all other network adapters.
I can sign driver. the need is to write the required device block driver.I want to disable some devices by using driver
Hello. I am system programmer with more than 12 years of work. I'm familiar with WDM and can do your task qualitatively. I think you need several bus filter drivers to do that because devices can connect with several ways. So this will be not one general driver.