How can I rebuild the Windows boot files?
I have had the same problem... after two days of various trials, I tried:
bcdboot c:\windows
But it did not work for me so I tried:
bcdboot c:\windows /s c:
And all boot files were copied and the system is back online.
Assuming that c: is your system drive, and Windows is installed to the \Windows subdirectory, try running:
bcdboot c:\windows
Try these general steps:
- Make another install of windows on the same disk on the same computer in a different partition. (Shrink your Windows partition and make a 30GB one, then install 7 in that.)
- Copy all of your boot files from the new install to the broken one using a Linux LiveCD (I would recommend Ubuntu as it comes with GParted, software which will allow you to do the aforementioned partitioning changes)
- Select your old 7 install from the boot menu and see if it works. If it does, delete the new partition and run startup repair.
- If it doesn't doesn't, consider using a Linux LiveCD (I prefer Ubuntu, a very user-friendly distro) to copy your data over to a new install of Windows, either disk-to-external-media-and-back-to-disk or just into a new Windows partition.