Techzone/Windows OS — Complete Admin Guide

Windows OS — Complete Admin Guide

7 min readArticle

Editions Overview

Edition Key Capabilities Missing
Home Basic consumer use No domain join, no gpedit.msc, no BitLocker, no Hyper-V
Pro Domain join, gpedit.msc, BitLocker, Hyper-V, Remote Desktop No AppLocker, no DirectAccess
Enterprise AppLocker, DirectAccess, Credential Guard, WDAG, BranchCache Requires Volume License
LTSC Long-term servicing (5+10 yr support), IoT/kiosk use No Microsoft Store, no semi-annual channel features
Education Enterprise-equivalent features, licensed for schools Similar restrictions to Enterprise

Upgrade path: Home → Pro via Settings > Activation (product key). Pro → Enterprise requires volume licensing. LTSC is a separate SKU, not an upgrade target from Pro/Enterprise.


Architecture Overview

Windows runs a hybrid kernel architecture combining a microkernel-style design with monolithic performance optimizations.

  • ntoskrnl.exe — The Windows kernel. Handles memory management, process/thread scheduling, I/O, and the executive subsystem (Object Manager, Process Manager, I/O Manager, Security Reference Monitor).
  • HAL (Hardware Abstraction Layer) — hal.dll. Abstracts hardware differences (interrupt controllers, timers, bus interfaces) so the kernel stays hardware-agnostic across x86/ARM.
  • Win32 subsystem (csrss.exe + win32k.sys) — Client/Server Runtime SubSystem. Manages console windows, process and thread lifecycle for Win32 applications. win32k.sys runs in kernel mode for GDI/User operations.
  • LSASS (lsass.exe) — Local Security Authority Subsystem. Handles authentication, token generation, password policy enforcement, and Kerberos/NTLM. Primary target for credential dumping (Mimikatz, procdump). Protected by Credential Guard on Enterprise.
  • services.exe — Service Control Manager. Starts, stops, and manages Windows services. Parent process of most svchost.exe instances.
  • winlogon.exe — Manages user logon/logoff and the Secure Attention Sequence (Ctrl+Alt+Del). Loads user profile, invokes credential providers, and calls LSASS for authentication.
  • explorer.exe — The Windows shell running in user space. Manages the desktop, taskbar, Start menu, and File Explorer. Killing and restarting it refreshes the shell without rebooting.

Admin Tools Cheatsheet

Tool Run Command Purpose
System Configuration msconfig Manage boot options, startup items, services on next boot
System Information msinfo32 Hardware/software summary, driver info, environment variables
Performance Monitor perfmon Real-time performance counters, Data Collector Sets, reports
Resource Monitor resmon Live CPU, memory, disk, and network usage broken down by process
Event Viewer eventvwr.msc System, Security, Application event logs; custom views
Computer Management compmgmt.msc Central console: Disk Mgmt, Event Viewer, Services, Device Mgr
Device Manager devmgmt.msc Hardware devices, drivers, resource conflicts, hidden devices
Disk Management diskmgmt.msc Partitions, volumes, drive letters, format, extend/shrink
Services services.msc Start/stop/configure Windows services, view dependencies
Task Scheduler taskschd.msc Scheduled tasks — also a common persistence mechanism to audit
Group Policy Editor gpedit.msc Local GPO configuration (Pro/Enterprise only)
Security Policy secpol.msc Local security policy: password policy, audit settings, user rights
Registry Editor regedit Direct registry editing — use with caution, export keys before editing
Network Adapters ncpa.cpl Network adapter properties, IP config, adapter binding order
Windows Firewall firewall.cpl Basic firewall on/off, allowed apps per profile
Firewall Advanced wf.msc Inbound/outbound rules, connection security rules, IPsec
Certificate Manager certlm.msc Machine certificate store (use certmgr.msc for current user store)
Local Users & Groups lusrmgr.msc Local user accounts and group membership (not available on DC)

Security Features

  • Windows Defender (Microsoft Defender Antivirus) — Real-time AV/anti-malware. Managed via the Windows Security app or PowerShell (Set-MpPreference, Get-MpComputerStatus). Integrates with Defender for Endpoint for EDR telemetry.
  • Windows Firewall — Host-based stateful firewall with three profiles: Domain, Private, and Public. Manage rules via wf.msc or New-NetFirewallRule in PowerShell. Block by default inbound on all profiles.
  • BitLocker — Full disk encryption (FDE) using AES-XTS 256-bit. Requires TPM 2.0 (or USB startup key as fallback). Managed via manage-bde CLI or Enable-BitLocker PowerShell. Recovery keys must be backed up to AD, Azure AD, or file — losing the key = losing the data.
  • Credential Guard — Uses Virtualization-Based Security (VBS/VSM) to run LSASS in an isolated secure VM (LSAIso). Prevents Pass-the-Hash and Mimikatz-style LSASS memory reads. Requires Enterprise + UEFI + TPM 2.0 + Hyper-V.
  • Windows Defender Application Guard (WDAG) — Opens untrusted websites and Office files in a Hyper-V isolated container. Browser-level sandboxing for Edge. Enterprise feature requiring Hyper-V.
  • Secure Boot — UEFI firmware validates the digital signature of the bootloader before loading. Prevents bootkit and pre-OS rootkit persistence.
  • TPM 2.0 — Trusted Platform Module. Hardware chip for key storage, measured boot attestation, and BitLocker key sealing. Required for Windows 11 installation. Check: tpm.msc.
  • SmartScreen — Checks application downloads and websites against Microsoft's reputation cloud. Configured via Group Policy or Windows Security settings. Blocks untrusted executables at download.
  • Attack Surface Reduction (ASR) rules — Defender for Endpoint behavioral rules blocking specific attack techniques: Office macros spawning child processes, credential theft from LSASS, malicious use of Office OLE, script obfuscation. Managed via Set-MpPreference -AttackSurfaceReductionRules_Ids and -AttackSurfaceReductionRules_Actions.
  • Controlled Folder Access — Ransomware protection that blocks unauthorized processes from writing to protected folders (Documents, Desktop, Pictures, etc.). Enable: Set-MpPreference -EnableControlledFolderAccess Enabled. Whitelist trusted apps with Add-MpPreference -ControlledFolderAccessAllowedApplications.

Key PowerShell Commands

powershell
# Services
Get-Service                                          # List all services and status
Get-Service -Name "wuauserv"                         # Check Windows Update service
Start-Service -Name "wuauserv"
Stop-Service -Name "wuauserv"

# Processes
Get-Process                                          # List running processes
Get-Process -Name "lsass" | Select *                 # Detailed process info

# Networking
Get-NetAdapter                                       # List network adapters and status
Get-NetIPAddress                                     # Show IP addresses per adapter
Test-NetConnection -ComputerName 8.8.8.8 -Port 443  # TCP connectivity and latency test
Get-NetTCPConnection -State Listen                   # Show listening ports

# Event logs
Get-WinEvent -LogName Security -MaxEvents 50         # Read Security event log
Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4625} -MaxEvents 100  # Failed logins

# Users and groups
Get-LocalUser                                        # List local user accounts
Get-LocalGroupMember -Group "Administrators"         # List local admins

# Remote execution
Invoke-Command -ComputerName SERVER01 -ScriptBlock { Get-Service }

# Patch status
Get-HotFix | Sort InstalledOn -Descending | Select -First 10  # Latest patches

Common IT Admin Tasks

cmd
REM Reset local admin password
net user Administrator NewP@ssword123

REM Join domain (PowerShell)
Add-Computer -DomainName corp.local -Credential corp\admin -Restart

REM Enable Remote Desktop
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
netsh advfirewall firewall set rule group="Remote Desktop" new enable=Yes

REM Check open ports and find owning process
netstat -ano
netstat -ano | findstr :443
tasklist /fi "PID eq 1234"

REM DNS and network cache
ipconfig /flushdns
ipconfig /registerdns
arp -d *

REM Schedule disk check on next reboot
chkdsk C: /f /r

REM System File Checker — repairs corrupt Windows system files in-place
sfc /scannow

REM DISM — repair Windows image from Windows Update (use when SFC fails)
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth

REM Shadow copies
vssadmin list shadows
vssadmin list shadowstorage

Boot Process

shell
UEFI/BIOS POST
  └── UEFI firmware reads EFI System Partition (FAT32, /EFI/Microsoft/Boot/)
        └── bootmgfw.efi — Boot Manager (reads BCD store, presents boot menu)
              └── winload.efi — loads kernel, HAL, and boot drivers into memory
                    └── ntoskrnl.exe + hal.dll initialized (kernel and HAL start)
                          └── Session 0 — system services launch:
                              smss.exe → wininit.exe → lsass.exe, services.exe, lsm.exe
                                └── winlogon.exe — user session initialization
                                      └── LogonUI + credential provider → user authenticates
                                            └── userinit.exe → explorer.exe (user shell)

Key note: Secure Boot validates signatures at each step UEFI → bootmgr → winload. TPM measures the boot chain and seals BitLocker keys to the expected measurement — any modification unseals (or locks out) the drive.


Important File Locations

Item Path
Registry hives (SAM, SYSTEM, SECURITY, SOFTWARE) C:\Windows\System32\config\
Security event log C:\Windows\System32\winevt\Logs\Security.evtx
All event logs C:\Windows\System32\winevt\Logs\
Page file C:\pagefile.sys (hidden system file)
Hibernate file C:\hiberfil.sys — disable with powercfg /h off
Prefetch files C:\Windows\Prefetch\ — forensic artifact: program execution history and timestamps
Hosts file C:\Windows\System32\drivers\etc\hosts
User profiles C:\Users\\
System temp files C:\Windows\Temp\
User temp files %LOCALAPPDATA%\Temp\ (typically C:\Users\\AppData\Local\Temp\)
Crash dumps C:\Windows\Minidump\ and C:\Windows\MEMORY.DMP
Shadow copies Access via vssadmin list shadows or right-click > Previous Versions
Windows Defender logs C:\ProgramData\Microsoft\Windows Defender\Support\
Startup folders C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\ (all users)
techzonesite.comUnlock Your IT Potential