camscape - for excellent IT solutions itkb.ro - IT knowledge base

windows :: windows is not booting anymore

David
David G.
TitleWindows is not booting anymore
Tagswindows,boot error
Desc.Windows is not booting anymore
CodeKBWIN0014 v1.0
Date20 mai 2020

There are many reasons for that.

 

 

1. Try to run SFC (System File Check) from Command Prompt:

 

Boot from installation media DVD, depends on your Windows version, server included

 

Run repair and select Command Prompt

 

From  Command Prompt run DiskPart to find out which disk and volume your System and Windows data is stored on. Let''s say it is E:

Exit DiskPart and run

 

ren E:\Windows\WinSXS\Pending.xml Pending.old


Now run

 

SFC /Scannow /OffBootDir=C:\ /OffWinDir=E:\Windows

 

again where C: is your System partition and E: is your Windows folder location

 

Restart system and allow it to boot up as normal (not from media)

 

 

 

2. It can be a pending SFC that needs to be stopped.

 

Boot from installation media DVD, depends on your Windows version, server included

 

Run repair and select Command Prompt

 

From Command Prompt run DiskPart to find out which disk and volume your System is stored. Let''s say it is C:

Exit DiskPart and run

 

dism.exe /image:C:\ /cleanup-image /revertpendingactions

 

 

3. The boot flag is gone

 

Boot from installation media DVD, depends on your Windows version, server included

 

Run repair and select Command Prompt

 

From Command Prompt run DiskPart . Type

 

list vol

 

Locate the number of the small FAT32 EFI-partition, in my case nr 2. Type:

 

sel vol 2
assign
list vol


Locate the letter assigned, in this case E: . Type

 

exit

cd /d e:\efi\microsoft\boot
ren BCD BCD.bak
bcdboot c:\windows /l en-us /s E: /f ALL
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd