bcdedit - now unable to boot windows

Page 1 of 2 12 LastLast

  1. Posts : 53
    windows 10
       #1

    bcdedit - now unable to boot windows


    My system was in a forever cycle of just booting to the 'troubleshooting' screen or I think it's called advanced boot options. It would never boot to windows 10. This happened after some tool requested to set to 'safe mode'. So I tried to fix it but alas very incorrectly and now it is only booting just beyond bios and doing this forever. Here's what I changed:

    bcdedit /set {default} path \Windows\system32\winload.efi (it was formerly winload.exe)

    Suggestions much appreciated on how to recover back to normal.
    Thanks
      My Computer


  2. Posts : 2,324
    Win10
       #2

    if you have the Macrium Reflect BootDisk , and can boot from it ? try the option to "Fix windows Boot Problems" , it should find Windows on C:\ hopefully and the rewrite the startup files for you.

    You could also do the same thing with Kyhi's Bootdisk which includes Macrium , I use the 160707 Version available here on Ten Forums

    Windows 10 Recovery Tools - Bootable Rescue Disk - Windows 10 Forums


    KB
      My Computers


  3. Posts : 53
    windows 10
    Thread Starter
       #3

    @Kbird,

    Thank you for your suggestions. I downloaded both Khyi and Macrium but still no success. With Macrium , I create a rescue disk from my dell laptop onto a USB stick. When I attempt to repair my Lenovo T400 it by using the usb stick it does boot but says 'missing operating system'. Just to make sure that the stick is good, I tested it on my dell laptop and it works fine ie it boots into the Macrium recovery environment and I can see the fix boot problem options to choose.

    With Khyi's disk, I don't get much feedback, the Lenovo just reboots in a loop .

    Any more suggestions? I'm really hoping to recover vs clean install as I have office 2013 installed on the Lenovo and no idea where my activation key is anymore.
      My Computer


  4. Posts : 18,424
    Windows 11 Pro
       #4

    How did you set up the USB flash drive for Kyhi's recovery? I recommend this method:
    Create a Bootable USB Flash Drive

    On step 9 - make sure to use fat32 file system to make the flash drive compatible with both UEFI and BIOS computers:
    9. To format the partition, type format fs=fat32 quick, and then click ENTER

    On step 12 you will mount Kyhi's recovery drive ISO file and copy all the files and folders from the mounted ISO file to the prepared USB flash drive.
      My Computer


  5. Posts : 2,324
    Win10
       #5

    dsmith888 said:
    @Kbird,

    Thank you for your suggestions. I downloaded both Khyi and Macrium but still no success. With Macrium , I create a rescue disk from my dell laptop onto a USB stick. When I attempt to repair my Lenovo T400 it by using the usb stick it does boot but says 'missing operating system'. Just to make sure that the stick is good, I tested it on my dell laptop and it works fine ie it boots into the Macrium recovery environment and I can see the fix boot problem options to choose.

    With Khyi's disk, I don't get much feedback, the Lenovo just reboots in a loop .

    Any more suggestions? I'm really hoping to recover vs clean install as I have office 2013 installed on the Lenovo and no idea where my activation key is anymore.

    Are you using a laptop or Desktop ...the one with the issue....??? if a Laptop it sounds like you may have SecureBoot and Fastboot on in the Bios , which stop USB Drives and sometimes CDs too as a security measure , turn them both off and try again.

    KB
      My Computers


  6. Posts : 53
    windows 10
    Thread Starter
       #6

    A big Thank you!! I guess I did not make it bootable previously. I used your link and redid Kyhi's disk. It now boots and fixed my booting problem. Yeah!!!! Thanks so much.

    I'll start a new thread with my original problem which sent me down this path and broke my bootup.
      My Computer


  7. Posts : 18,424
    Windows 11 Pro
       #7

    dsmith888 said:
    A big Thank you!! I guess I did not make it bootable previously. I used your link and redid Kyhi's disk. It now boots and fixed my booting problem. Yeah!!!! Thanks so much.

    I'll start a new thread with my original problem which sent me down this path and broke my bootup.
    You're welcome. People like to use all kinds of stuff to create USB flash drives, but the procedure straight from Microsoft, and formatting FAT32, is the most reliable and creates the simplest, most universally bootable flash drive. I like to create an install/repair flash drive by doing the MS procedure to prepare it, mounting and copying over the most recent Windows 10 installation ISO, then mounting Kyhi's recovery drive ISO and copying only the boot.wim file from it to the sources directory of the Windows 10 installation USB flash drive.

    That way I get a flash drive that boots into Kyhi's recovery and if I want to do a new installation of Windows from it, all I have to do is run setup.exe from the flash drive while in Kyhi's recovery.
      My Computer


  8. Posts : 38
    Windows 10
       #8

    Hi, recently my PC was working fine but suddenly i got boot problem like "a device is not connected" and later on "BCD boot file configuration not valid". After a lot of fuss, i downloaded Macrium Reflect USB with WinPE 10. I first used Rufus with NTFS file format to create the bootable Macrium USB but when booted, Marcium reflect neither found an operating system nor showing any hard disk in the computer, allthough its showing in the BIOS. Later on I googled and found that I should make a bootable USB using Fat32 file system since I have UEFI BIOS. So i did that using Rufus again and still Macrium Reflect shows nothing. I dont want to install windows again, but want to restore/fixboot to the previous working condition. Any help would be appreciated.

    Thanks.

    PC Configuration:
    Intel Core i5 Skylake
    Gigabyte H110 S2PH
    Kingston 8GB Hyper X
    1 TB SATA WD Black
    Windows 10 Pro

    Kbird said:
    if you have the Macrium Reflect BootDisk , and can boot from it ? try the option to "Fix windows Boot Problems" , it should find Windows on C:\ hopefully and the rewrite the startup files for you.

    You could also do the same thing with Kyhi's Bootdisk which includes Macrium , I use the 160707 Version available here on Ten Forums

    Windows 10 Recovery Tools - Bootable Rescue Disk - Windows 10 Forums


    KB
      My Computer


  9. Posts : 18,424
    Windows 11 Pro
       #9

    Open a command prompt and run:

    diskpart
    list disk


    Is the hard drive shown there?

    Code:
    Microsoft Windows [Version 10.0.14393]
    (c) 2016 Microsoft Corporation. All rights reserved.
    
    C:\WINDOWS\system32>diskpart
    
    Microsoft DiskPart version 10.0.14393.0
    
    Copyright (C) 1999-2013 Microsoft Corporation.
    On computer: JOHN-LAPTOP
    
    DISKPART> list disk
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          447 GB      0 B        *
      Disk 1    Online          931 GB  2048 KB        *
      Disk 2    No Media           0 B      0 B
    
    DISKPART>
      My Computer


  10. Posts : 2,324
    Win10
       #10

    You don't need to Use Rufus any longer to make Bootable USB Drives, if you have a UEFI bios just format the USB Key Fat32 , then Mount the Macrium Rescue ISO ( Right click on file and choose Mount) it will then appear just like any other Harddrive or DVD in Windows Explorer , open the mounted drive and copy ALL FILES to the Fat32 USB key you made earlier. Then Boot from the USB key to run the Fix Windows Boot Option.

    I suspect that when you made the Macrium Rescue Disk you did not include the Drivers needed to "see" your Hard Drives , this could also happen if you made the .iso on another Computer which uses different hardware eg. on your Laptop? for example I had to make two different Rescue CDs for my two computers as they use different Chipsets

    KB.
      My Computers


 

  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 08:53.
Find Us




Windows 10 Forums