disable specific usb disk in windows service

你。 提交于 2019-12-08 11:20:58

问题


Does anyone know how can I prevent a specific USB disk/flash from installing in a Windows Service? I don't want to disable all usb ports, I just prevent a specific usb disk from installing. I'm using windows 7.


回答1:


Yes, is possible disable USB disk, using Kernel-Mode Filter Driver.

http://msdn.microsoft.com/en-us/library/windows/hardware/ff545890%28v=vs.85%29.aspx

Few years ago, I wrote project, that accept only USB disks with specified VID\PID. Unfortunately, I can not find this project.



来源:https://stackoverflow.com/questions/10740528/disable-specific-usb-disk-in-windows-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!