I'm having a look at windows booting process, what is Windows kernel's required drivers and BOOT_Start drivers, any example?


trinhanhduc

Member
Local time
10:02 PM
Posts
10
OS
Windows 10
I'm having a look at windows booting process, and they are a bit confusing
  1. PreBoot process: The PC's firmware initiates a power-on self test (POST) and loads firmware settings. This process ends when the firmware detects a valid system disk.
    • When a BIOS-based computer enters this phase, the firmware loads the master boot record (MBR) into memory, and then starts Windows Boot Manager.
    • When a UEFI-based computer enters this phase, the firmware loads and starts the Windows Boot Manager EFI application.
  2. Windows Boot Manager: Windows Boot Manager finds the Windows loader (Winload.exe) on the Windows boot partition, and then starts it.
  3. Windows operating system loader: The Windows Loader loads the Windows kernel's required drivers, and then starts the kernel.
  4. Windows NT OS Kernel: The kernel loads the system registry hive into memory. It also loads other drivers that are marked as BOOT_START.

    The kernel passes control to the session manager process (Smss.exe). This process initializes the system session, and then loads and starts the devices and drivers that aren't marked as BOOT_START.

My questions are

1. what is Windows kernel's required drivers and BOOT_Start drivers, are there any example?
2. Are USB 3.0 driver not loaded early in the boot process?
 

My Computer My Computer

At a glance

Windows 1011th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz8 GBytesIntel Iris Xe Graphics, NVIDIA GeForce MX330
OS
Windows 10
Computer type
PC/Desktop
Manufacturer/Model
DELL
CPU
11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Motherboard
DELL 0NX5H3
Memory
8 GBytes
Graphics Card(s)
Intel Iris Xe Graphics, NVIDIA GeForce MX330
Hard Drives
PM991a NVMe Samsung 512GB
ChatGPT:

Here's a corrected and more accurate version with consistent terminology and the missing winload.efi reference added:
  1. PreBoot process:The PC's firmware performs a power-on self-test (POST) and initializes the hardware and firmware settings. This phase ends when the firmware locates a valid boot device.
    • On a BIOS-based computer, the firmware loads the master boot record (MBR) into memory, which eventually starts Windows Boot Manager.
    • On a UEFI-based computer, the firmware loads and starts the Windows Boot Manager EFI application (Bootmgfw.efi).
  2. Windows Boot Manager: Windows Boot Manager locates and starts the Windows operating system loader. On BIOS-based systems, this is Winload.exe. On UEFI-based systems, this is Winload.efi.
  3. Windows operating system loader: The Windows operating system loader (Winload.exe or Winload.efi) loads the Windows kernel (Ntoskrnl.exe), the hardware abstraction layer (HAL), and the boot-start drivers required to initialize the operating system. It then transfers control to the Windows kernel.
  4. Windows NT operating system kernel: The Windows kernel initializes the executive subsystem and loads the SYSTEM registry hive into memory. It also initializes the remaining drivers that are configured to start during the boot process. Finally, the kernel passes control to the Session Manager process (Smss.exe), which creates the system session and starts the Windows initialization processes and services.

Here are concise answers to OP's questions, with a bit of context.

1. What are the Windows kernel's required drivers and BOOT_START drivers? Are there examples?​

The "Windows kernel's required drivers" are the components that Winload.exe/Winload.efi must load before the kernel can begin executing. These include:
  • The Windows kernel (Ntoskrnl.exe)
  • The Hardware Abstraction Layer (Hal.dll)
  • Drivers whose Start value is BOOT_START (Start = 0)
BOOT_START drivers are drivers that are essential for the operating system to access the boot device and initialize core hardware. Because Windows cannot continue booting without them, they are loaded by the Windows operating system loader before control is transferred to the kernel.

Examples of BOOT_START drivers include:
  • disk.sys – Disk driver
  • partmgr.sys – Partition manager
  • volmgr.sys – Volume manager
  • volsnap.sys – Volume Snapshot driver
  • CLASSPNP.SYS – SCSI/Class driver
  • storport.sys – Storage port driver
  • stornvme.sys – NVMe storage driver (on NVMe systems)
  • iaStorAC.sys or similar vendor storage drivers (if required to access the boot disk)
The exact set depends on the hardware and how Windows is installed. For example, a system booting from an NVMe SSD loads different storage drivers than one booting from a SATA AHCI controller.

After the kernel starts, it continues initializing the system and loads drivers according to their configured start types (such as SYSTEM_START, AUTO_START, and DEMAND_START).

2. Are USB 3.0 drivers not loaded early in the boot process?​


It depends on whether they are needed to boot Windows.
  • If the boot device is connected via USB 3.0, then the necessary USB host controller, USB hub, and USB storage drivers are loaded as BOOT_START drivers so Windows can access the boot volume.
  • If Windows is booting from an internal SATA or NVMe drive, USB 3.0 drivers are generally not required during the earliest stages of boot. They are initialized later by the kernel during Plug and Play device enumeration.
So USB 3.0 drivers are not inherently late-loading. They are loaded early only when they are necessary to access the boot device.

For example:
  • Windows installed on an internal NVMe SSD: USB 3.0 drivers are typically initialized later.
  • Windows To Go or another Windows installation booting from a USB 3.0 SSD: USB 3.0 controller and storage drivers must be loaded during the boot loader phase so the operating system can continue loading from the USB device.
 

My Computers My Computers

  • At a glance

    Windows 11 ProAMD Ryzen 9 9950X3DKingston FURY Beast 64GB (2x32GB) DDR5 6000MT/sASUS TUF Gaming Radeon RX 9070 OC Edition 16G...
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 9 9950X3D
    Motherboard
    ASRock B650E Taichi Lite
    Memory
    Kingston FURY Beast 64GB (2x32GB) DDR5 6000MT/s
    Graphics Card(s)
    ASUS TUF Gaming Radeon RX 9070 OC Edition 16GB GDDR6
    Hard Drives
    Solidigm P44 Pro 2TB M.2 NVMe SSD
  • At a glance

    Windows 11 HomeIntel Core Ultra 9 275HX64GB (2x 32GB) DDR5-6400NVIDIA GeForce RTX 5080 16GB GDDR7 Laptop GPU
    Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Legion Pro 7i Gen 10 16"
    CPU
    Intel Core Ultra 9 275HX
    Memory
    64GB (2x 32GB) DDR5-6400
    Graphics card(s)
    NVIDIA GeForce RTX 5080 16GB GDDR7 Laptop GPU
    Hard Drives
    2x 1TB M.2 NVMe SSD (SK Hynix)

My Computer My Computer

At a glance

Windows 1011th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz8 GBytesIntel Iris Xe Graphics, NVIDIA GeForce MX330
OS
Windows 10
Computer type
PC/Desktop
Manufacturer/Model
DELL
CPU
11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Motherboard
DELL 0NX5H3
Memory
8 GBytes
Graphics Card(s)
Intel Iris Xe Graphics, NVIDIA GeForce MX330
Hard Drives
PM991a NVMe Samsung 512GB
Well, I don't think Chatgpt is reliable for topics like this
How do you know if you don't use it?
The answer is actually pretty good for the boot process.
 

My Computers My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
How do you know if you don't use it?
The answer is actually pretty good for the boot process.
No, like I'm afraid that it will make up its answer
 

My Computer My Computer

At a glance

Windows 1011th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz8 GBytesIntel Iris Xe Graphics, NVIDIA GeForce MX330
OS
Windows 10
Computer type
PC/Desktop
Manufacturer/Model
DELL
CPU
11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Motherboard
DELL 0NX5H3
Memory
8 GBytes
Graphics Card(s)
Intel Iris Xe Graphics, NVIDIA GeForce MX330
Hard Drives
PM991a NVMe Samsung 512GB
No, like I'm afraid that it will make up its answer
It is a tool like any other tool. Feel free not to use the tool.
Either way, what would prevent you from validating the answers given afterwards?
It's not like it's etched in stone.
 

My Computers My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
the USB drivers are 'normally' loading early in the boot process ie. at start up boot
but that is dependent on the registry flag.

have a look here

and here

please back up your registry before making any changes.
best of luck Steve ..
 

My Computers My Computers

  • At a glance

    Debian 13 KDE .. Windows 11 HomeRyzen 7 5825u64GB DDR4 3200Ryzen 7 5825u
    OS
    Debian 13 KDE .. Windows 11 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP 24" AiO
    CPU
    Ryzen 7 5825u
    Motherboard
    HP
    Memory
    64GB DDR4 3200
    Graphics Card(s)
    Ryzen 7 5825u
    Sound Card
    RealTek
    Monitor(s) Displays
    24" HP AiO
    Screen Resolution
    1920 x 1080 @60 Hz
    Hard Drives
    1TB WD Blue SN580 M2 SSD Partitioned.
    2x 1TB USB HDD External Backup/Storage.
    PSU
    90W external power brick
    Case
    24" All in One
    Cooling
    Default Air Cooling
    Keyboard
    HP WiFi UK extended
    Mouse
    HP WiFi 3 Button
    Internet Speed
    1GB full fibre
    Browser
    Edge & Firefox
    Antivirus
    AVG Internet Security/Windows Defender
    Other Info
    Mainly Open Source Software
  • At a glance

    Ubuntu 22.04.5 LTSi5 7200u16GB DDR4Intel
    Operating System
    Ubuntu 22.04.5 LTS
    Computer type
    Laptop
    Manufacturer/Model
    Dell 13" Latitude 2017
    CPU
    i5 7200u
    Motherboard
    Dell
    Memory
    16GB DDR4
    Graphics card(s)
    Intel
    Sound Card
    Intel
    Monitor(s) Displays
    13" Dell Laptop
    Hard Drives
    250GB Crucial 2.5" SSD
    Mouse
    Generic WiFi 3 button
    Internet Speed
    WiFi only
    Browser
    Firefox
    Antivirus
    ClamAV TK
    Other Info
    Mainly Open Source Software
Back
Top Bottom