http://support.microsoft.com/default.aspx?scid=kb;zh-cn;823732
如果你要是懒的看,我这里有两个注册表文件,可以很简单的实现。也提供给你吧。
usb恢复.reg
Windows Registry Editor Version
5.00
[ HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUSBSTOR ]
" Start " = dword: 00000003
[ HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUSBSTOR ]
" Start " = dword: 00000003
usb禁止.reg
Windows Registry Editor Version
5.00
[ HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUSBSTOR ]
" Start " = dword: 00000004
[ HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUSBSTOR ]
" Start " = dword: 00000004