Windows

Windows 7 won’t boot

Once at the command prompt:

Type the following commands:


bootrec.exe /fixmbr
bootsect.exe /nt60 all /force
attrib -h -s C:\boot\BCD
del C:\boot\BCD
bcdedit /createstore c:\boot\bcd.temp
bcdedit /store c:\boot\bcd.temp /create {bootmgr} /d "Windows Boot Manager"
bcdedit /import c:\boot\bcd.temp
bcdedit /set {bootmgr} device partition=C:
bcdedit /timeout 10
attrib -h -s C:\boot\bcd.temp
del c:\boot\bcd.temp
bcdedit /create /d "Microsoft Windows 7" /application osloader

After last command, you’ll get a message like this:


The entry {5ae3835f-2abc-11e8-96c3-dab3ce91eca7} was successfully created.

Now, before proceeding, we must identify the letter of the partition containing Windows folder. In order to do this, try moving from X:\Sources to other partitions and list their contents. For example:


dir C:\

dir D:\

Previous post

Chrome: How to install self-signed SSL certificates

Next post

Generating a valid self-signed certificate for Apache and Chrome

Fulvio Sicurezza

Fulvio Sicurezza

6 Comments

  1. Max
    Wednesday August 29th, 2018 at 12:03 PM — Reply

    … non tutti i pc sono venduti col cd di installazione… tutt’altro!

  2. Mikele
    Wednesday October 10th, 2018 at 10:28 PM — Reply

    Ho una domanda da porle
    Nella procedura a pagina 2 devo cambiare qualcosa se il sistema operativo ce l’ho istallato sulla directory “E”
    Attendo notizie

    • Fulvio Sicurezza
      Thursday October 11th, 2018 at 08:51 AM — Reply

      Ciao Michele,

      a patto che almeno il boot (NON la cartella Windows) sia sulla partizione C (come dovrebbe sempre essere) non devi cambiare nulla, mentre da pagina 3 devi fare bene attenzione a sostituire C: con E: come specificato.
      In bocca al lupo!

  3. Rick
    Monday November 19th, 2018 at 06:17 PM — Reply

    I have Windows 7 H.P.- 32 bit. My Desktop will not get past the “Starting Windows”. I have the Install Disk and have ran the “Repaired” option winch is a joke. I have ran: “Restore Last Good Known Boot”, “bootrec/Fix MBR”, “bootrec/FixBoot”, bootrec/RebuildBCD”, etc. The first error was “Catastrophic Failure-ox800FFF”. Now using the System Restore, all six restore points are useless. One Memory Error was “Referenced Memory error 0x.00000004”. Each Restore Point has its own Memory error code. I know you might need more info. Please let me know and I’ll provide what I can. I need my Desktop badly. Thank you, Rick

  4. Wednesday May 15th, 2019 at 07:46 PM — Reply

    Volevo ringraziarla per la sua pubblicazione che, in modo semplice e completo, mi ha consentito di ripristinare Windows 7, cosa che non ero riuscito a fare con il disco di ripristino del sistema. Adesso ha ripreso a funzionare alla grande. Complimenti sinceri e ancora grazie.
    Antonio.

Leave a reply

Your email address will not be published. Required fields are marked *