Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UsbDk cause win10 system in vhdx fail to startup #127

Open
owenstake opened this issue Dec 20, 2023 · 10 comments
Open

UsbDk cause win10 system in vhdx fail to startup #127

owenstake opened this issue Dec 20, 2023 · 10 comments

Comments

@owenstake
Copy link

owenstake commented Dec 20, 2023

My win10 system is installed in vhdx file in usb harddisk (usb connected). After install UsbDk driver, this win10 system is fail to startup.
There are two way to avoid it with pain:

  1. Remove the UsbDk driver, win10 finally startup.
  2. Move the vhdx file to the main harddisk (sata connected) to startup
@ybendito
Copy link
Collaborator

Thank you for the report. I suspect that because the usbdk is defined as system service and not as as boot service. I can't recommend any workaround right now except of running it from the HDD. Please let the issue open, if we find some workaround we update the issue.

@ybendito
Copy link
Collaborator

@owenstake Did the system ask you to reboot when you tried to istall the USBDK?

@owenstake
Copy link
Author

@owenstake Did the system ask you to reboot when you tried to istall the USBDK?

It did.

@ybendito
Copy link
Collaborator

@owenstake
Are you able to build your own usbdk driver? If so, may be I can suggest some change.

@owenstake
Copy link
Author

@owenstake Are you able to build your own usbdk driver? If so, may be I can suggest some change.

@ybendito I can try it.

@owenstake
Copy link
Author

owenstake commented Jan 9, 2024

Usbdk driver will reload all usb device at win10 system boot time to take over something, this will cause my win10 system in the usb device crashing.

@ybendito
Copy link
Collaborator

ybendito commented Jan 10, 2024

@owenstake I suggest to try one thing:
After UsbDK installation do not reboot.
Enter regedit HKLM->System->CurrentControlSet->Service->UsbDK, edit the 'Start' and create the 'Group' like that:
Capture
Then reboot
Does it help?

@owenstake
Copy link
Author

owenstake commented Jan 25, 2024

@owenstake I suggest to try one thing: After UsbDK installation do not reboot. Enter regedit HKLM->System-

@ybendito I tried but failed.

@ybendito
Copy link
Collaborator

@owenstake As far as I understand, your system is in fact something like Windows To Go (WTG).
If so, probably it should follow the same recommendations as MSFT sets for WTG, one of them - do not use non-Microsoft core USB drivers, see for ex. here
The plan regarding this issue - analyze it and decide whether we're able to support it. If not - whether we're able to prevent it. I'm not sure whether even preventing is possible: you can install the UsbDk when the VHDX file is on HDD and then move the VHDX to USB and boot from it.
I do not close the issue, leaving for further analysis.

@owenstake
Copy link
Author

@owenstake As far as I understand, your system is in fact something like Windows To Go (WTG). If so, probably it should follow the same recommendations as MSFT sets for WTG, one of them - do not use non-Microsoft core USB drivers, see for ex. here The plan regarding this issue - analyze it and decide whether we're able to support it. If not - whether we're able to prevent it. I'm not sure whether even preventing is possible: you can install the UsbDk when the VHDX file is on HDD and then move the VHDX to USB and boot from it. I do not close the issue, leaving for further analysis.

Thx for your attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants