can W7 be booted from USB3.0 port?w7 usb3.0
Posted 03 September 2016 - 03:34 AM
Im having trouble booting W7 from a USB HDD using USB3.0 ports. so far I have tried W7 Ultimate, Enterprise, Home Premium, and Embedded Standard, both x86 and x64 and all BSOD 7b error!
all boot successfully from USB2.0 and ive also installed the proper USB3.0 drivers for the AMD hardware Im trying to boot to.
Ive searched and read many posts here but have not found a definite answer yet.
Posted 03 September 2016 - 06:12 AM
Yes, if you include AMD USB 3.0 drivers, configure services amdxhc and amdhub30 at boot level. And if there is timing friendly hardware.
Posted 03 September 2016 - 10:04 AM
ive included the AMD 3.0 drivers and with embedded 7 install set up usb stack for usb booting but still get BSOD 7b.
how can I determine if hardware is timing friendly? it seems it is though because it does boot XPsp3 from USB3.0 port successfully.
i found this topic here: http://reboot.pro/to...69-usb3-issues/with lots of clues and some alternate drivers that youve experimented with but the links are bad now and only go to the reboot downloads section index page.
from that thread though, i notice that ive been trying with BIOS SATA setting @ RAID but not AHCI so I will try resetting to AHCI now, maybe thats all it is?
edit: no such luck, set to AHCI and BSOD 7b error persists
Posted 22 September 2016 - 03:36 AM
getting ready to try this again but I would like to somehow make W7 install more universal. for this, would installing onto USB with WinNTsetup or VMUSB with rufus give better chances for booting on foreign USB3.0 hardware later?
or wimb's tool is maybe the best one to use for this?
has anyone else here have good success booting w7 from USB3.0 on foreign hardwares after install? ifso any tips you can share?
just wanting to make the most universal w7 that boots from usb3.0 and maybe even EFI systems but I dont have any EFI stuff to test with. only recently got USB3.0 and was very surprised that W7 has difficulties with this since XP does not at all.
Posted 02 October 2016 - 03:25 PM
Run dism.exe and integrate the USB 3 drivers to offline files.
And configure configure services to load early at boot.
Dism.exe /Image:U:\ /Add-Driver /Driver:"\driver\USB3\Win7_x64" /Recurse /ForceUnsigned
Adjust USB drive letter U: and driver path.
Generic boot example:
reg.exe add "%Services%\myusb" /f /t REG_DWORD /v "Bootflags" /d 2
To set driver load run
Intel offers conflicting driver versions, there are equal file names at 7-Series and 8-Series USB drivers. Do not include different driver versions.
Use a modded inf instead.
@echo off setlocal EnableExtensions EnableDelayedExpansion rem set Windows7 USB 3 boot mode rem include drivers with 'dism /Add-Driver' first rem Dism.exe /Image:U:\ /Add-Driver /Driver:"\driver\USB3\Win7_x64" /Recurse /ForceUnsigned rem rem fix_USB3_boot.cmd v0.01 rem created by cdob rem read command line set WinRoot=. if not %1.==. set WinRoot=%1 if not exist "%WinRoot%\Windows\System32\config\system" set /P WinRoot=Path to your Windows Root folder on usb drive (E:\): if not exist "%WinRoot%\Windows\System32\config\system" (echo Error: target not found &pause &popd &goto :eof) pushd "%WinRoot%" set WinRoot=%cd% echo backup Windows\System32\config\system copy Windows\System32\config\system Windows\System32\config\system.%random%.sav reg.exe unload HKLM\loaded_SYSTEM >nul 2>&1 echo load registry file %cd%\Windows\System32\config\system reg.exe load HKLM\loaded_SYSTEM Windows\System32\config\system set ControlSet=001 reg.exe query "HKLM\loaded_SYSTEM\Select" /v "%1" >nul 2>&1 && ( for /f "skip=2 tokens=3" %%a in ('reg.exe query "HKLM\loaded_SYSTEM\Select" /v "%1"') do set /a ControlSet=%%a set ControlSet=000!ControlSet! ) set ControlSet=HKLM\loaded_SYSTEM\ControlSet%ControlSet:~-3% echo. &echo ControlSet "%ControlSet%" used. set Control=%ControlSet%\Control set CriticalDeviceDatabase=%ControlSet%\Control\CriticalDeviceDatabase set Services=%ControlSet%\Services if /I %2.==/boot_zero. ( rem fixed known driver names, for %%a in (amdxhc amdhub30 amdhub31 amdxhc31 EtronHUB3 EtronSTOR EtronXHCI FLxHCIh FLxHCIc iusb3hcs iusb3xhc iusb3hub nusb3hub nusb3xhc rusb3hub rusb3xhc tihub3 tixhci VUSB3HUB xhcdrv) do call :boot_zero %%a ) else ( rem http://msdn.microsoft.com/en-us/library/ff794567(v=winembedded.1001).aspx rem Deploying Microsoft Hyper-V Server 2008 R2 on USB Flash Drive rem http://technet.microsoft.com/en-us/library/ee731893%28WS.10%29.aspx reg.exe add %Control%\PnP /f /v PollBootPartitionTimeout /t REG_DWORD /d 30000 rem Loads VHD, SD, and USB boot drivers. reg.exe add %Control% /f /v BootDriverFlags /t REG_DWORD /d 0x6 rem fixed known driver names, for %%a in (amdxhc amdhub30 amdhub31 amdxhc31 EtronHUB3 EtronSTOR EtronXHCI FLxHCIh FLxHCIc iusb3hcs iusb3xhc iusb3hub nusb3hub nusb3xhc rusb3hub rusb3xhc tihub3 tixhci VUSB3HUB xhcdrv) do call :addBootflags %%a ) rem excluded: asmthub3 asmtxhci reg.exe unload HKLM\loaded_SYSTEM popd pause goto :eof ============================================================= :addBootflags ========================================================= echo. &echo %1 reg.exe query "%Services%\%1" 1>nul 2>nul && ( echo %Services%\%1 does exist reg.exe query "%Services%\%1" /v "Bootflags" 1>nul 2>nul || ( echo reg.exe add "%Services%\%1" /f /t REG_DWORD /v "Bootflags" /d 2 reg.exe add "%Services%\%1" /f /t REG_DWORD /v "Bootflags" /d 2 ) ) goto :eof ============================================================ :boot_zero ============================================================ reg.exe add "%Services%\%1" /f /v "Group" /d "System Bus Extender" reg.exe add "%Services%\%1" /f /t REG_DWORD /v "Start" /d 0 reg.exe add "%Services%\%1" /f /v "Group" /d "System Bus Extender" reg.exe add "%Services%\%1" /f /t REG_DWORD /v "Start" /d 0 goto :eof ============================================================
Posted 02 October 2016 - 07:47 PM
Easiest way is to boot to a Win8 or Win10 Install ISO
use diskpart to make the partitions (Latest WinNTSetup supports diskpart scripts)
use WinNTSetup to install Win7
Posted 06 October 2016 - 01:01 AM
cdob, that looks very helpful for this. i think i can work with the dism and fix_USB3_boot.cmd parts but not sure how to do this "reg.exe add "%Services%\myusb" /f /t REG_DWORD /v "Bootflags" /d 2"
can i somehow accomplish the same as this by loading a registry hive and editing it offline from another OS or by making a .reg file and running it from withing this OS for this? I dont think ive worked with the registry before like the way you show here so Im not sure about it.
it seems like it goes into a .cmd maybe but why not it is in the fix_USB3_boot.cmd already?
it may be some time before i can get back to this project before i can try this but need to be clear on this part first:
Generic boot example:
reg.exe add "%Services%\myusb" /f /t REG_DWORD /v "Bootflags" /d 2
Posted 16 April 2022 - 03:56 PM
sorry for 5 year old bump and sounding dumb, but i used the forementioned command on a W7 usb install but it still doesn't work on usb 3.0 port
i don't have a usb 2.0 port to do the usb sorry
yes i have the intel usb 3.0 drivers in the drive
Posted 24 April 2022 - 03:40 PM
actually, i used winntsetup and added the intel usb 3.0 drivers (i think the drivers were configured to load at start automatically), and then i booted but when the windows logo begins to appear it goes to a bsod with 0x7e with a pcw.sys error
can this be fixed?
Posted 24 April 2022 - 07:07 PM
I suggest to use New version WinNTSetup v5.2.4
From this post: http://reboot.pro/in...e=5#entry221241
New WinNTSetup v5.2.4 is available:
- fixed Regimport did not support multi line binary data with inline comments
- MinWin: added support for Unicode / UTF-8 text files
- MinWin: added support for subfolders
- MinWin: text files can have condition on first line to enable/disable the entire file
Posted 25 April 2022 - 11:57 PM
so i deleted pcw.sys, and it got past the starting windows screen saying (setup is updating registry settings)
the install devices screen is running very slow, so i'll take a look at it later
Posted 30 April 2022 - 02:24 AM
the windows 7 usb on flash works although some features in windows 7 don't work and it's slow usually.
what i did was:
1. i put vanilla win7 sp1 x64 (the successful attempt was with professional but any version can work) into winntsetup, then selected the usb drive, and added the intel usb 3.0 drivers to setup. (some tweaks i didn't have to do were done)
2. ran the installation script with usb boot enabled.
3. removed or renamed the pcw.sys driver, so it can boot up successfully (0x7e pcw.sys error occurs if i leave it alone)
4. booted from usb
5. when the drivers are getting installed, i change the usb service registry because they've changed (start=0), (group=system bus extender)
6. it reboots and now it worked
7. optionally, i installed the drivers such as the wifi.
task manager crashes, and for some weird reason or i was stupidly dumb, pinning anything to the taskbar doesn't work
yes i used a usb flash drive. no vhd
something must've gone wrong if you tried my steps but still get a 0x7b error (the usb boot drivers didn't load quick somehow, this is one of the reasons)
Posted 01 May 2022 - 09:04 PM
alternatively, i set pcw.sys service's registry start value to 3, and it got past the starting windows screen and onto setup is updating registry settings. dunno if it will work when setup is complete, i'll edit the post once it's done.
Posted 08 May 2022 - 09:41 PM
sorry but it still works when pcw.sys's start value is 3.
anyways i wonder if it's possible to get the generic usb 3.0 driver to boot usb windows 7, because for some reason booting with that driver doesn't work when i used this driver
Edited by Chuterix, 08 May 2022 - 09:41 PM.
Posted 3 weeks ago
Don't do No.3 of my steps unless you do get the 0x7E error. For some reason, I cannot edit my past posts.
My experiments were tested with the only 2 laptops (No I did not test it on my main PC) we have in the house that came with just Windows 10 on them.
One of them BSODed the pcw.sys error and the other one didn't and sucessfully booted. I think the task manager did not work because pcw.sys did not start yet.
I also tested the installation method on my recently bought external hard drive and it works.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users