Learn › Windows Server

Windows Server Boot Process Explained: From UEFI to the Logon Screen

Each stage of the Windows Server boot process – UEFI, Boot Manager, BCD, winload, kernel, smss, wininit and winlogon – and how to troubleshoot each one.

Advanced 12 min read
By Gopinath Karthikeyan

When a server won’t boot, “it’s stuck” isn’t a diagnosis. If you know the stages Windows goes through, you can tell where it stopped – and that tells you what to fix. This guide walks through the boot of a modern UEFI-based Windows Server, stage by stage.

Windows Server boot process from UEFI firmware to the logon screen UEFI firmware POST, finds the EFI system partition UEFI firmware POST, EFI partition-ஐ கண்டுபிடிக்கும் 1 Windows Boot Manager bootmgfw.efi reads the BCD store Windows Boot Manager bootmgfw.efi, BCD-ஐ படிக்கும் 2 Windows OS Loader winload.efi loads kernel + boot drivers Windows OS Loader winload.efi: kernel + boot drivers 3 Kernel ntoskrnl.exe starts, then system drivers Kernel ntoskrnl.exe, பிறகு system drivers 4 Session Manager smss.exe: page file, sessions Session Manager smss.exe: page file, sessions 5 wininit.exe Starts services.exe and lsass.exe wininit.exe services.exe, lsass.exe தொடக்கம் 6 winlogon.exe Shows the sign-in screen winlogon.exe Sign-in screen காட்டும் 7
Firmware hands over to Boot Manager, which reads the BCD and starts the OS loader; the kernel then starts drivers, sessions, core services and finally the logon screen.Firmware → Boot Manager (BCD) → OS loader → kernel → drivers, sessions, core services → கடைசியாக logon screen.

1. Firmware (UEFI)

When the server powers on, the firmware runs the POST (power-on self-test), initialises hardware, then looks at its boot entries. On UEFI systems it finds the EFI System Partition (ESP) – a small FAT32 partition – and runs \EFI\Microsoft\Boot\bootmgfw.efi.

  • Secure Boot (if enabled) checks that the boot loader is signed by a trusted key before running it. Check it with Confirm-SecureBootUEFI.
  • Older servers use legacy BIOS instead: the BIOS reads the master boot record, which loads bootmgr from the active partition. The later stages are the same.

Fails here? No Windows logo at all, a firmware error, or “no boot device”. Check disk/RAID controller health and boot order in the firmware settings.

2. Windows Boot Manager and the BCD

Boot Manager reads the Boot Configuration Data (BCD) store – a small database that lists the operating systems, their partitions and options (safe mode, debugging, boot logging).

bcdedit /enum          # entries in the BCD (run as administrator)
bcdedit /v             # same, with full GUIDs

If there’s more than one entry, Boot Manager shows a menu; otherwise it starts the default entry.

Fails here? Errors like “Boot configuration data is missing” or 0xc000000f. Boot from installation media into the recovery environment (WinRE) and rebuild the boot files (see below).

3. Windows OS Loader (winload.efi)

The loader, C:\Windows\System32\winload.efi, prepares everything the kernel needs:

  • loads the kernel (ntoskrnl.exe) and the hardware abstraction layer
  • loads the SYSTEM registry hive to read configuration
  • loads the boot-start drivers (service Start value 0) – for example the storage drivers needed to read the disk

Fails here? Often a missing or wrong storage driver – the classic INACCESSIBLE_BOOT_DEVICE (0x7B) stop error after a migration or controller change.

4. The kernel

ntoskrnl.exe takes over: it initialises memory management, the process and thread manager and the I/O system, then starts the system-start drivers (Start value 1). The spinning circle appears around here.

Fails here? A stop error (blue screen) with a driver name, or a hang. Boot logging and safe mode help find the driver.

5. Session Manager (smss.exe)

The first user-mode process. Session Manager:

  • creates the page file and environment variables
  • starts session 0 (for services) and session 1 (for the first interactive user)
  • in each session starts csrss.exe, plus wininit.exe in session 0 and winlogon.exe in session 1

6. wininit.exe – core services

In session 0, wininit.exe starts:

  • services.exe – the Service Control Manager, which starts every service set to Automatic
  • lsass.exe – the Local Security Authority, which handles logons and security policy

Slow boot? Usually a service waiting on something – a network share, a database, a timed-out dependency. Check the System log for Service Control Manager events (7000, 7009, 7011, 7022–7024).

7. winlogon.exe – the sign-in screen

Winlogon shows LogonUI and waits for Ctrl+Alt+Del. From here, the logon process takes over.

Troubleshooting toolkit

Need How
When did it last boot? (Get-CimInstance Win32_OperatingSystem).LastBootUpTime
Why did it restart? System log: 1074 (restart initiated by a user or process), 6008 and Kernel-Power 41 (unexpected shutdown)
Which driver loads failed? bcdedit /set {current} bootlog yes, reboot, read C:\Windows\ntbtlog.txt, then bcdedit /set {current} bootlog no
Boot with minimal drivers bcdedit /set {default} safeboot minimal; undo with bcdedit /deletevalue {default} safeboot
Rebuild UEFI boot files In WinRE: assign a letter to the ESP (diskpart), then bcdboot C:\Windows /s S: /f UEFI
# Last 10 restart and shutdown events
Get-WinEvent -FilterHashtable @{LogName='System'; Id=1074,6005,6006,6008,41} -MaxEvents 10 |
  Select-Object TimeCreated, Id, Message | Format-List

Virtual machines: in a VM you often can’t see the console during early boot. Use the hypervisor’s console (or the cloud provider’s serial console and boot diagnostics) to see which stage it reaches.

FAQ

Where is the BCD stored on UEFI systems? On the EFI System Partition, under \EFI\Microsoft\Boot\BCD.

Is bootrec /fixmbr right for UEFI? No – it’s for legacy BIOS/MBR disks. On UEFI, rebuild with bcdboot.

What’s next

Next: The Windows logon process – local and domain.

Practise this topic

Test yourself with free questions on this topic – instant answers and explanations.

Start practice questions

Windows ServerBootTroubleshootingDeep DiveAdvanced

Gopinath Karthikeyan

Gopinath Karthikeyan – Windows Site Reliability Engineer with about 12 years in enterprise Windows Server infrastructure, and founder of WinOps Academy. YouTube · LinkedIn

More in Windows Server