在 Windows 服务中禁用特定的 USB 磁盘 [英] disable specific usb disk in windows service

查看:24
本文介绍了在 Windows 服务中禁用特定的 USB 磁盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道如何防止特定的 USB 磁盘/闪存安装在 Windows 服务中?我不想禁用所有 USB 端口,我只是阻止安装特定的 USB 磁盘.我使用的是 Windows 7.

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.

推荐答案

是的,可以使用 Kernel-Mode Filter Driver 禁用 USB 磁盘.

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

几年前,我写了一个项目,只接受带有指定 VID\PIDUSB 磁盘.不幸的是,我找不到这个项目.

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

这篇关于在 Windows 服务中禁用特定的 USB 磁盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆