Solution to your PC needs to be repaired Error code: 0xc0000225


Problem description:

Update: also works with windows 10

When I booted my Windows 8 laptop (see details below), it displayed the following message:

your computer needs to be repaired

If I press Enter or F8, the central part of the message changes to:

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

File: \Windows\system32\winload.efi

Error code: 0xc0000225

The problem occurred after i made an image of the old hard disk on a new one. And now this new hard drive would not boot. I found out this was because of the EUFI boot. this used a GPT partition. To fix this problem you are gonna need a windows 8 installation CD or recovery CD.

Step 1: Start from your installation or recovery CD.

To do this you will probably need to press a key before you boot, this will most likely be something like F12. for more information about booting from cd look here. (link: )

Step 2: Choose the correct recovery options. (gallery)

Step 3: Enter the correct commands.

  1. Diskpart
  2. List volume
  3. Select volume=2 (replace “2” with the number that is associated with the “ESP” label)
  4. assign letter=Z
  5. exit
  6. bcdboot C:\windows /s Z: /f UEFI (replace C: with the volume letter that is named “OS”)

To make it even simpler here are some screenshots:

Step 4: Restart your computer and be happy.

If everything worked out fine, you should now be able to restart your computer and enjoy your windows 8 machine.

Well i am Pieter, a regular IT guy, working in Holland. Now and then I share some things on this Blog to make other peoples life a bit easier.

Tagged with: , , , , Posted in Windows 10, Windows 8
63 comments on “Solution to your PC needs to be repaired Error code: 0xc0000225
  1. praful says:

    many thanks this solution worked for me.
    But I have a doubt, will I be able to use my OneKeyRecovery (Lenovo Laptop feature) after this? and while booting it shows me two option of Win 8 to select from, why?

    • Pieter Willemse says:

      You can delete the double Boot option through MSconfig, there will be one boot option which will point to your old disk. I don’t now if your OneKeyRecovery will still work, you would have to test that.

      Regards Pieter,

  2. BUHD says:

    I recently ran into a very similar problem with my Win 8.1 Pro machine. It gives me an error of 0xc000000e and does not specify any particular file.

    I tried following the steps here and elsewhere to rebuild BCD etc. but nothing seems to work!

    Would really appreciate some help with this! The OS is installed on an SSD w/ GPT and UEFI so it has the 3 partitions – Primary (111GB), Recovery (300MB), and System (100MB).

    I am really out of ideas here – please Pieter Williams – HELP!

    • Pieter Willemse says:

      Could you describe which steps you took when you rebuild the boot record? And did you change something before you got this error?

      • BUHD says:


        I completely wiped my SSD (made an image backup with Acronis) and restored the image on the SSD after formatting it to GPT – it has all 4 partitions.

        Now, I get the error you’ve described on this page – 0xc0000225.

        When I tried your solution, it says, “Failure when attempting to copy boot files.”

        How do I fix this?

        Please help!

        • BUHD says:

          I’m sorry I was using the wrong drive letter – it was “E” and not “C” for my Windows.

          However, now, I get the circling dots which I thought was a good sign but the computer blue screens and gives the error code of 0xc0000001.

          How do I fix this?

          Please help!

          • Pieter Willemse says:

            Hi BUHD,
            Could you follow the steps on this website:

            Let me now if it helps.

          • BUHD says:

            I was able to fix the boot record and boot into Windows! However, I saw two OSes, Win 8.1 (on volume 3) and Win 8.1.

            I used msconfig to delete the one that crashed (correct OS was on volume 3) and now it works fine! I can boot into Windows without issue!

            I was just curious though – should I still go back into CMD and rebuild the BCD from scratch just to make sure it’s perfect or should I leave things as is since they seem to work now?


            • Pieter Willemse says:

              Hi BUHD,
              Glad you were able to fix the problem!
              I don’t think it is necessary To rebuild the BCD.
              Have a great day!

  3. cj says:

    ok not good at this but here I go hp pavilion p7 – 1459 . Did the steps got puter back now the prob is it gives me the choice of booting from bad windows or good windows I cant use recovery yet it just boot back to bad windows 8 I want to set it like it was when I got it no partitions and idea how to do it

    • Pieter Willemse says:

      Hi CJ,
      If you are able to boot from the good windows try this:

      Click Start
      on your start screen type msconfig
      Launch msconfig by selecting it from the search results.
      After msconfig is launched:

      Go to the Boot tab
      Slect the boot entry you want to delete.
      Click the Delete button and then click OK.
      Make sure to delete the right boot option otherwise you will be left with an unbootable system.

      • cj says:

        ok I did all that got 1 windows 8 then tried to do repair on it only to find the 4 cds I burt ayear ago don’t work hmmmmmmmmm but I was able to boot from cd and try to repair it back to org. now it noob terms I can boot at all I get error 0xc000000f all I really want to do is restore my boot record (mbr) or just format the whole 2tb hard drive so I can use it again and puter I tried the oxc0000225 trick but it wont work how do I fix this time cant find answer on net ? really want to learn how to fix it like I did on the old xp system ?

        • Pieter Willemse says:

          Follow this guide:
          and then run the first 2 commands. bootrec /fixmbr bootrec /fixboot
          Let me now if you get it to work!

          • cj says:

            Thanks for the reply is there anyway i can get your email so i can send you prob and you can send back answer so we dont have to go though web site ? you are good and i dont wish to talk up the web space with me probs lol but i do like your help i had some knolage of windows xp so i could format it and keep it out of shop but im not sure on this windows 8 system .

            • Pieter Willemse says:

              I send you an email on the adress you used in your comments, if this is not correct you can always send me an email through the contact page.

              • cj says:

                Hi ok heres the update now i REALLY need help
                Did all you said got windows 8 back then tryed to do a repair it froze took it to a shop they tested the cd rom and hard drive My cds i burnt when i got computer were bad so i got new ones sent from hp now im 3 days out of warrenry and they cant find the problem and want to ship to hp to look at ( 299 i dont have ) to look at . Flashed to bios and tryed a new hard drive and the system only get though a few the cds and locks up. Am i stuck with a large paper weight

                • Pieter Willemse says:

                  Hi CJ,
                  It looks like something else is going wrong probably something hardware related, i really can’t be of much help here. You could try and call HP and see if they will still put it in warranty since it is only a few days late.
                  Good luck!

  4. clone dynamic disk with GPT amd UEFI bios says:

    I tried all the programs .. the only one who has done the job without errors was CLONEZILLA!!!

    • Pieter Willemse says:

      Hi, Thanks for replying. Clonezilla indeed seems to do the trick for disks with UEFI enabled.

  5. Vijayakumar N says:

    There’s a mistake in the bcdedit windows8 image (Final image)

    The command is

    bcdboot C:\windows /s Z: /f UEFI

    correct command…

    Thanks for the post..

    Cleared the error caused during the partition using EASEUSPartitionManager

    Config(Dell Windows 8 64bit)

  6. ashok says:

    I am finding to download frm website which u mentioned in my previous reply but its not happening to do anything further

  7. ashok says:

    I do not have any recovery cd or back up files cd….. So hw could i can solve this problem…. Plz anyone suggest me

    • Pieter Willemse says:

      Hi Ashok,

      if you don’t have a recovery cd you can download a trial of windows 8 here:
      you can then burn the image you get on to a cd or make a bootable USB

      Let me now if you need any more help

      • Assaf says:

        Hi there. i am trying now to download the evaluate win8, and with “rufus” to make it as bootable USB. i will let you know if it works

        • Pieter Willemse says:

          Hi Assaf, Did you resolve your problem?

          • Assaf says:

            Hi Pieter.
            yes, i did as they said, and everything seems to be ok.
            the only thing now, is that win8 still not activate, and on the start up menu, i cant go inside many features (mail, weather ). i have like small X on the side.
            you know it ?

  8. john says:

    Many Thanks for your solution… I have a ACER E1-571 and had the exact same problem

    followed your instructions (well, almost) and I managed to get it up and running again but…

    For those of you who make the same mistake as me and end up with TWO WINDOWS 8 Volume after BIOS loading, whereby one volume crashes and the other works, I found a solution that worked for me

    Hope the author of this website does not mind links:

    Here it is

    Once again Many Thanks

  9. SandraH says:

    Thankyou fixed the problem in moments after searching and trying many things over the past day.
    I had used ghost to image new NB

  10. marsk says:

    Perfect thanks worked great. The same thing didn’t boot after ghost to the ssd.

  11. Brian G says:

    Thank you for this post! I was messing with this off and on for a day on a new Lenovo with a new SSD.

  12. Jilson says:

    the same problem occured to me when i used easeus harddisk manager

  13. Ramin says:

    I’ve faced to this problem since i used easeus harddisk manager.mine laptop doesn’t show ESP drive but there is a 300mb hidden partition(label:system) and i chose that one but this error appeared:
    Failure when attempting to copy boot files.
    Please help

    • Pieter Willemse says:

      Hi Ramin,
      It looks like you are making a mistake with the command. most likely a wrong drive letter.

      • Broke my Windows 8 when installing Ubuntu says:

        I am getting the same problem. Failure when attempting to copy boot files. I tried selecting the drive that was FAT32 like in your screenshots because none of my drives are labeled ESP.

        • Broke my Windows 8 when installing Ubuntu says:

          Nevermind. I was choosing the wrong drive letter. Your fix worked like a charm!! It’s been broken since Monday! No files lost! Thank you!!

  14. Miguel says:

    Pieter Willemse,

    Please man, help me, I’m having same problem as you when I used a 3rd party partition manager called AOMEI.. I just moved the new partition I made and my computer restarts and after the process the blue screen appeared..

    I dont have an installation or recovery disk for the laptop is shipped to me with windows 8 already installed in it.. Please help me, I dont want to pay very expensive money to technicians if I can solve the problem myself with your method..

    Do you have skype or facebook account? Please help me..
    Thank you very much in advance..

  15. Will Mcilveen says:

    I am trying to fix a friends machine by using your method, but I am getting a “Failure when attempting to copy boot files” error when attempting this.

    Any ideas what may be causing this?

    Oh and btw thanks for writing out this tutorial Pieter, this is by far the simplest method for resolving this issue.

    • Pieter Willemse says:

      It looks like you are making a mistake with the command. most likely a wrong drive letter.

      Let me now if you are able to fix it.

  16. sacha says:

    bcdboot C:\windows /s Z: /f UEFI
    not /f:

    • Pieter Willemse says:

      I stand corrected, it indeed seems to be /f But i don’t think it matters because the command worked for me. I updated the article accordingly though.

  17. Marco says:

    I don’t have the ESP label, I have 4 volumes, the dvd-rom one,the win8(os) partition (ntfs),the data partition(ntfs),and the one of the usb(it is a bootable usb,i got win8 installation there). I would really appreciate if you could help me. Thank you!

  18. TONY says:

    if I do this, my data in the hard drive will be lost??? Please it’s very important to me.

    • Pieter Willemse says:

      Hi tony,
      If you do this your data will not be deleted. Let me now if you need any more help.

  19. Pieter Willemse says:

    Hi arash,

    If he only selected the wrong one as deafault the good one should still be available. When you run the BCedit command you should be able to change the Default selection. Check out the following article for the command switches:

  20. Arash says:

    I solved the problem with this method and after PC recovered there were 2 Windows 8 to select. A friend of mine claimed it will be fixed if we choose the right option as default OS from msconfig boot section but he selected the wrong one !
    Now I try to use your method again but it doesn’t work !
    Even bcdedit command does not work and says it’s not compatible with the version of windows you’re runnig.
    Can anyone help me to wake my laptop up again ? :(

  21. phil says:

    I am facing the same problem ever since I used easeus partition manager.
    I tried to use this solution, but in the list of volumes there is none labelled ESP nor does any drive have OS!
    Please help. Thanks in advance.

    • Pieter Willemse says:

      Hi Phill, i have a few questions and suggestions for you so let’s begin.

      – What drives do show when you enter in the command “list volume”?
      – And what kind of changes dit you make with Easeus Partition manager?

      ( as Tristan pointed out Their is not always a label associated with the partitions) You could find your “OS” drive with some simple CMD commands
      for example: before entering in the “Diskpart” command try entering:
      C: (enter)
      dir (enter)
      now it wil show a list of directories if it shows a Windows directory it is your “OS” Drive (if not try using a different letter)

      If you still can’t figure it out try posting a screenshot/Photo on skydrive or dropbox and share the URL here.

  22. Tristan says:

    Mine didn’t show an ESP drive but did show a 300mb other “hidden” partition. I selected it and the machine is back up and booting. Legend, thanks heaps!

  23. Reza says:

    It works like a charm. Thanks a lot. I was partitioned my HP pavilion touchsmart 11 with easeus partition master. What happened after is blue screen like that and then all is solved by this magic

  24. Tony A says:

    I spent 10 hours trying to fix my computer. finally came across your solution and it work. Thank you very much. you saved my life

  25. Allison says:

    I’m so lost. I got this screen 2 times in one day. I can’t follow the instructions because I don’t have a cd or dvd. My computer doesn’t seem to have any problems at all. It runs quickly and efficiently. The only time it did this was when I was on windows live movie maker combing videos. When I booted it back up after it crashed it gave me the screen saying that my computer need repairing. When I tried to go back to finish was I was doing it crashed again. I don’t even know where to begin looking to fix my problem.

  26. Mudassar says:

    Thanks dear..It worked for me….God bless you…

  27. hendra says:

    niceee… work.. but for beginer maybe must change first on bios. set on IDE dont ASCII because DVD Windows recovery cant be read.

    thx thx a lot ^^ veery heelpfull

  28. Luke says:

    This error is going on with my sager, but it is accompanied with an inevitable shut off after around 25 beeps. Booting from the windows repair dvd doesn’t resolve the beeps -> shut off, and the process described here can’t be completed because of this.

Comments are closed.