1. Clients and servers #
Two families, one kernel.
Windows client and Windows Server #
Windows comes in two families that share the same NT kernel: Windows client (Windows 11) for workstations, and Windows Server for servers. Windows Server adds roles (Active Directory, DNS, DHCP, file server, Hyper-V, IIS…) and features (backup, clustering…), and is usually managed remotely.
| Version | Release | Channel | End of support |
|---|---|---|---|
| Windows Server 2025 | November 2024 | LTSC | October 2029 (mainstream), October 2034 (extended) |
| Windows Server 2022 | August 2021 | LTSC | October 2031 (extended) |
| Windows Server 2019 | November 2018 | LTSC | January 2029 (extended) |
| Windows 11 (24H2, 25H2) | yearly update | GA | 24 to 36 months per version depending on edition |
| Windows 10 | 2015 | GA | October 14, 2025 (paid Extended Security Updates afterwards) |
Good to know: End-of-support dates are published on Microsoft’s “Lifecycle” page: check them before planning a migration. An unsupported server no longer receives security fixes.
Editions and installation options #
| Edition | Use | Specifics |
|---|---|---|
| Standard | physical or lightly virtualized servers | 2 Windows Server virtual machines per license |
| Datacenter | dense virtualization, datacenter | unlimited VMs, Storage Spaces Direct, SDN, shielded VMs |
| Datacenter: Azure Edition | Azure and Azure Local | hotpatch, SMB over QUIC |
| Windows 11 Pro / Enterprise | workstations | domain join, BitLocker, Group Policy |
At installation, Windows Server offers Server Core (no graphical interface, managed with PowerShell or remotely) or Desktop Experience. Server Core is recommended for production: fewer components, therefore fewer updates, reboots and attack surface. The sconfig tool configures it on first boot (name, network, domain, updates).
2. System architecture #
What happens under the interface.
User mode and kernel mode #
Applications and most services run in user mode, isolated from each other. They use the Win32 API to ask the kernel (ntoskrnl.exe) to access files, memory or the network. Drivers run in kernel mode: a faulty driver causes a blue screen (bug check), whereas a faulty application only closes.
| Process | Role |
|---|---|
| smss.exe | session manager, first user-mode process |
| services.exe | service control manager (SCM): starts and monitors services |
| lsass.exe | authentication, security tokens, Kerberos and NTLM |
| svchost.exe | shared host for many Windows services |
| winlogon.exe | logon and logoff, Ctrl+Alt+Del |
The registry #
The registry is Windows’ hierarchical configuration database. It is organized in hives: HKLM (machine: SYSTEM, SOFTWARE, SAM, SECURITY, stored in C:\Windows\System32\config) and HKCU (logged-on user, the NTUSER.DAT file of their profile). Services, drivers, policies and software store their settings there.
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' |
Select-Object ProductName, DisplayVersion, CurrentBuild
Get-ChildItem HKLM:\SYSTEM\CurrentControlSet\Services | Select-Object -First 5
reg export HKLM\SOFTWARE\MonAppli C:\sauvegarde\monappli.reg # sauvegarder une clé avant de la modifierCommon mistake: Editing the registry by hand without a backup. A wrong value in HKLM\SYSTEM can prevent boot. Prefer Group Policy or dedicated cmdlets, and always export the key before a change.The boot process #
With UEFI and Secure Boot, the firmware only starts signed loaders. The boot manager reads the BCD database (Boot Configuration Data), viewed with bcdedit. When something goes wrong, the WinRE recovery environment gives access to a command prompt, restore and safe mode.
3. Administration tools #
Graphical, command line or remote.
Overview #
| Tool | Use |
|---|---|
| PowerShell | the main tool: everything can be automated, locally or remotely (see PowerShell for administrators) |
| Windows Admin Center | free web console to manage servers, clusters and PCs, including Server Core |
| Server Manager | adding roles and features, overview |
| MMC consoles (RSAT) | AD Users and Computers, DNS, DHCP, GPMC, Event Viewer |
| sconfig | initial Server Core configuration |
| Remote Desktop, OpenSSH | interactive remote connection |
Good practice: Manage from a dedicated admin workstation with RSAT and Windows Admin Center, rather than opening Remote Desktop sessions on every server: it is faster, traceable and safer.
Commands to know #
| Action | Command |
|---|---|
| Version and build | Get-ComputerInfo -Property OsName, OsVersion, OsBuildNumber |
| Name, domain, hardware | Get-CimInstance Win32_ComputerSystem |
| Installed roles and features | Get-WindowsFeature | Where-Object Installed |
| Install a role | Install-WindowsFeature Web-Server -IncludeManagementTools |
| Configure Server Core | sconfig |
| Rename and restart | Rename-Computer -NewName SRV-WEB01 -Restart |
| Boot database | bcdedit /enum |
| Last boot | (Get-CimInstance Win32_OperatingSystem).LastBootUpTime |
To follow the course, build a lab: a Windows Server 2025 virtual machine (free 180-day evaluation) on Hyper-V, VirtualBox or in the cloud, and a Windows 11 workstation.
My progress
Sign in to track your progress and take notes. Sign in
💬 Questions about this lesson
No questions yet: be the first to ask for help or share your configuration.
Recommended Articles
PowerShell for Windows administrators
Master PowerShell to administer Windows: cmdlets and help, object pipeline, filters and formats, ...
Windows administration best practices
The production checklist for Windows and Windows Server: installation, identity and Active Direct...
Windows storage: disks, volumes, Storage Spaces and RAID
Manage storage on Windows: GPT and MBR, partitions and volumes with PowerShell, NTFS and ReFS, St...
Windows networking: IP, DNS, DHCP, firewall and remote access
Configure and troubleshoot Windows networking with PowerShell, deploy a DHCP server, master Windo...
Windows updates and security: WSUS, Defender, BitLocker, LAPS and hardening
Maintain and secure a Windows estate: update strategy (Windows Update, WSUS, Azure Update Manager...
Backup, Hyper-V and Windows troubleshooting
Back up and restore with Windows Server Backup (including system state and Active Directory), vir...
Users, groups, NTFS permissions and SMB shares
Manage local accounts and groups, understand UAC, apply NTFS permissions with inheritance, create...
Active Directory Domain Services and DNS
Understand and deploy Active Directory: forest, domains, organizational units, domain controllers...
Group Policy (GPO): configuring the estate from Active Directory
Design and troubleshoot Group Policy: computer and user configuration, OU linking, LSDOU order, i...