Lesson 01 — Windows Architecture
Foundation workshop: View the full Module 04 learning guide for prerequisite skills, a professional scenario, expected observations and exercises.
Lesson Overview
Section titled “Lesson Overview”Microsoft Windows is one of the most widely used operating systems in the world.
It powers:
- Enterprise Workstations
- Corporate Laptops
- Domain Controllers
- File Servers
- Microsoft Azure Virtual Machines
- Enterprise Applications
- Active Directory Infrastructure
Although Linux dominates cloud infrastructure, Windows remains the standard operating system in many enterprise environments.
Every Cloud Engineer, Cybersecurity Professional, DevOps Engineer, System Administrator, and SOC Analyst should understand how Windows works internally.
In this lesson, you’ll learn how Windows is designed, how it starts during boot, and how its major components work together.
Learning Objectives
Section titled “Learning Objectives”After completing this lesson, you will be able to:
- Understand Windows architecture.
- Explain User Mode and Kernel Mode.
- Learn the Windows boot process.
- Identify core Windows components.
- Understand Windows services and processes.
- Explore enterprise Windows architecture.
- Apply Windows architecture knowledge in enterprise environments.
Architecture and workplace practice — Windows operating system and enterprise access
Section titled “Architecture and workplace practice — Windows operating system and enterprise access”These are conceptual diagrams for the free Foundation lesson. They help you reason about an enterprise system; they are not records of a production deployment.
Windows userspace to kernel and services
Section titled “Windows userspace to kernel and services”flowchart TB
USER["Employee or administrator"] --> APP["Desktop and business applications"]
APP --> USERMODE["User mode services and processes"]
USERMODE --> API["Windows system APIs"]
API --> KERNEL["Windows kernel and drivers"]
KERNEL --> HARDWARE["Hardware and virtual devices"]
USERMODE --> EVENTS["Event logs and operational telemetry"]
How to read the diagram: A business application normally runs in user mode and uses operating-system services. The kernel mediates access to hardware and core resources; logs provide supporting observations.
Enterprise sign-in and resource authorization
Section titled “Enterprise sign-in and resource authorization”flowchart LR
EMP["Employee identity"] --> AUTH["Authenticate with an identity system"]
AUTH --> SESSION["Signed-in session"]
SESSION --> ACCESS["Attempt access to file or service"]
ACCESS --> POLICY{"Permission and policy allow?"}
POLICY -->|"Yes"| RESOURCE["Authorized resource"]
POLICY -->|"No"| DENY["Access denied and recorded"]
RESOURCE --> AUDIT["Audit and operational evidence"]
How to read the diagram: Authentication confirms identity; authorization separately checks rights to a particular resource. Successful workstation sign-in never guarantees access to every shared folder or enterprise application.
Workplace scenario
Section titled “Workplace scenario”An employee can sign in but cannot open a departmental share. The engineer investigates network path, group membership, share and NTFS permissions without resetting credentials unnecessarily.
Independent exercise
Section titled “Independent exercise”Inspect local Windows processes/services using read-only PowerShell, then write a two-stage sign-in versus access decision tree for a hypothetical share.
Expected evidence: An OS architecture diagram and a short file-access troubleshooting plan. Do not modify domain policies or user accounts.
Check your understanding
Section titled “Check your understanding”-
I
Show suggested reasoning
s -
N
Show suggested reasoning
o -
W
Show suggested reasoning
h -
R
Show suggested reasoning
e
Continue learning: Open the Module 04 deep-dive or see GHC Labs and its optional advanced practice. Foundation lessons remain free; hosted labs have separate access terms.
What is Windows?
Section titled “What is Windows?”Windows is a graphical operating system developed by Microsoft.
It provides:
- Hardware Management
- Memory Management
- Process Scheduling
- Security
- Networking
- Storage Management
- User Interface
Windows allows users and applications to interact safely with computer hardware.
Windows Editions
Section titled “Windows Editions”Microsoft provides different editions for different use cases.
Examples include:
- Windows 11 Home
- Windows 11 Pro
- Windows Enterprise
- Windows Server 2025
- Windows Server Datacenter
- Azure Edition
Enterprise environments commonly use Windows Pro, Enterprise, and Windows Server.
Windows Architecture Overview
Section titled “Windows Architecture Overview”Windows is built using a layered architecture.
Applications
↓
User Mode
↓
Windows API
↓
Kernel Mode
↓
Hardware Abstraction Layer (HAL)
↓
HardwareEach layer performs a specific function while protecting the operating system.
User Mode
Section titled “User Mode”Applications run in User Mode.
Examples:
- Microsoft Word
- Google Chrome
- Visual Studio Code
- PowerShell
- Microsoft Teams
Characteristics:
- Limited privileges
- Cannot directly access hardware
- Isolated from the Windows kernel
- Application crashes usually do not crash the operating system
Kernel Mode
Section titled “Kernel Mode”Kernel Mode has unrestricted access to system resources.
Responsibilities include:
- CPU Scheduling
- Memory Management
- Device Drivers
- Process Management
- File System Management
- Hardware Communication
Only trusted operating system components execute in Kernel Mode.
Why User Mode and Kernel Mode Matter
Section titled “Why User Mode and Kernel Mode Matter”Separating applications from the kernel improves:
- Stability
- Security
- Reliability
- Performance
If a browser crashes, Windows continues running because the browser operates in User Mode.
Windows Kernel
Section titled “Windows Kernel”The Windows Kernel is the core of the operating system.
It manages:
- Processes
- Threads
- Virtual Memory
- Scheduling
- Synchronization
- Interrupt Handling
The kernel ensures all applications share system resources efficiently.
Hardware Abstraction Layer (HAL)
Section titled “Hardware Abstraction Layer (HAL)”The Hardware Abstraction Layer (HAL) sits between Windows and the physical hardware.
Its purpose is to:
- Hide hardware differences
- Improve compatibility
- Simplify driver development
Applications never communicate directly with hardware.
Windows Boot Process
Section titled “Windows Boot Process”The Windows startup process follows several stages.
Power On
↓
UEFI / BIOS
↓
Windows Boot Manager
↓
Windows Loader
↓
Kernel
↓
Drivers
↓
Services
↓
Logon Screen
↓
DesktopIf any stage fails, Windows may not boot correctly.
Windows Boot Manager
Section titled “Windows Boot Manager”The Windows Boot Manager is responsible for:
- Starting Windows
- Selecting the operating system
- Loading boot configuration
Configuration is stored in the Boot Configuration Data (BCD) store.
Windows Loader
Section titled “Windows Loader”The Windows Loader performs several tasks:
- Loads the Windows kernel
- Loads hardware drivers
- Initializes memory
- Starts system services
Once complete, Windows continues the startup process.
Windows Processes
Section titled “Windows Processes”Every running application becomes a process.
Examples:
- explorer.exe
- winlogon.exe
- svchost.exe
- powershell.exe
- chrome.exe
Windows schedules these processes using the kernel.
Windows Threads
Section titled “Windows Threads”A process can contain multiple threads.
Example:
Microsoft Edge
↓
Thread 1
↓
Thread 2
↓
Thread 3Threads allow applications to perform multiple tasks simultaneously.
Windows Memory Management
Section titled “Windows Memory Management”Windows uses:
- Physical Memory (RAM)
- Virtual Memory
- Paging Files
If RAM becomes full, Windows temporarily stores inactive data in the page file on disk.
Windows File Systems
Section titled “Windows File Systems”Windows primarily uses:
- NTFS
- FAT32
- exFAT
- ReFS (Server)
NTFS is the enterprise standard because it supports:
- Permissions
- Encryption
- Compression
- Auditing
- Large file support
You’ll explore NTFS in the next lesson.
Windows Services
Section titled “Windows Services”Background applications are called Windows Services.
Examples:
- Windows Update
- Print Spooler
- Windows Defender
- DNS Client
- DHCP Client
Services start automatically during boot and run without user interaction.
Windows Registry
Section titled “Windows Registry”Windows stores configuration settings in a central database called the Registry.
It contains:
- Hardware configuration
- User preferences
- Installed software
- System settings
You’ll study the Registry in a later lesson.
Windows Security Architecture
Section titled “Windows Security Architecture”Windows security includes:
- User Accounts
- Groups
- Active Directory
- Windows Defender
- BitLocker
- Firewall
- User Account Control (UAC)
These features protect enterprise systems from unauthorized access.
Windows Architecture in Cloud Computing
Section titled “Windows Architecture in Cloud Computing”Cloud Engineers commonly deploy:
- Azure Virtual Machines
- Amazon EC2 Windows Instances
- Remote Desktop Servers
- IIS Web Servers
- Active Directory Servers
Understanding Windows architecture helps administrators troubleshoot and manage cloud workloads.
Windows Architecture in Cybersecurity
Section titled “Windows Architecture in Cybersecurity”Security professionals analyze:
- Windows Processes
- Services
- Registry Changes
- Authentication Events
- Event Logs
- Memory
- System Boot
Understanding the operating system’s architecture is essential for incident response and threat hunting.
Common Windows Commands
Section titled “Common Windows Commands”Display system information:
systeminfoDisplay Windows version:
winverDisplay computer name:
hostnameDisplay running processes:
tasklistDisplay memory information:
Get-ComputerInfoReal-World Example
Section titled “Real-World Example”A company deploys Windows Server in Azure.
Azure Virtual Machine
↓
Windows Server
↓
Active Directory
↓
DNS
↓
Group Policy
↓
Enterprise Applications
↓
EmployeesUnderstanding Windows architecture enables administrators to deploy, manage, and troubleshoot enterprise services effectively.
Best Practices
Section titled “Best Practices”As a Windows administrator:
- Keep Windows updated.
- Install only trusted drivers.
- Monitor critical services.
- Understand the Windows boot process.
- Document system configurations.
- Follow the Principle of Least Privilege.
- Use enterprise editions for business workloads.
- Monitor system health regularly.
These practices improve reliability, security, and operational efficiency.
Extended Foundation Workshop — Windows administration without risky changes
Section titled “Extended Foundation Workshop — Windows administration without risky changes”Windows is common in enterprise environments, where technicians need to understand endpoint behavior, background services, access controls and diagnostic evidence.
Workplace scenario
Section titled “Workplace scenario”A business application starts on some employees’ Windows machines but not others. IT needs to distinguish a missing service, a policy restriction, a user-specific configuration and an external dependency before changing the deployment.
Read-only PowerShell exercises
Section titled “Read-only PowerShell exercises”Run on a Windows computer you own or are authorized to inspect:
Get-CimInstance Win32_OperatingSystem | Select-Object Caption,VersionGet-Process | Select-Object -First 10 Name,Id,CPUGet-Service | Select-Object -First 10 Name,StatusGet-WinEvent -LogName System -MaxEvents 5 | Select-Object TimeCreated,Id,LevelDisplayNameExpected observations: operating system details, active processes, service status and recent system event metadata. Some event queries may be restricted by rights or log policies; do not elevate privileges merely to reproduce a screenshot.
Professional distinctions to understand
Section titled “Professional distinctions to understand”| Concept | What it means | Common confusion |
|---|---|---|
| Authentication | Proving an identity | Does not automatically grant file access |
| Authorization | Deciding permitted actions | Depends on roles, groups and resource permissions |
| Service | Background functionality with startup and account context | May fail while the desktop still runs |
| Event | Recorded system or application observation | Warning events are not always root causes |
| NTFS permissions | File-system access controls | May combine with network share permissions |
Worked diagnostic case
Section titled “Worked diagnostic case”An employee can sign in successfully but cannot open an approved shared folder. The support team checks share reachability, DNS/SMB path, effective group membership, share permissions, NTFS access and any related policy. Blindly resetting the password may not address authorization.
Knowledge check
Section titled “Knowledge check”-
If Windows sign-in succeeds, does that prove permission to a network share?
Suggested answer
No. Authentication and authorization are separate. Share and file-system permissions can still deny access. -
Why should an event log be interpreted with a timeline?
Suggested answer
Events may be normal background noise. Correlating severity, source, timestamp, user impact and recent changes improves diagnostic confidence.
Portfolio deliverable
Section titled “Portfolio deliverable”Write an illustrative Windows service troubleshooting procedure with symptoms, safe observations, next test, permissions and escalation. Continue with Module 04 professional guide and CompTIA Practice if you later want structured exercises.
Key Takeaways
Section titled “Key Takeaways”After completing this lesson, you should understand:
- Windows architecture.
- User Mode and Kernel Mode.
- Windows boot process.
- Windows kernel.
- Hardware Abstraction Layer (HAL).
- Windows processes and threads.
- Windows services.
- Enterprise Windows architecture.
Summary
Section titled “Summary”Windows Architecture provides the foundation for every enterprise Windows system.
Understanding how Windows boots, manages memory, schedules processes, and communicates with hardware will help you troubleshoot problems, administer enterprise systems, and secure Windows environments.
These concepts will support everything you learn throughout the Windows Fundamentals module, including Active Directory, PowerShell, Windows Security, and Enterprise Administration.
Next Lesson
Section titled “Next Lesson”➡️ Lesson 02 — Windows File System (NTFS & Storage)
In the next lesson, you’ll explore the Windows file system, learn how NTFS stores and secures data, understand drives, folders, partitions, permissions, and enterprise storage management.