Thursday, 1 November 2012

Fix a Windows 8 boot issue

This is a little off topic, but I thought it would be useful to post here.

I recently updated my home PC from Windows 7 to Windows 8.  The PC was only a month old, so it made sense to take up the low price offer.

After a couple of days of normal working, it suddenly failed to boot.  The error was saying that there was a missing operating system or the disk had failed.  However, the hard disk diagnostics were saying that there wasn't a problem.

I eventually worked out that this message was actually a red herring.  The PC has the newer UEFI bios so it should attempt to boot directly into the Windows boot manager.  The error I was getting was actually because this wasn't happening and the startup options were falling through (down past CD, USB, etc.) to the legacy disk option.  This obviously wouldn't work because it wasn't set up for it.

Having identified the problem, I then tried to get online and find the fix.  Unfortunately, this wasn't as easy as I expected so this is why I am posting here so that others may find it on Google.

The usual type of fix for this were to boot off the Windows CD and run the Command Prompt and run a command like this:

BCDedit

However, this returned the error:

The boot configuration store could not be opened

This was quite strange.  I could see all the files on my drive and could see that all the partitions that were supposed to be there were there using DISKPART.

Other suggestions were to run this set of commands:


Bootrec /fixmbr
Bootrec /fixboot 
Bootrec /rebuildbcd


One posted suggested that this worked 100% of the time.  It didn't.  I got the error:

The requested system device cannot be found

Other sites suggested that I should make the System partition (the 100MB partition with no drive letter that Windows 8 uses  to store the boot files on a UEFI system) Active using DISKPART.  However, when I tried this I was told that my drive was not an MBR - is isn't, it is GPT.

At this stage, I thought that I should just cut my losses and try a refresh install.  However, when I chose this option, I got the error:

The drive where Windows is installed is locked

Very curious.

Finally found a site that suggested using:

BCDBoot c:\Windows

Now this didn't work either, I got:

Failure when attempting to copy boot files

There was an option to use a /S to specify where to copy the boot files to.  However, I wanted them to be copied to the system partition which doesn't have a drive letter.  So, I used DISKPART to assign the letter Z to volume:

ASSIGN LETTER=Z

Then I could use BCDBoot to run this:

BCDBoot c:\Windows /s z: /f: UEFI

Lo and behold, my system now boots!  To say that I am a bit frazzled, after a couple of days of family members looking at me expecting me to be able to fix this issue, would be a major understatement.

I hope this helps someone.


Stephen Redmond is CTO of CapricornVentis a QlikView Elite Partner. We are always looking for the right people to join our team.
Follow me on Twitter: @stephencredmond

113 comments:

  1. Thanks for this post. This helped to solve a similar problem that happened when trying to partition the huge C drive into multiple partitions using EASEUS Partition Manager home edition on Windows 8.

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. There is a new version of Easeus which works with Win8 -> version 6.1.1 (version 6.1 caused the problem).

      Otherwise I recovered using Win8 CD and bootrec via command prompt.

      Delete
    3. I have the same your issue with easeus partition manager home and win8. How have you solved it?

      Delete
    4. Sorry i've removed my post, i used last version (9.1.1 home) and now win8 can't load anymore winload.efi. I'll try your way when i find a win8 dvd.

      Delete
    5. Download Win8 evaluation copy from microsoft. Burn it to DVD or make a bootable USB stick.

      Delete
    6. This comment has been removed by the author.

      Delete
    7. Sorry for the typo - should be Easeus Partition manager v9.1.1. as you say. Latest version is now 9.2

      Also remember to remove the DVD or USB stck after you apply the fix and before you reboot (ie force it to boot from rhe partition you repaired).

      Delete
  2. Hey Harun , seeing that you are through to what is written above and you resolved the problem but i didnt. So if you can help me to solve the same problem with my laptop, i will be much thankful to you.
    But i dint got any CD of windows 8 with the samsung laptop i purchased from USA last month, so if you resolved this issue without any cd please mail me at rish.khurana@gmail.com with the solution or write me your number so that i can contact you regarding this.

    Thanks
    Rishi Khurana

    ReplyDelete
    Replies
    1. could solve the problem?, also I have a samsung and the same thing happens to yours

      Delete
  3. Issue is resolved. Thanks of lot dear IT-Expert..

    ReplyDelete
  4. Thx very very much. I reinstalled the PC some months ago because of this problem, had no backup this time and wanted to keep the data ^^. Thx again

    ReplyDelete
  5. hi there im having the exact same issue, what is the exact steps after assigning the system disk the letter z, to run the BCDBoot? When I run the command it shows me the list of options for the BCDBoot tool. Any help please.

    ReplyDelete
  6. BCDBoot c:\Windows /s z: /f UEFI

    ReplyDelete
  7. I may have a similar problem viz: I installed Windows 8 Consumer Preview over my Dell install of Win7 on my Inspiron Duo. Didn't like it so used EasyBCD to change the Boot.ini to roll back to Win 7.On reboot, it won't to anything. BIOS via F2/F8 or F12 to boot to USB or CD/DVD is there but I have no Restore Media apparently its only available in the USA not here in UK. Just comes up with a blue screen - Windows Recovery Environment
    Your PC needs to be repaired
    The Boot Configuration Data File doesn't contain valid information for an operating system.
    File: \Boot\BCD
    Error Code; Oxc0000098
    I've tried using BartsPE to see if I can repair the Boot.ini but I just get a BSoD same when trying to boot from an XP CD. Feel totally stuck, any help really needed alec.moores@talk21.com Thanks.

    ReplyDelete
  8. Thanks a million. I had migrated a new Win8 from 500GB HD to 256GB SSD using clonezilla, after creating appropriately sized partitions manually with gParted. Could not boot even with USB recovery stick + the various options it provides (autorepair, restore image, etc). I didn't have to jump through quite as many hoops as you did; what actually worked for me was this:
    Bootrec /fixmbr
    Bootrec /fixboot
    Bootrec /rebuildbcd

    ReplyDelete
    Replies
    1. This worked for me as well. I was cloning one laptop to an identical one with many partitions using Clonezilla. I got error 0xc0000225 until I did the bootrec sequence.

      For the record, after booting up, Win 8 ran 99% fine, although one of the partitions got detected as a normal logical partition instead of a boot partition somehow. Still, it worked out.

      Delete
    2. @ modan, I tried entering the Bootrec /fixmbr
      Bootrec /fixboot
      Bootrec /rebuildbcd commands but i don't know what to do after that. Please help me. Email utjavara@gmail.com

      Delete
  9. You saved my a.. from reinstalling, thanks.

    ReplyDelete
  10. I have the same your issue with easeus partition manager home and win8
    using Win8 DVD go to command prompt
    and write:
    "BCDBoot c:\Windows /s z: /f UEFI"
    but don't accept "Z"
    How have you solved it?

    ReplyDelete
    Replies
    1. ghablesh bayad az disk part beri "ASSIGN LETTER" koni ke begi felan partition ro be onvane z beshnase

      Delete
  11. I am running a 2009 HP XW4600 workstation with 4gb of ram and a fixed disk (to boot from) and a 2,7 TB raid setup for data.

    I had Windows 7 running on G: drive and an old XP-64 bit installation on my C: drive. I decided (masochist) to install windows 8 onto the C drive. I had the disk which I ordered from NewEgg. With a rebate it was cheaper than the online choices that are well documented.

    It went very well for Windows 8 BUT I did not get the dual boot option I wanted.
    I went into the Disk Management program and noticed that the G: drive was no longer active.
    Stupidly I thought that I needed to activate it. WRONG. My system would then not reboot at all and I got the message:
    "NTLDR is missing
    Press any key to restart"
    Apparetnly whatever boot drive you are not using is marked inactive and that will break everything if you make it active.

    I then spent about an hour trying various things and finally tried your three commands.
    This, by the way, was a record for solving a boot problem. Usually it takes days and days.

    Bootrec /fixmbr
    Bootrec /fixboot
    Bootrec /rebuildbcd

    This worked but I seem to get a character based Windows program choice and then
    I got a more modern set of choices but Windows 8 choice just seemed to cycle again and again.

    I then tried the Automatic repair option

    On reboot it hung at:
    Attempting Boot From CD-ROM.
    so I changed the boot order but of course it should have moved past this and gone onto the next device which was the hard Drive.
    This appears unrelated to the other issues and may be a problem with my BIOS and computer


    Then it displays
    Windows Boot Manager
    a text based boot manager

    If I choose Windows 7 Professional it goes straight to Windows 7 Professional

    If I choose Windows 8 Pro it goes to Windows 8

    So still some questions - why text based boot menu versus graphical.
    But overall VERY HAPPY I found your tips.

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. You have to specify sources - see on http://www.boyans.net/RepairWindows/The_drive_where_Windows_is_installed_is_locked.html

    Previous comment deleted as cannot be edited.

    ReplyDelete
  14. I am writing just to thank you for this article. This helped to solve my issues 100%. If i knew you in real life, I'd buy you a beer=)

    I ran this on an Acer V5-571 running windows 8.

    ReplyDelete
  15. Thank You Stephen Redmond you saved me....

    I have new lenovo G580 with window 8, when I partition the huge C drive into multiple partitions using EASEUS Partition Manager an error occured when I restarted to apply changes :

    Recovery

    Your PC needs to be repaired

    The application or operating system couldn't be loaded because a required file is missing or contain errors.

    File :\windows\system32\winload.efi
    Error Code : 0xc0000225

    I have searched a lot on Google and found you, your post on blog helped me thanks...

    1. Press Shift + F10 when you are at the Install Windows screen, The elevated command prompt at boot will now open.

    2. Type DISKPART command

    3. Enter Command LIST VOLUME, note volume no...

    4. Enter Command SELECT VOLUME "no" (eg1,2,3) mine was 3

    5. Enter Command ASSIGN LETTER=Z and EXIT

    6. Enter Command BCDBoot c:\Windows /s z: /f: UEFI

    7.Exit and restart.

    Thank GOD....

    ReplyDelete
    Replies
    1. i am also having same problem.. and i did as U've said but at last it says 'failure when attempting copy boot files"
      actually from where we are supposed to copy boot files??? do i need to have windows 8 cd for what you have said??

      Delete
    2. Thank you so much! I fixed my sony vaio notebook. Thank you, you are my hero! :)

      Delete
    3. Correction: note /f without colon

      6. Enter Command BCDBoot c:\Windows /s z: /f UEFI

      Thanks

      Delete
    4. Failure in copy files is amsg cmg for me i had selected c folder which has windows8 files plz help me

      Delete
    5. I have the same issue but Shift + f10 does not work, then any one help me

      thanks
      Anees

      Delete
    6. I LOVE YOU!!!!!!!!! You just solved my whole day of getting a Samsung SSD cloned from a Sony flib hybrid drive to boot. Used Macrium and it cloned fine but didn't seem to recognize/include everything to boot. Used the original drive through USB to use the recovery tools and CMD to do this and it worked beautifully. I CAN'T THANK YOU ENOUGH SIR!

      Delete
  16. i have a new hp windows 8 and whenever i turn it on it says starting up reapair and it just stays there what should i do if i dont have the repair and rebuit disk

    ReplyDelete
  17. @MPatilGOA
    i did exactly as u said, but it not resolved. the same problem persists.

    ReplyDelete
  18. Thanks a lot! I ran into this problem after resizing the Windows partition!
    Apparently, we need to tell the SYSTEM partition to pick up boot files from C:\Windows (again) since it cannot find the correct Windows partition on its own!

    ReplyDelete
  19. Many thanks for your post and I can give you suggestion that if you follow the bellow link I hope you can take more important information about your problem.

    Windows 8 post

    ReplyDelete
  20. Thanks ever for your post, it help to me a lot and
    On a machine with Windows 8 64 bits preinstalled System, is right as my result : Booting outside installed system, USB stick, DVD Windows 8 installer, elevated command promt /
    DISKPART
    LIST VOLUME
    SELECT VOLUME Nº (X)
    ASSIGN LETTER=Z ( doing this to the only one partition that does not have letter assigned, partition type ESP (hide)
    EXIT from DISKPART
    At the Promt :
    x:\.................Enter Command
    BCDBoot c:\Windows /s z: /f: UEFI
    but i need to give that when i try need to modify
    to :c:\Windows /s Z: /f UEFI, note /f without colon, that worked for me after bad issue repartitioning the system disk.
    Thanks a lot

    ReplyDelete
  21. Hi, after this above i look for some help, i have a preinstalled Windows 8 64 Bits laptop, with all above mentioned UEFI stuff, and by imcompatibility issues with a required software with 64 bits systems, i try to look how i can made the next ( it is a new adquired laptop so i need preserve all things about Warranty periode ).
    I want to have present Windows 8 64 Bits and prebooting stuff untouched ( not really, is better say modified but as the properties it have now ) and a Windows version 32 bits 8 or 7 togheter booting, ( dual boot ) but i meet as i know for now with the 32 bits incompatibilty on UEFI / GPT preboot environments, what i should to do?, which ways i have to get it? any help will be very appreciated.

    ReplyDelete
  22. Same here-corrupted boot after I run Partition Master.
    Instructions did not work until I saw Pc Luiton-s post, i.e. it should be
    BCDBoot c:\Windows /s z: /f UEFI
    Difference: f is without colon (:)
    That worked and PC booted, but I was getting a screen where I had to choose between 2 win8 installs. one of them worked, the other did not.
    After getting to the desktop, I went to msconfig/Boot and removed the useless 2nd entry.
    Now it's booting normally. Only trace the problem left is ~500MB unallocated space on C: drive.
    Thanks a lot for your help (It was my boss'es PC - had to be fixed!)

    ReplyDelete
  23. It's great post and I would like to give you thanks for your post. I definitely believe that this post is very helpful to us.
    Windows 8 post

    ReplyDelete
  24. This was the most accurate page to solve my problem on the whole Internet !! Thank you Stephen.

    Using EaseUs Partition Manager 9.1.1 Home Edition when resizing the C: I got an intempestive "Windows Automatic Update" when shutdowning, and could not reboot.

    Don't know if it was the combination of the resize with the update, or a real bug into 9.1.1 Home Edition version of EaseUs.

    I had to use install and download ADK from Microsoft
    Web site on another machine in order to be able to generate
    a bootable CD with a WINPE environment compatible.
    http://msdn.microsoft.com/fr-BE/library/hh825494.aspx

    I have installed it on a PC with similar architecture, and x64 CPU,

    Baiscally, I was able to create a bootable CD (not USB flash however I had tried) using the copype command to create first the structure

    Copype amd64 s:\winpe_amd64

    and the

    MakeWinPEMedia /iso s:\WinPE_amd64 s:\WinPE_amd64.iso

    to create the image as described on
    http://technet.microsoft.com/fr-fr/library/hh825109.aspx

    and burn it on a CD

    Then I was able to boot from CD, in WinPE environment
    and apply the trick described originally by Stephen Redmond.

    Be careful that you have first to use diskpart
    and within diskpart do the selection of the hidden
    partition where the EFI stuff is.

    Inside diskpart
    do

    list volume
    select volume "number of the partition where EFI is"
    assign letter=Z
    list volume
    # would have the letter in front now
    exit

    At the WinPE prompt the disk Z: is now accessible
    and you can access the files located there and see their content if needed.

    After that I did the command
    BCDBoot c:\Windows /s z: /f UEFI

    (careful no ":" behind the f like was erroneously mentioned
    on the original article)

    And it worked !!


    I could reboot, EASUS message comes on saying the resizing
    was complete, then the 2nd reboot occured and the automatic
    update went on with the growing % up to 100%.
    And after that I could log in and access all my data back !


    Be careful sometimes when playing with the firmware boot options, choose Win8 if you have EFI, but careful to go in Security and allow some "unsecure boot"... as my Ubuntu was still not signed, otherwise you can be stuck and could need to open your box and remove the battery to access again to the setup. "rEFind" is also a nice stuff to put in the EFI if you want to have an elegant boot selector.


    Good luck to all the unfortunates who will have to pass through the same pain... anyway, from the moment I was able
    to chain the actions, it didn't took me more than one hour
    to get it back, but before that I had to dig a lot before
    knowing that THIS page IS THE ONE to follow !

    Thank you Stephen, I hope my comments will help too !
    Feedback very welcome !

    ReplyDelete
  25. Well, looks like I am the strange one. Like everyone this problem is caused by Easeus, I followed the procedures and am finally able to see the busy polka circles when I turn on the system, but every time I boot I encounter "Easeus partition master boot" and the system restarts. It keeps rebooting every time and the system never fully boots. Does anyone have any idea how to fix this? Easeus have identified the problem and they recommend connecting the HDD to another system and deleting the EPMBatch.ept from windows folder. Any ideas?

    Thanks

    ReplyDelete
  26. Well I fixed that problem by going to windows folder and using command "del /A:H EPMBatch.ept"

    My next restart wasn't smooth. Had to go back to use BCDboot command again (by changing the letter back to Z). But now I am facing another issue, every time I boot, I am given two boot options of windows 8 (from drive 3) and Windows 8. Only boot from drive 3 works. Don't know how to fix this one... :-S

    ReplyDelete
  27. Well, I self-helped this time. Went to MSConfig and then to Boot tab. I had two options 1. Windows 8 (C:\windows) : Current OS; Default OS
    2. Windows 8 (\Windows)

    I selected the second one and pressed delete and restarted. Problem solved.

    I hope this will not cause complications in the future.

    ReplyDelete
    Replies
    1. i have the same problem i hope it will not cause complication in the future too

      Delete
  28. You save my life! :D
    The problem are other.. but this command help me very much!

    (sorry for my english.. im italian)

    ReplyDelete
  29. Thanks to this post, I was able to recovery my "win 8" partition and boot from it in my really new dell 3521. It´s working now and i´m happy, but the recovery partition isn´t more accesible and I can´t stop thinking how will be re install a licensed win 8 without DVD an without recovery partition. Some of you with the same Problem? Suggestions?

    ReplyDelete
  30. This post is really Great, Thank you Stephen for this blog. I have solved my Laptop boot problem by following steps, But one mistake I have done at step 3 for selecting volume. I have selected USB disk volume instead of C drive OS volume. Therefore now my Machine start only from USB drive support. :(

    Could you please help me how can i make revert my changes and Boot only from my C drive only. Today i will do fresh copy of New USB setup and will try for same thing with C drive volume this time. I will keep posted the updates.

    1. Press Shift + F10 when you are at the Install Windows screen, The elevated command prompt at boot will now open.

    2. Type DISKPART command

    3. Enter Command LIST VOLUME, note volume no...

    4. Enter Command SELECT VOLUME "no" (eg1,2,3) (This volume should be C drive OS volume no)

    5. Enter Command ASSIGN LETTER=Z and EXIT

    6. Enter Command BCDBoot c:\Windows /s z: /f UEFI

    7.Exit and restart.

    ReplyDelete
    Replies
    1. I do same what you do but my network and wlan not working after do this step. what can i do my laptop is lenovo g580 core i 5. Also other software can't work and all services are disable.

      Delete
  31. you safe my life thanks its so helpfull

    ReplyDelete
  32. Saved my a.. once again. Can't belive my boot stuff failed twice on the same machine... Thanks again

    ReplyDelete
  33. If your Windows computer is still refusing to boot normally, you may want to use any third party software solution like Kernel for windows data recovery software to repair booting error and recover complete backup from the windows hard drive. The software also support windows 8 with (32 Bit and 64 Bit).

    ReplyDelete
  34. Thank so much Stephen, My win 8 boot problem has been resolved, That's a great post.

    ReplyDelete
  35. Thank you - I've been battling with this issue for a week and followed the same steps as you to finally achieve a resolution.

    ReplyDelete
  36. Thanks you - I was facing windows 8 boot problem for a long time...But as soon as I red your article I understood problem..


    Visit my site windows-8-support

    Thanks & Regards

    Alex walker

    ReplyDelete
  37. thank you very much you saved my data

    ReplyDelete
  38. I dont know how to and how much to thank you, stephen. the seller said he'll have to send my laptop to company for repair as i did't have any backup. i just followed the steps by prashant deokar (very easily explained)and i got my laptop bak in an hour. Thank you guy's. keep up the good work

    ReplyDelete
  39. I have a Lenovo Yoga 13, windows 8 GPT UEFI system with 7 partitions. Can I delete all the partitions except windows 8 then move and resize and then be able to boot windows 8 by using info discuss above? What would I do?
    thanks
    Ron

    ReplyDelete
  40. When I run command BCDBoot c:\Windows /s z: /f UEFI
    I got : Failure when attempting to copy boot files
    You can help me ?
    Please

    ReplyDelete
  41. hey, i have a sony vaio E series SVEE15128CNS with a pre installed win8, 750 hd space, and 4 gb ram, and hav been facing the same prob. and the new thing is that when i insert a dvd to boot it from that it says "Operating System Not Found" nor can i access the command prompt by pressing "shift+f10" ... plz can any1 help me.. do rple soon..

    ReplyDelete
  42. thank you very much,Thanks a zillion.You saved me .Actually EasyBcd screwed up

    ReplyDelete
  43. I have been having the same problem with Win8 that's plagued everyone else who ended up here: "Bootmgr is missing."
    I followed the same troubleshooting sequence you followed: bootrec /rebuildbcd yields "The requested system device cannot be found." I can't Refresh the install because the drive is "locked". I can't even reinstall Win8 from scratch because "The disk selected is of the GPT partition style."
    Then I used diskpart to assign a letter to the hidden directory, ran BCDboot c:\windows /s z: /f UEFI (I also tried /f ALL) and got the message that boot files were successfully created. Great! I found new BCD files in z:\EFI\Microsoft\Boot and one in z:\Boot along with some backups. So far so good, except that after all this I still get the "Bootmgr is missing" message. Should these newly created files be copied anywhere else? Are there other files that might need to be fixed before or after running BCDBoot? I should add that Tech support at Microsoft was absolutely useless, telling me that Boot Manager is not a Windows creation, but comes preinstalled on the disk drive and I should contact the drive manufacturer. Really?

    ReplyDelete
  44. Thank you, thank you, thank you!!! The 3 bootrec commands worked. Worth your weight in gold, man!

    ReplyDelete
  45. Helo all,
    Seems with daily change in technology it is always better to search the internet first before trying anything old ;-). Anyways i also learned the hard way and ended up with same errors in my new HP 15e001ax laptop. finally was able to get it started by using the 3 bootrec commands and did a successful boot. Thanks to the author and everyone in the comments section. I was trying to get 250 GB for my C and got it. now for about the other 600GB allocation which is right now in no mans land, how should i proceed in order to avoid a repeat of this error. Please advise.

    ReplyDelete
  46. Thanks a huge lot Stephens. Your post was really helpful. I have been searching for a solution since the last two days after I corrupted the partition table on my sony vaio ultrabook while trying to create additional partitions with Easeus Partition Manager.

    ReplyDelete
  47. Thank you so much! Saved my new laptop!

    ReplyDelete
  48. I had cloned a drive before sending a laptop back for a warranty repair. They wiped the drive so I had to copy the cloned data back, but then it would not boot. I finally got to a place and tried:
    BCDBoot c:\Windows
    and it said something about being successful, and then it booted up. Thanks for the help.

    ReplyDelete
  49. Hello, please I need your help, my windows 8 laptop keeps crashing and windows 8 won't start after using AOEMEI tools to give my c: drive more space. I just get a blue screen saying "your PC ran into a problem and needs to restart, we're just collecting some error information, and then we'll restart for you". This keeps going and going in a loop. It's been going for 2 hours. Please what can I do. My laptop is brand new, I just had it for 4 months. It's an ASUS N56V. I don't have the windows 8 CD

    ReplyDelete
  50. I am considering trying this solution - I have a Win 8 64 bit laptop that was fine till I took the Win 8.1 update pushed to me. I have managed to resolve almost everything, but booting is still odd. If I have the BIOS set to UEFI boot, the machine will not boot at all; if I set it to UEFI and CSM auto, then when I boot up and hit no keys it tells me NTLDR (!) is missing. If I hit F4 while booting, it says Invalid Recovery Area and then boots fine. In Disk Management it says the BIOS is in Legacy mode, but if I look around in my system I only see EFI stuff... I am afraid to try your solution while I await the recovery disks from Samsung, in case it hoses it. I guess if I can't restore because I get the Locked error, I'll try this! Would that be your advice? Thank you for this post, after a week of googling I finally found it.

    ReplyDelete
  51. Awesome Thanks you are King (Windows Life Saver)......

    ReplyDelete
  52. Great man! It worked for me just Fine! You saved a lot of my time. Thank you for this post

    ReplyDelete
  53. Hi some of all above steps i used like below which worked for me without installing again Windows 8. Thanks guys!!.

    1)
    Get Windows 8 Evaluation Copy, load it into DVD

    Repair Computer

    Go to Advanced Options, Command Promt

    Bootrec /fixmbr
    Bootrec /fixboot
    Bootrec /rebuildbcd

    At this point you notice windows might moved to another drive mine moved to D drive

    2. Type DISKPART command

    3. Enter Command LIST VOLUME, note volume no...

    4. Enter Command SELECT VOLUME "no" (eg1,2,3) mine was 3 (has to select Fat 32, don't put quotations)

    5. Enter Command ASSIGN LETTER=Z and EXIT

    6. Enter Command BCDBoot c:\Windows /s z: /f UEFI

    Some one said:
    Well I fixed that problem by going to windows folder and using command "del /A:H EPMBatch.ept"

    I done above by using Ubuntu flash drive, go to windows folder search EPM Batch.ept, move to trash
    Go to trash Delete it.

    Restart PC.
    Now after boot goes to Note. wait for a while.

    your PC will Back !!!

    we might miss remaining partition currently.
    go computer management in control panel to get it

    ReplyDelete
    Replies
    1. sorry not clear after step 6.

      after step 6 rebooting PC will goes to boot and say says "EASUS Partion Master Boot" and keeps rebooting.
      to avoid this we have to delete EPMBatch.ept in windows folder.

      Delete
  54. Hello,

    I followed the above steps from 1 to 6. No success. I did notice that none of my partitions were FAT 32. They were all ntfs.
    Please note I am a novice and have no idea about partitions etc.

    Can someone please look into this issue and help.
    Gurpreet

    ReplyDelete
    Replies
    1. I managed to sort the issue, it related to the partitions. I found the following video. Need to be very patient with the instructor:

      http://www.youtube.com/watch?v=Ulc31TXlBf0

      Delete
  55. I am very happy I found this site (thanks Google.. but don't get a big head over it).. I worked for 3 days trying to restore my daughters laptop. Unfortunately, her Asus recovery partition did not work as expected, but this fixed everything. I only had to run
    Bootrec /fixmbr
    Bootrec /fixboot
    Bootrec /rebuildbcd
    and it was off and running...wooohooo!!

    ReplyDelete
  56. THANKS, I LOVE YOU MAN;))))) Super

    ReplyDelete
  57. Hi!

    Thanks Steven for the excellent guide. Most guides are outdated and refer to a MBR.BIOS setup. This is useful for using diskpart with UEFI GPT setups.

    ReplyDelete
  58. I also got the "failure when attempting copy boot files" error.

    This was due to me accidentlely selecting the primary windows partition and giving that drive the letter instead of the SYSTEM partition which contains the bootloader.

    ReplyDelete
  59. Thank you very much. I was trying every method available on internet, but nothing worked. Thanks a lot.

    ReplyDelete
  60. I have the same problem, Partition with EASSUS. I was follow all the steps, but my VAIO SVF14213CLB don´t save the changes that i make whith "Command Prompt". I enter each command and appears to have been successful, but when reboot, did not effect. What was the problema???

    ReplyDelete
    Replies
    1. i used the Command BCDBoot c:\Windows /s z: /f UEFI in every partition Fat32 and windows now can start. Now my problem is that the partition for RECOVERY, WINDOWS 8, and SONYSYS are now PRIMARY PARTITION, and can't be used for recovery. How can i assign like RECOVERY PARTITION???

      Delete
  61. Can't THANK YOU enough! EaseUs Partition Manager copied everything but no boot. I fixed the drive letters with diskpart, and finally found your magical command that restored booting.

    ReplyDelete
  62. Tried this, got "Failure when attempting to copy boot files"

    :(

    ReplyDelete
    Replies
    1. You might need an "administrator" command prompt. It's in the right-click menu of the windows icon in the lower left corner of the screen.

      Delete
  63. For a few more details, see also the website
    http://www.fixedbyvonnie.com/2013/12/how-to-repair-the-efi-bootloader-in-windows-8

    ReplyDelete
  64. This comment has been removed by a blog administrator.

    ReplyDelete
  65. Thank you so so much... duno what I did but I followed ur instructions and it works! x

    ReplyDelete
  66. This comment has been removed by a blog administrator.

    ReplyDelete
  67. I'm having boot problems, similar to what's described in the post. I used BCDBoot c:\Windows /s z: /f: UEFI and it worked, but after restarting my computer it I can't access the recovery usb with Windows 8 (that let my use the command prompt) any longer. I can only access bios (UEFI), but that isn't very helpful. I have tried changing boot order, but no success. Now it seems that I can't do anything with the laptop, not even reinstall windows 8. Suggestions?

    ReplyDelete
    Replies
    1. Okay, so I went into bios and changed boot mode from UEFI to Legacy and now the recovery usb with Win 8 starts. Seems that I'm able to restore/reinstall the OS now at least.

      Delete
  68. thanks this helped me a lot.
    but what worked for me is this
    http://itsolutionsblog.net/solution-to-your-pc-needs-to-be-repaired/comment-page-3/#comment-7155

    ReplyDelete
  69. It’s superb blog please go through this url and solve your query . We provide Best online Services.check this site .
    Fix Windows 7 Error 1068
    Thank you
    Aalia lyon

    ReplyDelete
  70. Thank You Stephen Redmond!

    ReplyDelete
  71. Thanks big time, this worked for me after my Pc refused to boot after uninstalling Asus Suite III. One strange thing thing though; once back in Windows I discovered that all my previous System Restore Points were no longer available.

    ReplyDelete
  72. It worked for me. My w8 isBOOTING NOW.You are the beeeest MAN. I have spent two days trying to fix this problem. The problem happen after trying to uninstall ubuntu. I am so happy now. Thank you!!!

    ReplyDelete
  73. Thank you. Solved my problem :-)

    ReplyDelete
  74. Wonderful ,, to instant solve your problem clik it here BOOTMGR Missing in Windows 7 And Get free from boot mgr missing windows 7 problem.
    Thank you
    Aalia lyon

    ReplyDelete
  75. Hey man you are great. Your suggestion helped me in solving the boot issue in windows 8.1. Thanks a lot!

    ReplyDelete
  76. Dr. Olorun Oduduwa I love to be on your testimonial page to spread my happiness. Your hard work and effort is greatly appreciated especially from me. My boy-friend is back home. We are back together. He pick me up from my station today. I haven't saw him in 6 month. I wasted so much time with other spell casters and should have stuck with you originally. You are a truly gifted spell caster and I just wanted to take the time to show how you and tell the world how grateful I am"thanks to Dr. Olorun, contact him if need his help on how to bring back your lost husband or boyfriend to your heart again on; Olorunoduduwaspiritualtemple@gmail.com

    ReplyDelete
  77. Hiking is a great pastime hobby for outdoor enthusiasts who enjoy being close to nature. thanks share the post Hiking shoes reviews

    ReplyDelete
  78. I have just purchased an ASUS X750JA-DB71 with 16GB Ram, 250GB SSD/1TB HDD, Blu-Ray except it locked up on some updating cycles to error code 0xc0000225 "Your PC needs to be repaired" "A required device isn't connected or can't be accessed". I can only get to the BIOS. I am not able to get to a prompt, Boot from CD or any other recognizable process. I do have some sort of capability to edit my boot options in the BISO but do not know the syntax or how to identify the DVD drive for booting my optical. Any help to get to the bootable CD function or to recover my new laptop. How to educate myself on Boot Option protocol and scripting of the path, device, etc.

    ReplyDelete
  79. Thank god for this.
    This should be higher up in google when searching for this problem.

    ReplyDelete
  80. Please help! I have same problem as everyone else, but I can't even access windows security recover mode. My pc still ends up on error screen even if i hold down f8 or f9 on boot. I can only access the UEFI Firmware Settings. Please help :-)

    ReplyDelete
  81. After trying all the things on other sites, you solution worked for me:

    After using DISKPART to define "z", I used your command:
    BCDBoot c:\Windows /s z: /f UEFI

    ...which created a new option when booting (annoying), but this new option booted!

    I was able to set this new one to "default" and have it auto-choose it via the Control Panel > System > Advanced > Startup Shutdown.

    Thanks!

    ReplyDelete
  82. Win 8 boot error kode: 0xc0000225. I solved the problem by set bios settings to default. Then reboot and back to bios to change boot order to normal "before boot issues came". I could not even boot from dvd - usb. Bios default settings was a solution for me.

    ReplyDelete
  83. This comment has been removed by the author.

    ReplyDelete
  84. This comment has been removed by the author.

    ReplyDelete
  85. For me this worked using a Recovery flash drive memory stick I had made:

    With the flash drive plugged in:

    Start the pc > repeatedly tap esc > choose f9 Boot Device Options > choose: USB Hard Drive (UEFI) > Press enter > wait a minute or so > Choose language (and if applicable keyboard layout) > Troubleshoot > Advanced options > Command prompt > type in:

    bootrec /rebuildbcd

    Press enter and wait a while > When it says the operation was completed successfully type:

    exit

    (If the command prompt hasn't closed click on the top right corner x and after it closed choose: Continue Exit and continue to Windows 8 (or 8.1).

    I hope this works for you as it did for me.

    ReplyDelete