Search Knowledge

© 2026 LIBREUNI PROJECT

Operating Systems Internals / The OS Story & Lineage

The Windows Story: From DOS to NT

The Windows Story

The history of Windows is a story of two very different software lineages that eventually merged into the system we use today. Understanding this history explains why Windows “feels” different from Unix and why it carries so much “legacy baggage.”

The DOS Era (1981 - 2000)

In 1981, Microsoft released MS-DOS. It was a primitive, single-tasking OS.

  • No Task Switching: You ran one program, closed it, and then ran another.
  • No Memory Protection: A program could write anywhere in RAM, including into the OS itself.
  • The Shell: Windows 1.0, 2.0, and 3.x were not operating systems. They were “Operating Environments”—graphical programs that you launched from the DOS prompt.

The 9x Lineage: Windows 95, 98, and Millennium (Me)

These versions were massive leaps forward. They introduced the Start Menu, the Desktop, and TrueType fonts. However, underneath the shiny new interface, they were still built on top of the ancient DOS foundation. This made them notoriously unstable; the “Blue Screen of Death” (BSOD) was a common occurrence because any application could accidentally overwrite the kernel’s memory.

The Secret Project: Windows NT

While the public was using Windows 95, Microsoft was internally developing a completely different beast: Windows NT (New Technology). Microsoft hired Dave Cutler, who had previously designed the VMS operating system for Digital Equipment Corporation. His goal was to create a modern, high-end OS for servers and workstations that was:

  1. Portable (Could run on different CPU architectures).
  2. Multiprocessor (Could use multiple CPUs).
  3. Secure (Had proper permissions and memory protection).
  4. Stable (Applications could not crash the kernel).

The NT Architecture

Unlike the “Everything is a File” Unix approach, Windows NT was built on an Object-Oriented philosophy. Everything in the kernel—processes, threads, files, registry keys—is treated as an “Object.”

User ModeKernel ModeUser AppsWin32 SubsystemPOSIX Subsystem (obsolete)Executive ServicesObject ManagerSecurity MonitorI/O ManagerMicrokernelHAL (Hardware AbstractionLayer)HardwareHAL

The Great Merger: Windows XP (2001)

By the late 90s, Microsoft had two incompatible products: the “Consumer” Windows (98/Me) and the “Professional” Windows (NT 4.0/2000). Consumers wanted the games and apps of Win 98, but the stability of NT. Windows XP was the bridge. It was the first consumer OS built entirely on the NT kernel. It successfully killed off the DOS lineage forever.

Why Windows is “Different”

The Registry

Instead of Unix’s thousands of individual text configuration files (like /etc/passwd), Windows uses a single, massive, hierarchical database called the Registry.

  • Pro: Centralized management, transactional updates (atomic).
  • Con: If the registry gets corrupted, the OS is unbootable. It’s also hard to manage with simple text tools.

C:\ vs /

Windows uses Drive Letters. Each physical partition is a separate “root” (C:\, D:\). In Unix, there is only one root (/), and drives are “mounted” into folders (e.g., your D drive might be at /mnt/data).

Backwards Compatibility

Microsoft is obsessed with not breaking old software. You can often run a program from the 1990s on Windows 11. This is achieved through “shims” and a massive amount of legacy code kept in the System32 and SysWOW64 folders. This makes Windows larger and more complex than its rivals, but it’s the reason why business and industry rely on it.

Modern Windows: 7, 10, and 11

The NT kernel has been refined over the decades.

  • Windows 7: Fixed the performance and security bloat of Vista.
  • Windows 10: Introduced “Windows as a Service,” moving to a model of constant rolling updates.
  • Windows 11: Focused on modernized UI and stricter hardware security requirements (like TPM 2.0).

Today, Windows is no longer just for PCs. The same NT kernel powers the Xbox, the Surface, and millions of servers in Azure. It has even embraced its old rival by including WSL (Windows Subsystem for Linux), allowing you to run a full Linux kernel inside Windows.