Steps to take when running cmd prompt stuff at UEFI menu

dream3

Member
Member
Messages
31
Hi!

When I'm at the command prompt, at the UEFI repair menu utilies, what is the preferred order to best run the following commands:

sfc /scannow


bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd


chkdsk c: /f



Should I first do a "C:" or can I safely run them all straight from "X:"? Will it automatically identify the installation that needs to be repaired?

Thanks!
 

My Computer

System One

  • OS
    Windows 8.1
hopefully someone else will chime in but i'm pretty sure you want your bootrecord to be fixed first.. i mean thats only what you boot from.. then run sfc.. then chkdsk..
 

My Computer

System One

  • OS
    Windows 8.1 (HOME not Pro) 64bit
    Computer type
    Laptop
    System Manufacturer/Model
    (So not very nice) Lenovo Y410P
    CPU
    i7 quad 2.4Gig
    Memory
    16G ram
    Graphics Card(s)
    nvidia 2gig 755m
    Hard Drives
    Samsung 840 Evo

    supercache2 m2. mini card.
    Antivirus
    Win Defender
what is your issue? wont boot?

without assigning "C" you will be running those commands on "X" which is winpe booted into memory
 

My Computer

System One

  • OS
    Windows 3.1 > Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Dell XPS 8700
    CPU
    I7
    Memory
    24 GB
what is your issue? wont boot?

without assigning "C" you will be running those commands on "X" which is winpe booted into memory

The usual problem is windows failing to boot, or repair loops.

So I should always start by assigning "C:"(or whichever driver the OS is), is that it? And then proceed with those commands?
 

My Computer

System One

  • OS
    Windows 8.1
from your "X" command prompt - run this command ( with "W" being the refferance to the Windows partition drive letter)


W:\Windows\System32\bcdboot W:\Windows


if you ain't sure what drive letter was assigned to you windows partition - type

diskpart
list volume

you will now see the drive letter assigned to the windows partition..

type exit to get out of diskpart prompt, then run that command
 

My Computer

System One

  • OS
    Windows 3.1 > Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Dell XPS 8700
    CPU
    I7
    Memory
    24 GB
from your "X" command prompt - run this command ( with "W" being the refferance to the Windows partition drive letter)


W:\Windows\System32\bcdboot W:\Windows

Wow Ive never heard of that before. Ever.

Everyone always told me to open the prompt, even if it's set to "X" and run them straight without changing a thing.

So can I really run all my 5 commands consecutively after that line? Nothing else missing before or in between?

C:\Windows\System32\bcdboot C:\Windows
sfc /scannow
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd
chkdsk c: /f

And finally, is the order correct so everything goes smoothly or should I change something there?
 

My Computer

System One

  • OS
    Windows 8.1
that command will re-write your boot files.. so bootrec is not needed

the only other command you may need to run is the chkdsk command before bcdboot

I would run sfc from within windows

chkdsk c: /f
C:\Windows\System32\bcdboot C:\Windows
 

My Computer

System One

  • OS
    Windows 3.1 > Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Dell XPS 8700
    CPU
    I7
    Memory
    24 GB
that command will re-write your boot files.. so bootrec is not needed

the only other command you may need to run is the chkdsk command before bcdboot

I would run sfc from within windows

chkdsk c: /f
C:\Windows\System32\bcdboot C:\Windows

Humm why sfc from within windows? What if it's actually the solution to make windows bootable?
 

My Computer

System One

  • OS
    Windows 8.1
because it scans for corrupt windows store package(s)

not the bootable files
 

My Computer

System One

  • OS
    Windows 3.1 > Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Dell XPS 8700
    CPU
    I7
    Memory
    24 GB
Back
Top