How to temporary boot into hard disk if my first boot option is USB?

  1. Posts : 18
    windows 10

    How to temporary boot into hard disk if my first boot option is USB?

    I'm making a image for installation of windows 10.
    I make a USB flash drive with WINPE. and once the device starts into WINPE, it will automatically start to install windows 10 by calling "dism /apply-image".
    Normally i just shutdown the computer after installation, but now i want to reboot the device and boot into the windows i just installed. But i can't, because if i reboot the device, it will boot into WINPE again and start another turn of installation of windows.
    How could i temporary boot into my windows 10?
      My Computer

  2. Posts : 18,438
    Windows 11 Pro

    Seems like you are doing it backwards. Set the hard drive as the primary boot device and temporarily boot the USB flash drive the first time. Then on restarting the first time during the Windows 10 install it will boot to the hard drive and ignore the USB flash drive.
      My Computer

  3. Posts : 18
    windows 10
    Thread Starter

    Actually, I have to set default option to USB. Because my device is a tablet without keyboard. it's really hard to enter BIOS setup UI.
    So set USB as default options provide better experience
      My Computer

  4. Posts : 18
    windows 10
    Thread Starter

    Maybe i can change the way of doing it.
    Is there any way to change the BCD of WINPE in USB Flash to temporarily boot into hard disk windows?

    I did this:
    1. after installation, i use ""bcdedit /set {cbd971bf-b7b8-4885-951a-fa03044f5d71} device partition=W:" ""bcdedit /bootsequence {cbd971bf-b7b8-4885-951a-fa03044f5d71}". Where W is the partition where i install my windows.
    2. But W: is temporary in WINPE, after reboot, it can't find W partition, and reboot into WINPE again.

    Is there any resolution?
    Last edited by demonguy; 16 Dec 2015 at 04:10.
      My Computer

  5. Posts : 18
    windows 10
    Thread Starter

    I successfully change the USB BCD and boot into windows from USB
    But when windows is booting, i got this error "windows could not update the computer's boot configuration"
      My Computer


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 01:19.
Find Us

Windows 10 Forums