The Windows kernel is the privileged core of Microsoft's Windows operating-system family, responsible for fundamental functions such as process and thread scheduling, memory management, hardware abstraction, interrupt handling and coordination between user-mode software and hardware. Modern Windows uses the Windows NT architecture, whose kernel-related components include the NT kernel and the executive subsystem. In technical discussions, “Windows kernel” can refer narrowly to the kernel component or more broadly to the kernel-mode portion of Windows NT. Unlike the Linux kernel, the Windows kernel is proprietary software developed and controlled by Microsoft. It forms the foundation beneath Windows desktop, server and related operating-system editions.
The Windows NT architecture originated in the early 1990s and was designed as a new operating-system architecture rather than as a continuation of the older MS-DOS-based Windows 9x architecture. Windows NT 3.1 was released in 1993. The architecture drew on work associated with Microsoft engineers and concepts from operating-system research and earlier projects, including the influence of the VMS operating-system background of key engineers. Windows NT evolved through successive generations into the architecture underlying modern Windows versions. The NT family ultimately replaced the older consumer Windows 9x line, with Windows XP in 2001 bringing the NT architecture to Microsoft's mainstream consumer desktop line.
The Windows NT architecture separates user mode from kernel mode. Ordinary applications execute in user mode with restricted privileges, while critical operating-system components execute in kernel mode. Transitions between these modes occur through controlled mechanisms when applications need privileged services. The kernel and executive manage operations that cannot safely be entrusted to ordinary applications. Hardware abstraction allows much of Windows to operate across different processor architectures and hardware platforms, although the supported architecture set varies by Windows release. This separation helps prevent a malfunctioning application from directly corrupting arbitrary kernel memory, although a kernel-mode driver or other privileged component can have much broader system access.
Windows uses processes and threads as fundamental execution units. A process provides an address space and resource context, while threads represent units of execution scheduled by the operating system. The kernel scheduler determines when threads execute on available processors and supports priorities and other scheduling mechanisms. Windows also provides virtual memory so processes receive protected address spaces that are mapped onto physical memory and, when necessary, secondary storage.
Memory-management mechanisms include paging, memory-mapped files, working sets and other facilities that allow applications to operate without directly managing physical RAM. These mechanisms are analogous in broad purpose to those provided by other general-purpose kernels, although Windows implements them through its own architecture and APIs.
Device drivers are an important part of the Windows kernel-mode ecosystem. Drivers allow Windows to communicate with hardware such as graphics adapters, storage devices, network interfaces, USB devices and specialised peripherals. Kernel-mode drivers have significant privileges because they operate within the protected kernel environment, so defective or malicious drivers can cause severe failures or compromise the system. Windows has therefore developed driver-signing requirements, driver frameworks and certification processes intended to improve reliability and security. Some device and driver functionality can execute in user mode where practical, reducing the amount of code requiring kernel privileges. The Windows Driver Model and frameworks such as KMDF and UMDF provide structured approaches for developing different types of drivers.
The Windows kernel participates in security enforcement through mechanisms that operate across the operating-system architecture. Windows uses access tokens containing security identities and privileges, security descriptors and access-control entries to determine whether processes and users can access protected objects. Kernel-enforced mechanisms support process isolation and protected access to resources. Modern Windows also incorporates security technologies such as virtualization-based security, Hyper-V-based isolation features and hardware-backed credential protections on supported systems. Secure Boot can establish a chain of trust during startup, while code-signing mechanisms help restrict unauthorised software in sensitive execution contexts. These protections extend beyond the kernel itself, but the kernel is a critical enforcement layer.
Windows also uses a substantial set of kernel objects and executive services to coordinate operating-system resources. Objects represent resources such as processes, threads, files, events, mutexes and sections, while the Object Manager provides a consistent management model for many system resources. The Windows executive contains subsystems responsible for I/O, memory management, security, process management and other services. The I/O Manager coordinates requests between applications, filesystems, device drivers and hardware. This architecture allows applications to use high-level Windows APIs without directly understanding the details of individual hardware devices. It also provides a standard framework through which many different device drivers can integrate with the operating system.
The Windows kernel differs from the Linux kernel in licensing, development governance and architecture while serving many of the same broad operating-system purposes. Linux is open-source and developed publicly through a large distributed community and corporate contribution ecosystem, whereas the Windows NT kernel is proprietary and developed under Microsoft's control. Both separate privileged kernel functionality from less-privileged application execution, manage virtual memory and schedule processes or threads, provide hardware abstraction and support networking and storage. The names can also cause confusion because “Windows kernel” is sometimes used as shorthand for the entire low-level NT architecture rather than solely the ntoskrnl component.