Create a system repair USB under Windows 7

1/3: Preparing the USB key

Open the command prompt: “Run” -> CMD

And then type the following commands:

  • DISKPART
    • (This command will open the tool “diskpart”)
  • list disk
    • (Look for the No. assigned to your USB key from the list that appears)
  • select disk 3
    • (Where No. 3 correspond to your USB key)
  • clean
    • (This will delete this partition)
  • create partition primary
    • (Create a new partition)
  • active
    • (This will make your partition active – bootable)
  • format fs=fat32 quick
    • (Quick format in “fat32”)
  • assign
    • (To assign a letter to your USB drive)
  • exit
    • (To exit diskpart)
  • exit
    • (To close the command prompt)

Overview of the commands entered: of commands.

win7_repair_usb_1  

2/3: Display hidden files and folders

  • Start> Computer
  • Click Organize> Folder Options and Search > View tab
  • Check :
    • View hidden files, folders and drives
  • Uncheck:
    • Hide extensions for files whose type is known
    • Hide protected files of the operating system (recommended)

3/3 Creating directories and copy the necessary files

  • Create a folder on your desktop called Win7.
  • Open the folder and create the following directory “sources” and “boot”

 

win7_repair_usb_2

  • Copy the following files in the Win7 directory:
    • C:\Windows\Boot\PCAT\bootmgr
  • In the boot directory, copy the following files:
    • C:\Windows\Boot\DVD\PCAT\boot.sdi
    • C:\Windows\Boot\DVD\PCAT\BCD
    • C:\Windows\Boot\DVD\PCAT\fr-FR\bootfix.bin
  • In the source directory, copy the following file:
    • C:\Recovery\486aab42-cf02-11de-be22-c44fb1debe9d\winre.wim

win7_repair_usb_3

  • Copy the contents of the Win7 folder to the USB key:
  • Rename the following files on your USB flash drive:
    • BCD to bcd
    • winre.wim to boot.wim

 

Source: http://en.kioskea.net/faq/29462-create-a-system-repair-usb-under-windows-7

Advertisements