MY SOLUTION (which will NOT work for you if you cannot boot to SAFE MODE):
Summary:
I was surprised to find that the problem was caused by using the default Microsoft Windows 8.1 (compatible) driver for my wireless Logitech mouse. By installing the latest Logitech drivers for Windows 8.1, the problem was solved. It turns out that the Microsoft
default driver is only partially compatible with my Logitech M185 wireless mouse - or so it appears in my case. Although the mouse looked like it was working OK, the driver was in fact going to crash or freeze my computer at any moment, followed by a "repair
loop" when I restarted my PC.
HOW I GOT THE NEW DRIVER INSTALLED:
First, I'll tell you what I tried, so we can be on the same page.
I had this "repair loop" problem on my PC (not my laptop). My Windows 8.1 Pro was an online "store" upgrade from Windows 8.0 Pro. At some point after installing 8.1 Pro, I ran into the repair loop problem. I never had it with Windows 8.0 Pro.
I couldn't get the PC to read any of the restore\recovery media that I had (a Windows 8.0 Pro disc [from Office Works], and Windows 8.1 disc [from a downloaded ISO], and a recovery USB stick created on another Windows 8.1 PC that was still working). The problem
PC would say "invalid media" when I tried to boot from any of these media.
I thought if I could start in SAFE MODE I could use a System Restore point to recover my PC. At some point (maybe it was after pressing F8 a few times just BEFORE booting, when the screen was still totally black), I found the option to start in SAFE MODE.
SAFE MODE started OK. However, all my System Restore points were gone - don't know why.
I left the PC in SAFE MODE and did considerable research (using my working PC). There were 2 areas to address: my mouse driver, and my system files. I downloaded the latest Logitech driver to a USB stick for later use.
Then, I needed to get my system fixed, if it was messed up. There is (sort of) an alternative to System Restore:
Still in SAFE MODE, I created a new desktop icon, as follows:
- Right-click an empty area on the desktop and select NEW, then SHORTCUT.
- In the GENERAL tab name the shortcut CMD.
- In the SHORTCUT tab in the TARGET field type "C:\Windows\System32\cmd.exe" without quotes.
- In the START IN field type "C:\Windows\System32" without quotes.
- Then click OK.
- Right-click on the CMD icon and select RUN AS ADMINISTRATOR
- at prompt, type: "DISM /Online /Cleanup-Image /RestoreHealth" without quotes, and note the space before each forward slash. NOTE: This checks for component store corruption, records the corruption to C:\Windows\Logs\CBS\CBS.log and FIXES the corruption using
Windows Update. This operation takes ~10-15mins or more depending on the level of corruption.
- Reboot the PC. If lucky, it will boot into Windows 8.1 without any repair loop.
- Immediately plug in the USB stick with the updated Logitech driver, and install the driver.
- Reboot. Hopefully the "repair loop" problem will never return.
THE END