注册表禁止使用USB存储设备 win7禁用usb存储设备

禁止使用USB存储设备的注册表内容如下:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUSBSTOR]

"Type"=dword:00000001

"Start"=dword:00000004

"ErrorControl"=dword:00000001

"ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,

52,00,49,00,56,00,45,00,52,00,53,00,5c,00,55,00,53,00,42,00,53,00,54,00,4f,

00,52,00,2e,00,53,00,59,00,53,00,00,00

"DisplayName"="USB Mass Storage Driver"

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUSBSTORSecurity]

"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,

00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,

00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,

05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,

20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,

00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,

00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUSBSTOREnum]

"Count"=dword:00000000

"NextInstance"=dword:00000000

在记事本把上面的代码保存成一个名为lockusb.reg的reg文件,然后双击该文件导入注册表就完成了禁止该计算机使用USB存储设备的操作。所有用户都无法用USB存储设备了。

开启USB存储设备使用权限的注册表内容如下:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUSBSTOR]

"Type"=dword:00000001

"Start"=dword:00000003

"ErrorControl"=dword:00000001

"ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,

52,00,49,00,56,00,45,00,52,00,53,00,5c,00,55,00,53,00,42,00,53,00,54,00,4f,

00,52,00,2e,00,53,00,59,00,53,00,00,00

"DisplayName"="USB Mass Storage Driver"

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUSBSTORSecurity]

"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,

00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,

00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,

05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,

20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,

00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,

00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUSBSTOREnum]

"Count"=dword:00000000

"NextInstance"=dword:00000000

上面的代码保存成一个以unlockusb.reg后缀的reg文件,双击该文件导入注册表就完成了开启该计算机使用USB存储设备的操作。所有用户都可以使用USB存储设备。

注意:USB的键盘鼠标还是可以使用的.只是禁用了USB的存储.

  

爱华网本文地址 » http://www.413yy.cn/a/25101017/353694.html

更多阅读

WIN7系统如何恢复注册表 win7注册表恢复默认值

来源:U大师U盘装系统当系统由于注册表问题而出现故障时,可以通过恢复注册表来解决系统故障。那么,如何恢复注册表?今天小编教大家方法。注册表出现问题,想要恢复注册表,可以按如下步骤解决:1.可以使用系统本身备份的注册表文件替

win7怎么打开注册表 regedit如何打开 win7

win7怎么打开注册表——简介注册表(Registry,繁体中文版Windows称之为登录)是Microsoft Windows中的一个重要的数据库,用于存储系统和应用程序的设置信息。早在Windows 3.0推出OLE技术的时候,注册表

声明:《注册表禁止使用USB存储设备 win7禁用usb存储设备》为网友半醉看夕阳分享!如侵犯到您的合法权益请联系我们删除