How do you recover Windows 7 boot with partition wizard?

How to recover Windows 7 boot

First, use the compatible boot of Windows Vista, and check the real drive letter of the system disk with the command of List under Diskpartk.:

>diskpart

DISKPART> list disk

DISKPART> list volume

Try to use Bootsect.exe to recover the MBR of the system disk. All these can be found under the boot directory of the installation disk for Windows Vista/2008/7. /nt 60 stands for the boot manager of Vista and /nt 52 stands for the used NTLDR.

>bootsect.exe /nt60 C:

Input the boot parameter of Windows with bcdboot.exe.

Recover the boot parameter of Windows 7 with the command >bcdboot c:\windows /s c:

Recover the boot parameter of Windows 2008 with command >bcdboot d:\windows /s c:

Of course, with these commands, we can also set bootable USB drive.

Input the following cmd to set the volume of DISKPART Activate USB

>diskpart

DISKPART>list volume

DISKPART>select volume <volume # of USB drive>

DISKPART>activate

Then input the cmd bootsect to make the boot sector of this USB

bootsect /nt60 <drive letter of your USB drive>

Tip: copy the boot cmd to the USB drive, and finish the operation.