This chapter covers the core Windows security features that CompTIA expects you to know for the 220-1102 exam. These features are foundational to securing Windows operating systems in enterprise environments. Approximately 15-20% of the Security domain (Objective 2.2) focuses on Windows security settings, including User Account Control, Windows Defender Firewall, BitLocker, and other built-in protections. Mastering these concepts is critical for passing the exam and for real-world IT support roles.
Jump to a section
Think of a Windows system as a secure office building. The main entrance is guarded by a receptionist (Windows Defender Firewall) who checks every visitor against a list of allowed and blocked people. Inside, each office door has a lock (User Account Control) that requires a keycard (administrator approval) to enter sensitive areas. The building has security cameras (Windows Defender Antivirus) that monitor for suspicious behavior and alert security. There's also a security guard (Windows Defender SmartScreen) who checks packages (downloaded files) against a known dangerous list before letting them in. The building's access logs (Event Viewer) record every entry attempt. If an employee leaves, their keycard is deactivated (disabling user account) and their office is rekeyed (changing passwords). The building also has a backup generator (System Restore) that can roll back to a previous safe state if a disaster occurs. BitLocker encrypts the entire building's blueprints, so even if someone steals the physical plans, they can't read them. Just as a building's security is layered, Windows security features work together to protect data and system integrity.
User Account Control (UAC)
User Account Control is a security feature introduced in Windows Vista that helps prevent unauthorized changes to the operating system. UAC works by prompting for consent or credentials when a program tries to make changes that require administrator-level permission. The prompt appears in a secure desktop, dimming the rest of the screen to prevent malicious programs from interfering.
How it works: When a process requests access to a protected resource (e.g., writing to Program Files, modifying system registry keys), Windows checks the integrity level of the calling process. Standard user processes run at medium integrity, while administrator processes can run at high integrity. If a process with low or medium integrity attempts to modify a high-integrity resource, UAC triggers a prompt. The user must either approve (if they are an administrator) or enter administrator credentials (if they are a standard user).
UAC Levels: There are four notification levels: - Always notify: Prompts when programs try to install software or make changes, and when you change Windows settings. This is the most secure but most intrusive. - Notify me only when programs try to make changes to my computer (default): Does not prompt when you change Windows settings. - Notify me only when programs try to make changes to my computer (do not dim my desktop): Same as above but without the secure desktop. - Never notify: Disables UAC prompts entirely. This is not recommended.
Configuration: UAC can be configured via:
- Control Panel > System and Security > Security and Maintenance > Change User Account Control settings
- Registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
- EnableLUA (DWORD): 1 enables UAC, 0 disables
- ConsentPromptBehaviorAdmin: 0 = no prompt, 1 = prompt for credentials, 2 = prompt for consent (default for admins)
- PromptOnSecureDesktop: 1 enables secure desktop, 0 disables
- Group Policy: Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options > User Account Control: Run all administrators in Admin Approval Mode
Exam Tip: The default UAC setting on Windows 10/11 is "Notify me only when programs try to make changes to my computer." The exam may ask about the impact of changing this setting.
Windows Defender Firewall
Windows Defender Firewall (formerly Windows Firewall) is a host-based firewall that monitors and controls incoming and outgoing network traffic based on security rules. It is enabled by default on all Windows editions.
How it works: The firewall inspects packets at the network layer and transport layer (TCP/UDP). It uses rules to determine whether to allow or block traffic. Rules can be based on: - Direction: Inbound or outbound - Protocol: TCP, UDP, ICMP, etc. - Port numbers: Source and destination ports - IP addresses: Specific IP addresses or ranges - Program: Path to an executable - Service: Windows service name
Profiles: Windows Firewall has three profiles: - Domain: Applied when the computer is connected to a domain controller. - Private: Applied when connected to a private network (e.g., home or work). - Public: Applied when connected to a public network (e.g., coffee shop). This is the most restrictive.
Configuration:
- GUI: Windows Defender Firewall with Advanced Security (wf.msc)
- Command line: netsh advfirewall commands
- netsh advfirewall set allprofiles state on (enable firewall)
- netsh advfirewall firewall add rule name="Open Port 80" dir=in action=allow protocol=TCP localport=80
- PowerShell: New-NetFirewallRule cmdlet
- New-NetFirewallRule -DisplayName "Allow HTTP" -Direction Inbound -Protocol TCP -LocalPort 80 -Action Allow
Default Behavior: All inbound traffic is blocked unless it matches an allow rule. All outbound traffic is allowed unless a block rule exists. This is a key exam point: inbound is blocked by default, outbound is allowed.
Exam Trap: Candidates often think that Windows Firewall blocks all traffic by default. It only blocks unsolicited inbound traffic. Outbound traffic is allowed by default.
BitLocker Drive Encryption
BitLocker is a full-disk encryption feature available in Windows Pro, Enterprise, and Education editions. It encrypts the entire drive, including the operating system, system files, and user data, to protect against offline attacks (e.g., booting from another OS to read files).
How it works: BitLocker uses AES encryption (128-bit or 256-bit) with an encryption key that is stored in the Trusted Platform Module (TPM) chip on the motherboard. When the system boots, the TPM releases the key only if the boot components (boot loader, kernel) have not been modified. This ensures that the system has not been tampered with.
Components: - TPM: A hardware chip that stores encryption keys and performs cryptographic operations. TPM version 1.2 or 2.0 is required. - Recovery Key: A 48-digit numeric key that can be used to unlock the drive if TPM fails or if the boot configuration changes. It should be backed up to Active Directory, a Microsoft account, or printed. - Startup Key: A USB drive that contains the encryption key. Used instead of TPM on systems without TPM. - Startup PIN: A PIN that must be entered before the OS loads. Adds an extra layer of security.
Configuration:
- Control Panel: BitLocker Drive Encryption
- Command line: manage-bde
- manage-bde -status (check encryption status)
- manage-bde -on C: (enable BitLocker on C: drive)
- manage-bde -protectors -add C: -RecoveryPassword (add recovery password)
- PowerShell: Enable-BitLocker cmdlet
Exam Points: - BitLocker requires TPM 1.2 or later. - BitLocker To Go encrypts removable drives. - Recovery key is 48 digits. - BitLocker is not available in Windows Home edition.
Windows Defender Antivirus (Microsoft Defender Antivirus)
Microsoft Defender Antivirus is the built-in antivirus solution in Windows 10 and 11. It provides real-time protection against malware, spyware, and other threats. It is part of the Windows Security Center (formerly Windows Defender Security Center).
How it works: Defender uses multiple engines for detection: - Signature-based detection: Compares files against a database of known malware signatures. - Heuristic analysis: Looks for suspicious behavior patterns. - Cloud-based protection: Submits suspicious files to Microsoft's cloud for analysis. - Behavioral monitoring: Monitors running processes for malicious actions.
Key Features: - Real-time protection: Scans files when they are accessed or downloaded. - Cloud-delivered protection: Uses Microsoft's cloud to identify new threats quickly. - Automatic sample submission: Sends suspicious files to Microsoft for analysis. - Tamper protection: Prevents malware from disabling Defender.
Configuration:
- Windows Security app: Settings > Update & Security > Windows Security > Virus & threat protection
- Group Policy: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus
- PowerShell: Set-MpPreference cmdlet
- Set-MpPreference -DisableRealtimeMonitoring $false (enable real-time monitoring)
Get-MpComputerStatus (check status)
Exam Tip: Microsoft Defender Antivirus is enabled by default and should not be disabled unless another antivirus is installed. Windows automatically disables Defender when a third-party AV is detected.
Windows Defender SmartScreen
SmartScreen is a security feature that protects against phishing and malware by checking downloaded files and websites against a list of known malicious sites and files. It is integrated into Microsoft Edge and Windows.
How it works: When a user downloads a file, SmartScreen checks the file's reputation against Microsoft's cloud database. If the file is unknown or known to be malicious, SmartScreen blocks the download or displays a warning. Similarly, when visiting a website, SmartScreen checks the URL against a list of phishing sites.
Configuration: - Windows Security app: App & browser control - Group Policy: Computer Configuration > Administrative Templates > Windows Components > Windows Defender SmartScreen
Exam Point: SmartScreen is often tested in the context of phishing protection. It is not a full antivirus but works alongside Defender.
Credential Guard and Device Guard
These are advanced security features available in Windows Enterprise editions.
Credential Guard: Uses virtualization-based security to protect domain credentials (hashes) from being stolen by malware. It isolates the Local Security Authority (LSA) process in a virtualized container that cannot be accessed by the OS.
Device Guard: Ensures that only trusted applications can run on the system. It uses code integrity policies (Windows Defender Application Control) to allow only approved executables.
Requirements: - UEFI firmware with Secure Boot - Virtualization support in CPU (Intel VT-x or AMD-V) - Windows Enterprise edition
Configuration:
- Group Policy: Computer Configuration > Administrative Templates > System > Device Guard
- PowerShell: Enable-DeviceGuard cmdlet
Other Security Features
Windows Update: Ensures the system has the latest security patches.
Windows Defender Firewall with Advanced Security: Provides granular control over firewall rules.
Remote Desktop (RD) Gateway: Secures remote connections.
Encrypting File System (EFS): File-level encryption for NTFS volumes.
AppLocker: Controls which applications users can run.
Group Policy: Centralized security management.
Summary of Defaults
UAC: Enabled, level 2 (notify only when programs make changes)
Windows Firewall: Enabled, inbound blocked, outbound allowed
Windows Defender Antivirus: Enabled with real-time protection
SmartScreen: Enabled for apps and files
BitLocker: Not enabled by default; requires manual setup
Windows Update: Automatic updates enabled
Verification Commands
winver – Check Windows version and edition
msinfo32 – System Information, including security features
gpedit.msc – Local Group Policy Editor
secpol.msc – Local Security Policy
wf.msc – Windows Defender Firewall with Advanced Security
manage-bde -status – BitLocker status
Get-MpComputerStatus – Defender status
Get-BitLockerVolume – BitLocker volume info
Interaction Between Features
Windows security features are designed to work together. For example, UAC prevents unauthorized changes, but if malware bypasses UAC, Defender Antivirus should catch it. Firewall blocks inbound attacks, but if malware is already inside, Defender monitors behavior. BitLocker protects data at rest, while firewall protects data in transit. Understanding these layers is key to the exam.
Enable BitLocker on System Drive
Open Control Panel, go to System and Security > BitLocker Drive Encryption, and click 'Turn on BitLocker' next to the system drive (usually C:). Windows will check for TPM. If TPM is present, the wizard will prompt you to choose how to unlock the drive at startup: TPM only, TPM + PIN, TPM + USB key, or USB key only. You will then be asked to save a recovery key (to a file, print, or Azure AD). After that, BitLocker will encrypt the drive in the background. Encryption can take from minutes to hours depending on drive size. Use `manage-bde -status` to monitor progress.
Configure Windows Firewall Rules
Open Windows Defender Firewall with Advanced Security (wf.msc). To create an inbound rule, right-click 'Inbound Rules' and select 'New Rule'. Choose rule type: Program, Port, Predefined, or Custom. For a port rule, specify TCP or UDP and the port number (e.g., 3389 for RDP). Choose 'Allow the connection' or 'Block the connection'. Specify when the rule applies (Domain, Private, Public). Give the rule a name. The rule is immediately active. Verify with `netsh advfirewall firewall show rule name="your rule name"`.
Modify UAC Notification Level
Open Control Panel, go to System and Security > Security and Maintenance > Change User Account Control settings. Drag the slider to one of four levels. The default is the second from top: 'Notify me only when programs try to make changes to my computer'. Click OK. For advanced configuration, use Group Policy (gpedit.msc) under Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options. Look for policies starting with 'User Account Control'. Changes take effect immediately or after reboot depending on the policy.
Run a Windows Defender Scan
Open Windows Security by clicking the shield icon in the taskbar or from Settings > Update & Security > Windows Security. Click 'Virus & threat protection'. Under 'Quick scan', click 'Scan now'. Options include Quick scan, Full scan, Custom scan, and Microsoft Defender Offline scan. For command line, use `MpCmdRun.exe -Scan -ScanType 1` (1=quick, 2=full, 3=file). The scan will list detected threats. You can choose to quarantine, remove, or allow them. Real-time protection continuously monitors file access.
Configure Windows Update Settings
Go to Settings > Update & Security > Windows Update. Click 'Advanced options'. Here you can set active hours (when Windows won't restart), choose how updates are delivered (from Microsoft or peers via Delivery Optimization), and pause updates for up to 35 days. You can also view update history and uninstall updates. For enterprise, Group Policy can control update behavior via Computer Configuration > Administrative Templates > Windows Components > Windows Update. Common settings include 'Configure Automatic Updates' and 'Specify intranet Microsoft update service location'.
In an enterprise environment, Windows security features are critical for protecting sensitive data and meeting compliance requirements. For example, a financial institution might use BitLocker to encrypt all laptops and desktops to comply with data protection regulations like GDPR or PCI-DSS. They would enforce BitLocker via Group Policy, requiring TPM + PIN for startup and backing up recovery keys to Active Directory. The IT team would use manage-bde scripts to monitor encryption status across thousands of devices. If an employee loses their laptop, the recovery key can be retrieved from AD to unlock the drive and recover data.
Another scenario involves a healthcare organization using Windows Defender Firewall to segment network traffic. They might create rules to allow only specific medical devices to communicate with the EHR server on port 443, blocking all other inbound traffic. They would use the Advanced Security snap-in to create rules based on IP ranges and services. They also enable logging to monitor for unauthorized access attempts. Misconfiguration here could lead to either blocked legitimate traffic (e.g., doctors unable to access patient records) or security gaps.
A common issue is when users disable UAC to avoid prompts, which weakens security. In one case, a helpdesk technician disabled UAC on a user's machine to install software, forgetting to re-enable it. Later, the machine was infected with ransomware that made system-wide changes without prompting. The company had to restore from backups. The lesson: always keep UAC enabled, and use Group Policy to prevent users from changing the setting.
Performance considerations: BitLocker encryption has negligible performance impact on modern SSDs with hardware encryption. On older HDDs, it can reduce throughput by 5-10%. Windows Defender Antivirus scans can consume CPU during full scans, so scheduling them during off-hours is common. Firewall rules with many IP addresses can slow down packet processing, but this is rarely an issue on modern hardware.
The 220-1102 exam tests Windows security features under Objective 2.2: 'Given a scenario, configure appropriate Windows settings for security.' You need to know the default states, configuration tools, and how to enable/disable features. The most common wrong answers involve:
Mixing up UAC levels: Candidates often think 'Always notify' is the default. It is not. The default is the second level. The exam may ask what happens when you change the slider to the bottom (never notify) — it disables UAC, which is a security risk.
Firewall default behavior: Many test-takers believe the firewall blocks all outbound traffic by default. Actually, it blocks inbound and allows outbound. Questions often present a scenario where an application needs to receive incoming connections, and the correct answer is to create an inbound allow rule.
BitLocker requirements: The exam loves to ask what is required for BitLocker. The answer is TPM (version 1.2 or 2.0) and Windows Pro/Enterprise. Some think BitLocker works on Home edition — it does not. Another trap: BitLocker To Go encrypts removable drives, but the system drive must have TPM.
SmartScreen vs. Defender: Candidates confuse SmartScreen (phishing/file reputation) with Defender Antivirus (malware detection). SmartScreen does not scan for viruses; it checks URLs and file reputation. The exam may present a scenario about a suspicious download link and ask which feature protects against it — SmartScreen.
Specific numbers and terms: - UAC has 4 levels. - BitLocker recovery key is 48 digits. - TPM must be version 1.2 or 2.0. - Windows Firewall profiles: Domain, Private, Public. - Default firewall: inbound blocked, outbound allowed. - Windows Defender Antivirus real-time protection is on by default.
Edge cases: - If a computer lacks TPM, BitLocker can still be enabled via Group Policy (Require additional authentication at startup) using a USB startup key. - Windows 10/11 Home does not support BitLocker, but it does support Device Encryption (a lighter version) on some devices. - Disabling UAC does not require a reboot, but some changes take effect after sign-out.
How to eliminate wrong answers: Focus on the underlying mechanism. For example, if a question asks how to prevent unauthorized software from installing, think about which feature controls installation permissions (UAC). If it asks about protecting data on a lost laptop, think about encryption (BitLocker). If it asks about blocking network traffic, think firewall. Use the process of elimination by identifying what each feature does.
UAC default level is 'Notify me only when programs try to make changes to my computer' (level 2 of 4).
Windows Firewall blocks inbound traffic by default; outbound is allowed by default.
BitLocker requires TPM (v1.2 or 2.0) and Windows Pro/Enterprise/Education.
BitLocker recovery key is 48 digits long.
Windows Defender Antivirus is enabled by default and automatically disables when third-party AV is installed.
SmartScreen protects against phishing and malicious downloads by checking reputation.
Windows Update should be set to automatic for security patches.
Group Policy (gpedit.msc) is used for advanced security configuration in enterprise.
Windows Security Center (Windows Security) is the central hub for managing security features.
Device Guard and Credential Guard are enterprise-only features requiring virtualization support.
These come up on the exam all the time. Here's how to tell them apart.
User Account Control (UAC)
Prompts for consent or credentials when a program tries to make system changes.
Works automatically based on integrity levels.
Configurable via slider or Group Policy.
Affects all users and programs.
Default setting is 'Notify only when programs try to make changes'.
Run as Administrator
Explicitly run a program with elevated privileges by right-clicking and selecting 'Run as administrator'.
Requires user to manually choose to elevate.
Can be used even if UAC is disabled, but still triggers a prompt if UAC is on.
Only affects that specific program instance.
Often used for legacy applications that require admin rights.
BitLocker
Full-disk encryption; encrypts entire volume.
Requires TPM for system drive.
Protects against offline attacks (e.g., booting from another OS).
Available in Pro/Enterprise/Education editions.
Transparent to users once unlocked.
EFS (Encrypting File System)
File-level encryption; encrypts individual files or folders.
Does not require TPM.
Protects files even when the system is running.
Available on all NTFS volumes in any edition.
Users must manage certificates; encrypted files can be accessed by authorized users.
Mistake
UAC is just a nuisance and can be safely disabled.
Correct
Disabling UAC significantly reduces security because it allows any program to make system changes without prompting. It is a critical defense against malware that tries to elevate privileges. Always keep UAC enabled, at least at the default level.
Mistake
Windows Firewall blocks all traffic by default.
Correct
Windows Firewall blocks unsolicited inbound traffic by default, but allows all outbound traffic unless a rule blocks it. This is a common exam trap. The default rule is: inbound block, outbound allow.
Mistake
BitLocker can be used on any Windows edition.
Correct
BitLocker is only available in Windows Pro, Enterprise, and Education editions. Windows Home does not support BitLocker. However, some Home devices have 'Device Encryption' which is similar but less configurable.
Mistake
SmartScreen is an antivirus that scans for malware.
Correct
SmartScreen is a reputation-based filter that checks downloaded files and websites against a list of known malicious items. It does not perform full antivirus scanning. It works alongside Windows Defender Antivirus.
Mistake
You need to manually enable Windows Defender Antivirus after installing a third-party antivirus.
Correct
Windows automatically disables Defender when a third-party antivirus is detected to avoid conflicts. If you uninstall the third-party AV, Defender re-enables itself automatically.
Reveal each answer, then mark whether you got it right. Score 60%+ to unlock the next chapter.
The default UAC setting is 'Notify me only when programs try to make changes to my computer.' This is the second highest level. It does not prompt when you change Windows settings yourself, but it does prompt when a program tries to make changes. The slider has four positions: Always notify (top), Default (second), Notify but don't dim desktop (third), and Never notify (bottom).
You can enable BitLocker without TPM by using Group Policy. Go to Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > Operating System Drives > Require additional authentication at startup. Enable the policy and check 'Allow BitLocker without a compatible TPM'. Then you can use a USB startup key or a password to unlock the drive.
By default, Windows Firewall does not block outbound traffic. It allows all outbound connections unless a specific rule blocks them. Inbound traffic is blocked by default unless a rule allows it. This is a key exam point. If you need to block outbound traffic, you must create an outbound block rule.
Windows Defender Antivirus is a full antivirus solution that scans files for malware, provides real-time protection, and uses signatures and heuristics. SmartScreen is a reputation-based filter that checks downloaded files and websites against a list of known malicious items. SmartScreen does not scan for viruses; it warns about potentially dangerous content based on reputation.
No, BitLocker is not available on Windows 10 Home. However, some Windows 10 Home devices support 'Device Encryption' which provides similar full-disk encryption but with less configuration options. Device Encryption is automatically enabled on some devices that support InstantGo.
You can check Windows Defender status using the Windows Security app (shield icon in taskbar) or via PowerShell: `Get-MpComputerStatus`. The output shows whether real-time protection is enabled, signature version, and last scan time. You can also check Services.msc for 'Windows Defender Antivirus Service'.
The secure desktop is a protected environment that appears when UAC prompts. It dims the rest of the screen to prevent malicious programs from simulating clicks or displaying fake prompts. Only trusted system processes can interact with the secure desktop. This prevents shatter attacks where malware tries to manipulate the UAC prompt.
You've just covered Windows Security Features — now see how well it sticks with free 220-1102 practice questions. Full explanations included, no account needed.
Done with this chapter?