Windows Registry Editor Version 5.00

;添加usb boot watcher监视程序
;add usb boot watcher
[HKEY_LOCAL_MACHINE\sys\ControlSet001\services\Usb Boot Watcher Service]
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
  74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,55,\
  00,73,00,62,00,42,00,6f,00,6f,00,74,00,57,00,61,00,74,00,63,00,68,00,65,00,\
  72,00,2e,00,65,00,78,00,65,00,00,00
"ObjectName"=hex(2):4c,00,6f,00,63,00,61,00,6c,00,53,00,79,00,73,00,74,00,65,\
  00,6d,00,00,00
"Start"=dword:00000002
;type=0x20使得此服务在硬件扫描阶段就开启
;type=0x20 to let the service start during the stage of "specialize"
"Type"=dword:00000020
"ErrorControl"=dword:00000001

;让usb boot watcher在安全模式下开启
;make the usb boot watcher start in safe mode
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\SafeBoot\Minimal\Usb Boot Watcher Service]
@="Service"
;让usb boot watcher在带网络的安全模式下开启
;make the usb boot watcher start in safe mode with networking
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\SafeBoot\Network\Usb Boot Watcher Service]
@="Service"

;第一次usb启动时要把下面驱动设为启动时加载
;set the following usb drivers to load at the first boot
[HKEY_LOCAL_MACHINE\sys\ControlSet001\services\usbccgp]
"Start"=dword:00000000
"Group"="boot bus extender"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\services\usbehci]
"Start"=dword:00000000
"Group"="boot bus extender"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\services\usbhub]
"Start"=dword:00000000
"Group"="boot bus extender"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\services\usbohci]
"Start"=dword:00000000
"Group"="boot bus extender"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\services\USBSTOR]
"Start"=dword:00000000
"Group"="boot bus extender"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\services\usbuhci]
"Start"=dword:00000000
"Group"="boot bus extender"

;禁止蓝屏时自动重启
;disable auto reboot when bsod happens
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\CrashControl]
"AutoReboot"=dword:00000000