Dual-boot Repair utility for Windows 8, Windows 7 and Vista

 

 

Dual-boot Repair

 

Automatic Repair

 

Dual-boot Repair will automatically fix boot environment of systems based on Windows 7, Windows 8 or Vista with Windows XP, Vista or Windows 7/8 as second operating system.

Many users are willing to move to Windows 7/8 from XP or Vista but want to keep their old system for many reasons. Dual-booting is a solution to have two or more OS installed side by side. A dual-boot system is also useful when testing software in different environments.

You have installed Windows 7/8 or Vista after having Windows XP or Vista on your system than everything should be OK. At boot time you will have the choice to boot either Windows XP/Vista or Windows 8/7/Vista. The only small problem here is that the boot menu entry for XP is called "Earlier version of Windows". This can be solved easy when in Windows 8/7/Vista by using Visual BCD Editor for renaming the loader entry.

You can rename the loaders to your choice for example "Windows 7" or "Windows 7-32" or "Windows 7-64" so the boot menu will look better and suit your taste.


You have installed Windows XP after having Windows 8/7 or Vista and you can no longer boot into Windows 8/7/Vista. The problem is that the boot environment of Windows XP has replaced that of Windows 8/7/Vista. Installing an earlier Windows version when already having a later Windows version installed causes booting problems for the system installed earlier.

Repairing your dual-boot or multi-boot system is a simple one-click task using the Automatic Repair option of "Dual-boot Repair" utility.

The automatic repair option will recreate/repair Windows 8/7/Vista BCD and the boot environment, even in a multi-boot system, and allow the user to boot into Windows 8/7/Vista. The existing Windows 8/7/Vista Boot Configuration Data store - the system BCD - will be saved, if present, in case something goes wrong.

So let's start.

For Windows 7 or Vista:

Download and install Visual BCD package. (Download latest Visual BCD version 0.9.3.1)

For Windows 8.1 and earlier:

Get Dual-boot Repair 8

For Windows 10 and earlier:

Get Dual-boot Repair 10

Run "Dual Boot Repair". Click on "Automatic Repair". Confirm.

That's it !

Now you will be able to boot into Windows 10/8/7/Vista.

Later when in Windows 8/7/Vista you can add a loader entry for Windows XP, Vista or Windows 7/8 installed on disk (if entry not already present in BCD) using Visual BCD Editor.

 

 

Automatic repair fixes or recreates the latest boot environment on active partition. The boot environment for Windows 8/7/Vista consists of:

  1. MBR and PBR (Master and Partition Boot Record) - repaired by using Windows bootsect.exe utility.
  2. bootmgr - Windows 7/Vista boot manager.
  3. "\boot" folder which includes BCD file/store. (2 and 3 are repaired by using Windows bcdboot utility)

bootmgr and \boot folder with BCD on active partition are the files needed to display the boot-menu.

 

Advanced options for repairing a dual or multi boot system:

(bcdedit.exe, bootsect.exe and bcdboot.exe are Windows utilities - they are installed in Visual BCD folder to assist the repair process)

Detailed advanced repair options help

 

Now let's focus on how to attach Windows 8/7 recovery environment to the advanced boot options menu as Windows 8/7 BCD repair (bcdboot.exe utility) does not care about this.

 

"Repair Your Computer" is missing as boot choice in Advanced Boot Options (on F8 key).

The utility that comes with Windows 8/7 for dealing with configuration of recovery is "ReAgentC.exe".

The file containing Windows 7/8 Recovery environment is "WinRe.wim" and usually resides in the system folder "\Windows\System32\Recovery" before installation. After installation "winre.wim" is placed in a subfolder of hidden "\Recovery" folder either on drive C: or on special hidden Recovery partition.

If you don't see Winre.wim file in mentioned folders you can extract the file "Boot.wim" from your installation DVD (or recovery CD) and place it under the mentioned system folder and name(winre.wim).

(Download link for 32-bit and 64-bit version of Windows 7 recovery files: download Windows 7 Recovery files - winre.wim + boot.sdi. This download is only for educational purposes when you quickly want to try operation of reagentc command.)

  1. Open a command prompt with administrative privileges.
  2. Type command reagentc /disable and execute.
  3. Type command reagentc /enable and execute. (Eventually reboot if the command reports an error and try again.)

You can examine with command reagentc /info the current state of recovery environment settings.

The result of the commands above you can view with Visual BCD Editor. You will see that there is a new "Windows Recovery Environment" loader. This loader is linked by element "Recovery Sequence" of  Windows 7/8 loader. The Windows 7/8 loader element "Auto Recovery Enabled" is also present and set to true. The recovery loader and the elements mentioned above are added by reagentc /enable command and removed by reagentc /disable command from system BCD.

During execution of reagentc /enable also the files winre.wim+boot.sdi are moved from \windows\system32\recovery to \recovery\{GUID} folder (usually on drive c:). Reagentc /disable acts in opposite direction.

 

It takes some time and effort to code apps and maintain a website, and liters of coffee ;)

paypal