The Story:
I am at work on my lunch break remotely connected to my home PC doing stuff, then I lost connection and could not re-connect.    I get home and I see WIn7 doing "Startup Repair" and rebooting over and over...   WTF, I was not doing anything bad, just reading a few forums.... I reboot and it starts the "Startup Repair" again, so I let it go.....   Then I am heading up the stairs and see my wife on her laptop, and Wn7 is doing the samething, "Startup Repair."   OMG, what is going on.   Her's would reboot and start a Microsoft update which fails on 282, error C0000034, and mine just goes back to startup repair.  

I am writing this because from me looking on google, I am not the only one (like hundreds, if not thousands), and I could help someone.

PC1

None stop "Startup Repair"     (6 hours, and kept rebooting itself)
reading logs and found "Boot manager failed to find OS loader"
I booted from the Win7 DVD and choose, Install, repair Windows, then the command prompt
I entered the following commands

bootrec /fixmbr

then
bootrec /fixboot


I reboot, and whoohooo   good to go.   I lost my grub boot loader (or maybe just as default) since I was booting Win7, and 2 Linux distros using Grub, but I can fix grub later.   Win7 has all my "important" stuff and now is booting



PC2
Error C0000034

I found this, and I must give credit, this work perfectly, and I must thanks to Sam!!!!!!!!

From
http://answers.microsoft.com/en-us/windows/forum/windows_7-system/fatal-error-c0000034-on-boot-after-service-pack-1/5f7127e8-9887-4f01-aaa5-9729b69544b7

- Open the recovery console (boot from a Win7 DVD, Install, then choose repair a Windows installation, then choose Command Prompt)

- Change working directory to whatever the root folder of the Windows install is (might be D: or some other letter for some people):

cd /d C:\windows\system32\config

Rename the following files by typing the following:

ren default default.old
ren sam sam.old
ren security security.old
ren software software.old
ren system system.old


- Change the working directory:

cd regback


- Copy the files from this directory to the previous directory as follows:

copy default c:\windows\system32\config
copy sam c:\windows\system32\config
copy security c:\windows\system32\config
copy software c:\windows\system32\config
copy system c:\windows\system32\config

- Having done this, I restarted my computer, and it booted all the way with no errors. However, it seemed somewhat unstable, so I booted into Safe Mode and ran CHKDSK (chkdsk /B) and conducted a normal system restore to before the service pack install using the normal method. To fix remaining problems, I ran sfc /scannow. My computer now seems to be running as well as ever.

Hope this helps,

Sam



Comments (48)
Jeff Livesey April 13 2011 12:07:59 AM