usb禁用在Windows 7中不起作用 [英] usb disabling is not working in windows 7

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

问题描述

我需要在Windows 7机器上禁用USB驱动器。

我使用了以下注册表项..



HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet \Services\USBSTOR



键名:开始并将值设置为4.





其工作原理windows xp机器,它不适用于windwos 7机器。



Wat可能是???的原因。任何组策略都会阻止此操作。



重新启动机器后我已经累了。

I need to disable the usb drive on windows 7 machine.
I have used the following registry key ..

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR

key name: start and set the value to 4.


Its working for windows xp machine, and its not working for windwos 7 machine.

Wat might be the reason???. Any group policy will prevent this.

I have tired after restating the machine also.

推荐答案

在Windows Vista及更高版本的Windows中,UAC的概念补充说,阻止用户更改系统设置。



写入HKLM需要管理员权限。因此,您必须在代码中设置管理员权限,以便在管理员权限模式下运行应用程序。
In Windows Vista and later version of Windows , the concept of UAC added that prevents users to change the system settings.

Writing into HKLM requires Admin privilege. so you have to set the admin privilege in your code for running application in Admin privilege mode.


您是否检查过: http://www.sevenforums.com/tutorials/181611-usb-storage-device-enable-disable-connecting.html [ ^ ]?



-SA
Did you check this: http://www.sevenforums.com/tutorials/181611-usb-storage-device-enable-disable-connecting.html[^]?

—SA


这篇关于usb禁用在Windows 7中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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