usb-boot-watcher icon indicating copy to clipboard operation
usb-boot-watcher copied to clipboard

Tutorial

Open acoul opened this issue 2 years ago • 0 comments

FWIW, here is some documentation from Stingerxxx@TomsHardware about this neat utility:

  1. Class. The default class for my driver was Base, meaning it was a base driver to be loaded after the boot time drivers were already initialized. The answer is deceptively simple. Change the class. The correct class in this case is Boot Bus Extender.

  2. a DWORD entry needed to be made, called BootDriverFlags. The value for this needed to be set to 4, as that is the value for USB drivers and the value that currentcontrolset is set to look for when loading boot time drivers.

  3. tag needed to be changed. After a short deal of looking, I found that tag merely means load order in the class it is in. Since I changed the class, the order needed to be similarly changed. There were two keys to change, and uhci is set to 16. I set the hub to 14 and the driver itself to 15.

  4. start needs to be changed. The new value is 0.

  5. is to edit something called USB Boot Watcher Service. There are two files, an .EXE that loads CMD up and does basically nothing else. The .conf file, however, is the brains of its' operation. Inside it are the keys that load up with the Boot Bus Extender class. The only thing that needs to be done here is to add the names of the keys that you are editing inside brackets, like [example] and then copy the text below any other bracketed name and paste it below your new entries. Ensure all entries are identical except for the names inside brackets, double check the changes inside the registry, ensuring that all necessary areas are edited and nothing else, close registry and reboot. It worked like a charm for me, no hiccups or issues otherwise.

Running Windows 7 from USB Guide

Posted by Bootstrapper on February 27, 2010

A Pre-requisite is installing your windows 7 on SATA/IDE.

Connect your drive via USB and boot with the Windows 7 installation CD.
Press shift+F10 to get to the console.
Run regedit.exe.
Goto HKEY_LOCAL_MACHINE
Press File – Load Hive
Select the File System under yourHDD\Windows\System32\Config
Enter key "systemdst
Import the following regedit script.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\systemdst\ControlSet001\Control\CrashControl] "AutoReboot"=dword:00000000

[HKEY_LOCAL_MACHINE\systemdst\ControlSet001\Services\Usb Boot Watcher Service] "Type"=dword:00000010 "Start"=dword:00000002 "ErrorControl"=dword:00000000 "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 "DisplayName"="Usb Boot Watcher Service" "ObjectName"="LocalSystem"

[HKEY_LOCAL_MACHINE\systemdst\ControlSet001\Services\Usb Boot Watcher Service\Enum] "0"="Root\LEGACY_USB_BOOT_WATCHER_SERVICE\000" "Count"=dword:00000001 "NextInstance"=dword:00000001

[HKEY_LOCAL_MACHINE\systemdst\ControlSet001\Services\Usb Boot Watcher Service\Security] "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_MACHINE\systemdst\ControlSet001\Services\usbehci] "Type"=dword:00000001 "Start"=dword:00000000 "ErrorControl"=dword:00000001 "Group"="Boot Bus Extender"

[HKEY_LOCAL_MACHINE\systemdst\ControlSet001\Services\usbhub] "Type"=dword:00000001 "Start"=dword:00000000 "ErrorControl"=dword:00000001 "Group"="Boot Bus Extender"

[HKEY_LOCAL_MACHINE\systemdst\ControlSet001\Services\usbohci] "Type"=dword:00000001 "Start"=dword:00000000 "ErrorControl"=dword:00000001 "Group"="Boot Bus Extender"

[HKEY_LOCAL_MACHINE\systemdst\ControlSet001\Services\usbstor] "Type"=dword:00000001 "Start"=dword:00000000 "ErrorControl"=dword:00000001 "Group"="Boot Bus Extender"

[HKEY_LOCAL_MACHINE\systemdst\ControlSet001\Services\usbuhci] "Type"=dword:00000001 "Start"=dword:00000000 "ErrorControl"=dword:00000001 "Group"="Boot Bus Extender"

System will now boot to windows without a blue screen. A new hardware will be detected and you will have to repeat the steps again.

acoul avatar Mar 20 '23 13:03 acoul