Just a few hours ago I was installing an update for Windows 10 and then it started turning on and off. I let it do it's thing for a while until I found it odd that it would do it so much.

When I looked closer I found that it followed a simple pattern:

Turn on, try to load OS, fail (Or at least it seems so), restart, Show "Preparing automatic repair", turn off and the cycle begins again.

What my case has different from all others I saw is that I am using the very laptop that doesn't work since I have Linux running along-side of it.

I can access all the files and probably do some other stuff that might help but I'm not sure what to do.

Help would be appreciated.

  • If Windows is not fully installed. You will just have to reinstall it. There isn't anything to repair.
    – Ramhound
    May 31 '15 at 3:12
  • Perhaps running startup repair from the Win10 installer media might help.
    – Karan
    May 31 '15 at 3:12
  • @Karan Where do I get that? May 31 '15 at 3:36
  • @Ramhound What exactly went wrong then? I was just installing an automatic update from MSFT... May 31 '15 at 3:37
  • Create a bootable USB using the ISO and hopefully it'll allow you to repair.
    – Karan
    May 31 '15 at 3:39

In your BIOS, change XD-bit (No-execute Memory Protect) to ENABLE.

I had this exact issue last night, and this BIOS change resolved it.

  • Too late, windows 10 is now gone for good. Jun 30 '15 at 16:49
  • I'm sure it will eventually be back. This issue has been around since the Windows 8 days, so it's not unique to Windows 10 - I just never encountered it until my instance of Windows 10 wanted to update itself. Jul 1 '15 at 14:08
  • Well, hopefully it will help somebody else. I had to wade through a lot of articles saying a windows reset was the answer until I found the bios change buried in a forum post. Jul 3 '15 at 10:38

I had the same problem, automatic repair was stuck. had to do a hard reset to get the system to boot. But it went back to the automatic repair screen.

I used a usb with windows 10 install on it to boot, choose repair system and went to a cmd prompt. I used diskpart to assign the windows boot manager drive letter from C: to I: then changed the windows os partition to c:. Rebooted the system and booted from the usb again and used the system restore. It took a long time and told me it failed... but upon rebooting, system restore had worked and everything was back to normal. What a pain in the ass Note: This boot took a super long time while system restore was restoring.

Oh ya, one more thing; the XD crap in the bios is a cpu thing and did not fix anything for me with this dell optiplex 380 computer.


I had the same problem with my desktop computer. In my case, I found out it was because of faulty RAM. My computer restarted suddenly, just as a scheduled restart after installing updates, and after that, it won`t boot, saying Preparing Automatic Repair. After some research and trying, I found out that it can be from a majority of causes, one of them being Faulty RAM. I tried to swap one memory card at a time, and after doing that my computer started again and boot normaly, just as before.

  • In my case, mis-paired RAM. Thanks.
    – EpicVoyage
    Jun 17 '17 at 1:51

I had the same problem trying to install sole Windows 10 on a Mac. It was a pain as I reinstalled Windows no less than 5 times without success until I found out what my problem is. I will post my solution here in case someone might need it.

My problem is with the MBR and GPT disk format. Mac could create a "hybrid" disk using Disk Utilities but that was not enough. So what I did was:

  1. Use gdisk to add a GPT partition as partition 2. The code for Windows is 0700 in case you wonder. I wiped everything out except the default 1st partition, 200MB reserved by Mac.

  2. Install Windows 10 as usual and the problem is gone.

Just a note to another Mac user, you could back up your whole drive to an USB drive and boot up Mac OS from there just in case you will need it later.

Not the answer you're looking for? Browse other questions tagged or ask your own question.