Showing posts with label Troubleshooting. Show all posts
Showing posts with label Troubleshooting. Show all posts

Wednesday, February 15, 2012

Repairing Win 7 when Repair Computer option missing or not working


1. Firstly we need to check the boot loader to see what drives/partitions are known about.

          bcdedit /enum all

2. Remove any 'unknown' entries.

          bcedit delete {ID Number}

3. Run the reagent command and see if we can enable it.

          reagentc /enable

4. If the previous command fails then we need to re-add the repair partition information.

4a. First mount the Repair partition with 'diskpart' utility.

          diskpart
          list disk
          select disk 0
          list volume
          select volume 1
          assign letter=R
          exit

4b.     reagentc /setreimage /path R:\recovery\winre /target c:\windows

4c.     reagentc /enable

5. Re-run the 'bcdedit /enum all' command and make sure the repair partition info is now correct.

6. Reboot hitting the f8 key to bring up the Advanced Boot Options page.

7. Hit Repair Computer and hopefully we are back in business.

All the available switches for reagentc can be found at the following technet page.