Windows boot process questions.


mrbleh

New member
Local time
3:36 PM
Posts
6
OS
gentoo
Is there any detailed information on the order that windows loads? which files exactly load in which order? i know that the bootloader loads ntoskernel, and it takes over from there, but what else happens?

Long story short, my windows installation got corrupted and i "need" to save it without system restore, recovery image, or any other normal tool. (yes, I know i messed up by trying to save space back when i was bytepoor by not having these.)

my plan is to get a hash of all critical windows files, and see if i can find which one is corrupted by searching the hashes in a virus database. I've got a valid hash for the kernel and smss, but i dont know which other files i need to check.

The error message im getting is "CRITICAL PROCESS DIED" 0XEF. not 100% sure on the hex code, but 100% sure about the message. It seems to be making it past the bootloader, but doesn't start all the way up. safe mode does the same thing. sfc from the automatic recovery says it found errors and fixing them was successful, but windows crashes again on reboot.

Why I "need" to save this partition instead of just reinstalling like a normal person? I installed $1500 software that has a limited number of installations, and i dont want to waste one on this minor problem.
 

My Computer

System One

  • OS
    gentoo
    Computer type
    PC/Desktop
    Manufacturer/Model
    various
In-Place upgrade??
 

My Computers

System One System Two

  • OS
    Windows 11 Enterprise 25H2 26200 7462
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Build
    CPU
    Intel XEON E5-2699 v3
    Motherboard
    ASUS X99-A
    Memory
    64GB Teamgroup UD4-3600
    Graphics Card(s)
    NVIDIA GeForce GTX 1080 Ti
    Sound Card
    Integrated
    Monitor(s) Displays
    ACER X34 Predator
    Screen Resolution
    3440 x 1440
    Hard Drives
    Crucial CT1000P 3P SSD8 1TB
    Crucial CT1000 BX500 SSD 1TB
    PSU
    GameMax Pro
    Case
    Fractal Design
    Cooling
    Corsair H110iGT + 6 140mm Fans
    Keyboard
    Corsair K4
    Mouse
    G-Skill G502
    Internet Speed
    300MBs
    Browser
    Chrome
    Antivirus
    OEM
    Other Info
    ASUS RT-AC87U Router
  • Operating System
    25H2 26200.5074
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X555LA
    Memory
    8GB
    Browser
    Chrome
    Antivirus
    OEM
that only works if you log into windows. i tried that with an install iso.
 

My Computer

System One

  • OS
    gentoo
    Computer type
    PC/Desktop
    Manufacturer/Model
    various
that only works if you log into windows. i tried that with an install iso.
Run the repair tool again and see if it finds any more problems. I had to run it FOUR times once and it fixed something different each time. Saved me from restoring a backup but at least I had one. It was windows 7 so your mileage may vary.
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 (up to date)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Intel i5 12400
    Motherboard
    Gigabyte Z690 UA
    Memory
    Corsair Vengeance LPX 16GB
    Graphics Card(s)
    On Board the Z690
    Sound Card
    On Board
    Monitor(s) Displays
    43" Samsung tu7000
    Screen Resolution
    2560 x 1440
    Hard Drives
    SAMSUNG SSD 1TB NVMe M.2
    PSU
    Thermaltake smart 500w 80+
    Case
    LIAN LANCOOL_205M
    Cooling
    Bunch of fans . . . :o) (lights dont work)
    Keyboard
    Unicomp: Ultra Classic White Buckling Spring USB
    Mouse
    M510
    Internet Speed
    50mbps on Ethernet
    Browser
    Fire Fox
    Antivirus
    Windows
    Other Info
    Love this computer but I still prefer Win-7 like I love my old Lazy Boy Recliner . . . it just feels better.
  • Operating System
    WIN-7-64BIT and Win-11 pro for testing on unsupported hardware
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home built
    CPU
    i5-3570K CPU @ 3.40GHz, 3801 Mhz, 4 Core(s), 4 Logical Processor(s)
    Motherboard
    GA-Z77-HD3
    Memory
    16 GB - Crucial Ballistick 4GB PC3-14900 DDR3-1333 MHz
    Graphics card(s)
    NVIDIA GeForce GTX 1050
    Sound Card
    On Board
    Monitor(s) Displays
    ASUS VP278
    Screen Resolution
    1920 x 1080
    Hard Drives
    4 - internal Samsung 2.5" SSD, 1 WD HDD 7200 and some external drives
    PSU
    EVGA 550w
    Case
    Old Gygabyte Tower
    Cooling
    Yes
    Keyboard
    Unicomp - UNIOP4A USB (like the old IBM Model H that I started with)
    Mouse
    M510
    Internet Speed
    50mbps
    Browser
    Firefox
    Antivirus
    Windows
    Other Info
    The only thing it lack is USB-3.2 on the front face but it has 3.0 on the back
says it can't automatically repair. lists a log file named srttrail that says pending package update at the end, error code 0x4.
 

My Computer

System One

  • OS
    gentoo
    Computer type
    PC/Desktop
    Manufacturer/Model
    various
says pending package update at the end

try revertpending and restorehealth from booted media
in this example windows has letter E from booted media

Dism /Image:E:\ /Cleanup-Image /revertpendingactions

you could run checkhealth to see if it repairable

Dism /Image:E:\ /Cleanup-Image /CheckHealth

Dism /Image:E:\ /Cleanup-Image /RestoreHealth

Captured_000.webp


Captured_001.webp
 
Last edited:

My Computers

System One System Two

  • OS
    Win7,Win11
    Computer type
    PC/Desktop
    CPU
    i7-9700
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x16gb 3600mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7,win11
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200
    PSU
    xfx pro 450
Please run the Sea Tools bootable Long generic test > take a picture > post a share link





If the Long generic test displays fail then backup important files and replace the drive.


If the Long generic test displays pass then boot to Windows RE > command prompt > type:


notepad
bcdedit
bcdedit | find "osdevice"

Post a share link



chkdsk /b /v W:

(change the drive letter to the drive letter displayed in the command result for the osdevice)


Make sure that the windows drive runs overnight while sleeping.

C:\WINDOWS\system32>chkdsk /b /v W:
The type of the file system is NTFS.
Cannot lock current drive.
Chkdsk cannot run because the volume is in use by another
process. Would you like to schedule this volume to be
checked the next time the system restarts? (Y/N)

Type: Y

Reboot as needed.
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP
    CPU
    Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
    Motherboard
    Product : 190A Version : KBC Version 94.56
    Memory
    16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
    Graphics Card(s)
    NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
    Sound Card
    IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
    Hard Drives
    Model Hitachi HTS727575A9E364
    Antivirus
    Microsoft Defender
    Other Info
    Mobile Workstation
If revertpending doesnt work you can try /removepackage for the offending package(s)
 

My Computers

System One System Two

  • OS
    Win7,Win11
    Computer type
    PC/Desktop
    CPU
    i7-9700
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x16gb 3600mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7,win11
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200
    PSU
    xfx pro 450

My Computer

System One

  • OS
    gentoo
    Computer type
    PC/Desktop
    Manufacturer/Model
    various
Are you sure your windows installation is on E ?

check if you can load the software hive and system hive
regedit > click hkey_local_machine > file> load hive > browse to your windows partition \windows\system32\config\software

give it a name e.g. soft and see if it loads in regedit

then do the same with system hive name it e.g. sys
 
Last edited:

My Computers

System One System Two

  • OS
    Win7,Win11
    Computer type
    PC/Desktop
    CPU
    i7-9700
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x16gb 3600mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7,win11
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200
    PSU
    xfx pro 450
Try to restore your computer to date it was working using System Restore tool also use Startup Repair tool.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
screen-1.webp
the registry files loaded. do the file sizes look sane for a 6+ year old installation?
 

My Computer

System One

  • OS
    gentoo
    Computer type
    PC/Desktop
    Manufacturer/Model
    various
the registry files loaded. do the file sizes look sane for a 6+ year old installation?
My "software" is 5 times the size of yours the rest are comparable to mine that has very little use in 5 years and was an upgrade from Windows 10 that I hardy ever used except for Turbo Tax.
I have Turbo Tax (three years), Firefox, Office 2019, QCAD, Quickbooks Thunderbird email and a small graphics viewer. Ive never run a registry cleaner on mine. I had Autocad 2004 but it was a bit wonky so I uninstalled it a few days later (recently) That's probably of no help
 

My Computers

System One System Two

  • OS
    Windows 11 (up to date)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Intel i5 12400
    Motherboard
    Gigabyte Z690 UA
    Memory
    Corsair Vengeance LPX 16GB
    Graphics Card(s)
    On Board the Z690
    Sound Card
    On Board
    Monitor(s) Displays
    43" Samsung tu7000
    Screen Resolution
    2560 x 1440
    Hard Drives
    SAMSUNG SSD 1TB NVMe M.2
    PSU
    Thermaltake smart 500w 80+
    Case
    LIAN LANCOOL_205M
    Cooling
    Bunch of fans . . . :o) (lights dont work)
    Keyboard
    Unicomp: Ultra Classic White Buckling Spring USB
    Mouse
    M510
    Internet Speed
    50mbps on Ethernet
    Browser
    Fire Fox
    Antivirus
    Windows
    Other Info
    Love this computer but I still prefer Win-7 like I love my old Lazy Boy Recliner . . . it just feels better.
  • Operating System
    WIN-7-64BIT and Win-11 pro for testing on unsupported hardware
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home built
    CPU
    i5-3570K CPU @ 3.40GHz, 3801 Mhz, 4 Core(s), 4 Logical Processor(s)
    Motherboard
    GA-Z77-HD3
    Memory
    16 GB - Crucial Ballistick 4GB PC3-14900 DDR3-1333 MHz
    Graphics card(s)
    NVIDIA GeForce GTX 1050
    Sound Card
    On Board
    Monitor(s) Displays
    ASUS VP278
    Screen Resolution
    1920 x 1080
    Hard Drives
    4 - internal Samsung 2.5" SSD, 1 WD HDD 7200 and some external drives
    PSU
    EVGA 550w
    Case
    Old Gygabyte Tower
    Cooling
    Yes
    Keyboard
    Unicomp - UNIOP4A USB (like the old IBM Model H that I started with)
    Mouse
    M510
    Internet Speed
    50mbps
    Browser
    Firefox
    Antivirus
    Windows
    Other Info
    The only thing it lack is USB-3.2 on the front face but it has 3.0 on the back
if thats the case, i think my registry must have gotten corrupted. mine was also an upgrade of an upgrade. from windows 7, to 10, to 11. and ive hardly ever turned it off. i've installed at least 400 games, and 200 different pieces of regular software. i guess i will have to reinstall :(
 

My Computer

System One

  • OS
    gentoo
    Computer type
    PC/Desktop
    Manufacturer/Model
    various
dism reported
"Failed to open the key Microsoft\\Windows NT\\CurrentVersion."
Failed trying to determine the OS Version.

from the screenshot your software hive is only 256kb

If you havent got a backup in regback or somewhere else I dont know a way to fix that
 
Last edited:

My Computers

System One System Two

  • OS
    Win7,Win11
    Computer type
    PC/Desktop
    CPU
    i7-9700
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x16gb 3600mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7,win11
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200
    PSU
    xfx pro 450
Back
Top Bottom