0

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.

AlexandruC
  • 3,527
  • 6
  • 51
  • 80

1 Answers1

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.

Xearinox
  • 3,224
  • 2
  • 24
  • 38