1.    30 Dec 2016 #1
    Join Date : Dec 2016
    Posts : 3
    Windows 10 Enterprise

    Windows 10 doesn't boot anymore after flagging partion as active


    Hey guys,

    I'm having problems here. Here's my situation: i have 60GB SSD and two SATA disks with Windows 10 on the SSD disk. But because the small 60GB SSD was always running full, i've bought a 250GB SSD yesterday. So, i disconnected one of the SATA disks to connect the new SSD disk, but then Windows 10 wouldn't boot anymore, so i figured Windows 10 has a system reserve partition on the SATA disk.

    So i looked it up how to move the system reserve partition to C: (SSD) and did the following cmd command: bcdboot c:\windows /s C:

    After this i had to flag the C: partition as active in Disk Managment. But, here comes the problem, i did it the other way around. And after that i set all 3 partitions as active and now i get the following error when Windows 10 tries to boot:

    "Your PC needs to be repaired

    File: \Boot\BCD
    Error code: 0xc0000034"



    What i have tries so far:

    -bootrec /fixmbr
    -bootrec /fixboot: getting the error "Element not found"
    -bootrec /rebuildbcd
    -bcdboot c:\windows /l en-us, getting the error "Failure when attempting to copy boot files"
    -bcdedit shows ""The boot configuration data store could not be opened. The requested system device cannot be found."

    Then i installed a clean Windows 10 on the new SSD. Offcourse this worked. After this i used Minitool Partition Wizard to clone the old SSD to the new one. And then it start all over again (which is maybe obvious). So now i have my hands in my hair, actually. Who can help me out? Thanks so much in advance!
      My ComputerSystem Spec
  2.    30 Dec 2016 #2
    Join Date : Jul 2016
    Crewe Cheshire
    Posts : 1,451
    windows 10

    Welcome to the forum. Not clear you clean install to new ssd but then you cloned the old one to the new install is that correct? Are the drives mbr or gpt ? You should always do a clean install with only one drive connected so you know we're boot files are going
      My ComputerSystem Spec
  3.    30 Dec 2016 #3
    Join Date : Dec 2016
    Posts : 3
    Windows 10 Enterprise
    Thread Starter

    Quote Originally Posted by Samuria View Post
    Welcome to the forum. Not clear you clean install to new ssd but then you cloned the old one to the new install is that correct? Are the drives mbr or gpt ? You should always do a clean install with only one drive connected so you know we're boot files are going
    Hi, thanks.

    Yes, did a clean install to the new SSD after i couldn't boot from old SSD anymore. I did a clean install with only the new SSD connected. They are MBT. After that i was hoping that i could clone my old SSD to the new SSD and that it worked. But unfortunately, it doesn't.

    All i want to know now is, what i can do so that Windows boots again. Thanks so much for helping me out.
      My ComputerSystem Spec
  4.    30 Dec 2016 #4
    Join Date : Dec 2016
    Posts : 3
    Windows 10 Enterprise
    Thread Starter

    I solved it! This was my solution:

    How to Create a Clean BCD file:
    Put your Windows 7 DVD in the drive and restart your PC. Assuming you've properly configured your BIOS to boot from CDs/DVDs before hard drives, you should get a prompt asking you to "Press any key to boot from the CD/DVD..."
    Go ahead and press any key.
    In the next window, select "Repair your computer" to continue.
    On the next window, choose the Windows 7 installation that you'd like to perform the repair on.
    Click the Next button.
    Proceed with the process by choosing "Command Prompt" from this list [Image below]. We could select the "Startup Repair" to fix the boot problem, but we are assuming that you already tried this option and it did not work.
    In the Command Prompt window we shall perform a number of commands to create the new BCD file.



    Note: We're assuming that the boot drive is drive C: below. If your computer is configured differently, be sure to use the appropriate drive letter here instead. Each command shown below is separated by a newline for display purposes only. So, command and its switches must be on the same line.

    Enter the following commands:

    bootrec.exe /fixmbr
    X:\boot\bootsect.exe /nt60 all /force


    Replace X in the command line above with the device letter to the CD/DVD drive that is running your Windows 7 Recovery Disk.

    Now remove the old BCD registry, and create a new one instead.

    del C:\boot\bcd

    bcdedit /createstore c:\boot\bcd.tmp

    bcdedit.exe /store c:\boot\bcd.tmp /create {bootmgr} /d "Windows Boot Manager"

    bcdedit.exe /import c:\boot\bcd.tmp

    bcdedit.exe /set {bootmgr} device partition=C:

    bcdedit.exe /timeout 12

    del c:\boot\bcd.tmp


    Now we have a clean, working Win 7 bootloader. But we need to add a Win 7 entry to it:

    bcdedit.exe /create /d "Windows 7" /application osloader

    bcdedit.exe should return a message with a GUID for the newly-created entry. It will look something like this:

    The entry {fc8bcc18-8a93-11df-baf9-806e6f6e6963} was successfully created.

    You'll need to use the value that bcdedit.exe returned for you below, along with the drive letter for the drive that Windows 7 is installed to:

    bcdedit.exe /set {fc8bcc18-8a93-11df-baf9-806e6f6e6963} device partition=C:

    bcdedit.exe /set {fc8bcc18-8a93-11df-baf9-806e6f6e6963} osdevice partition=C:

    bcdedit.exe /set {fc8bcc18-8a93-11df-baf9-806e6f6e6963} path \Windows\system32\winload.exe

    bcdedit.exe /set {fc8bcc18-8a93-11df-baf9-806e6f6e6963} systemroot \Windows


    And, last of all, tell the Windows 7 bootloader to boot the new entry by default:

    bcdedit.exe /displayorder {fc8bcc18-8a93-11df-baf9-806e6f6e6963}

    bcdedit.exe /default {fc8bcc18-8a93-11df-baf9-806e6f6e6963}


    Now the Windows 7 bootloader has been removed and rebuilt from scratch.

    At this point, you have a clean and hopefully a fully-working bootloader with one entry for Windows 7.

    Reboot your PC system to get back into Windows 7.

    Enjoy!!!
    Source: Rajan : Computer Blog: How to Create a Clean BCD file to fix Windows 7 / 8 / 8.1 Boot problem
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Solved Clicking the speaker in a Chrome tab doesn't do anything anymore
Hey guys, so around a week ago the functionality of the speaker "icon" that you are supposed to be able to click to mute a tab in Google Chrome randomly stopped working. I recently made some tweaks to Windows 10 due to making a fresh install of the...
General Support
Solved Win+X doesn't work anymore
pressing Win+X doesn't show the power user menu for me anymore. right clicking Start button doesn't work either, but when I do it, the mouse cursor jumps several pixels up and to the right. I did sfc /scannow and it didn't fix the issue. does...
General Support
Scroll wheel doesn't work anymore
Hi, i've been searching this issue on Google with literal no topic about it so i'll just make the first one here: From a time i have an A4Tech V7 Gaming mouse that works perfect in Windows 7. Since a few weeks ago, after Microsoft deployed a...
Drivers and Hardware
Hey Cortana - it doesn't work anymore, i turned it on
Tried to turn on Hey Cortana, it still doesn't work. i messed with the privacy settings, but i may have missed something. please let me know.... common.... thanks!
Software and Apps
Windows Search Doesn't Suck Anymore
Source: http://reviews.gizmodo.com/windows-search-doesnt-suck-anymore-1719865606
General Support
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 07:13.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums