bcdedit /export C:\bcd_backup attrib C:\boot\bcd -h -r -s ren C:\boot\bcd bcd.old bootrec /rebuildbcd
Make sure your computer is turned off, then turn it on. As it starts up, press the key to enter the Boot Menu (usually F12, Esc, or F2) and select the installation media. windows 7 bootmgr download
Boot to Command Prompt from the recovery media. Step 2: Launch DiskPart: diskpart Step 3: List disks: list disk (Select your main disk, usually Disk 0) Step 4: Select your disk: select disk 0 Step 5: List partitions: list partition Step 6: Identify the System Reserved partition (usually 100MB to 350MB, type = System). If you don't have one, select the partition where Windows is installed (usually C: ). Step 7: Select that partition: select partition 1 (replace 1 with the actual number) Step 8: Mark it as active: active Step 9: Exit DiskPart: exit Step 10: Reboot. bcdedit /export C:\bcd_backup attrib C:\boot\bcd -h -r -s