Windows 7 - Ripristinare da command line il registro di sistema

Premere F8

Vi è l'opzione ripara il computer




La prima opzione permette di riparare il sistema
La seconda opzione permette di ripristinare lo stato di registro precedente
La terza opzione permette di ripristinare l'immagine del sistema creata tramite il backup di windows (una specie di immagine Ghost)

L'ultima avvia la command line, ecco alcuni comandi utili:

bootrec /FixMbr ?

   The /FixMbr option writes a Windows 7 -compatible MBR to the system partition. This option does not overwrite the existing partition table. Use this option when you must resolve MBR corruption issues, or when you have to remove non-standard code from the MBR.
bootrec /FixBoot ?

   The /FixBoot option writes a new boot sector to the system partition by using a boot sector that is compatible with Windows 7. Use this option if one of the following conditions is true:
 - The boot sector has been replaced with a non-standard Windows Vista or Windows 7 boot sector.  - The boot sector is damaged.  - An earlier Windows operating system has been installed after Windows Vista or Windows 7 was installed. In this scenario, the computer starts by using Windows NT Loader (NTLDR) instead of Windows Boot  Manager (Bootmgr.exe).
bootrec /ScanOs ?

   The /ScanOs option scans all disks for installations that are compatible with Windows Vista or Windows 7. Additionally, this option displays the entries that are currently not in the BCD (Boot Configuration Data) store. Use this option when there are Windows Vista or Windows 7 installations that the Boot Manager menu does  not list.
bootrec /RebuildBcd ?

   The /RebuildBcd option scans all disks for installations that are compatible with Windows Vista or Windows 7. Additionally, this option lets you select the installations that you want to add to the BCD store. Use this option when you must completely rebuild the BCD (Boot Configuration Data).
chkdsk /f /r d: and confirm the dismount of the volume.