Why You Should Harden Windows 11’s Privacy Settings
Windows 11 collects a staggering amount of telemetry data about your system: which apps you use, websites you visit, files you open, and hardware you own. This data flows to Microsoft servers automatically, even if you disable tracking in Settings.
If you’re serious about privacy, you need to disable this at multiple levels: Settings, Services, Group Policy, and Registry. This guide shows you exactly how.
Part 1: Settings-Based Hardening
Step 1: Disable Advertising ID
- Open Settings > Privacy & Security > General
- Toggle off “Tailored experiences”
- Toggle off “Improve inking & typing”
- Toggle off “Tailored ads”
- Toggle off “Show suggestions in Start”
These settings prevent Windows from creating an advertising ID tied to your activity.
Step 2: Disable Activity History
- Open Settings > Privacy & Security > Activity history
- Uncheck “Store my activity history on this device”
Activity history tracks every app you launch, file you open, and website you visit.
Step 3: Disable App Diagnostics
- Open Settings > Privacy & Security > App diagnostics
- Toggle off “Optional diagnostic data”
- Toggle off “Inking & typing”
- Toggle off “Tailored experiences”
This prevents individual apps from sending telemetry to Microsoft.
Step 4: Disable Typing and Inking Data
- Open Settings > Privacy & Security > Inking & typing personalization
- Toggle off “Personal inking and typing dictionary”
- Toggle off “Tailored typing experiences”
These send samples of everything you type to Microsoft.
Step 5: Disable Camera and Microphone Access
- Open Settings > Privacy & Security > Camera
- Toggle off “Camera access”
- Open Settings > Privacy & Security > Microphone
- Toggle off “Microphone access”
This prevents apps from accessing your hardware without explicit permission.
Step 6: Disable Location Services
- Open Settings > Privacy & Security > Location
- Toggle off “Location services”
- This disables GPS and WiFi-based location tracking
Step 7: Disable Search Suggestions and History
- Open Settings > Privacy & Security > Search permissions
- Toggle off “Search history”
- Toggle off “Search suggestions”
This prevents Windows Search from logging your queries.
Part 2: Services Hardening
Windows 11 runs background services that constantly collect and transmit data. Disable the most egregious ones by opening Services:
Launch Services
- Press Win + R
- Type services.msc and press Enter
- Find each service below and disable it
Services to Disable
| Service Name | Display Name | Purpose |
|---|---|---|
| DiagTrack | Connected User Experiences and Telemetry | Sends usage data to Microsoft |
| dmwappushservice | dmwappushservice | Sends app usage data |
| docsvc | Document Push Service | Monitors document usage |
| CanonicalGroupPolicyClient | Canonical Group Policy Client | Enforces telemetry policies |
| lfsvc | Geolocation Service | Tracks location using WiFi |
| MapsBroker | Maps Data Manager | Collects location history |
| NetConnService | Network Connection Broker | Network telemetry |
For each service:
- Right-click the service
- Select Properties
- Set Startup type to Disabled
- Click Apply > OK
Restart your computer to apply changes.
Part 3: Group Policy Hardening (Windows 11 Pro/Enterprise Only)
If you’re running Windows 11 Pro, Home edition doesn’t have Group Policy accessible.
Access Group Policy Editor
- Press Win + R
- Type gpedit.msc and press Enter
Configure Telemetry Settings
Disable Diagnostic Data:
- Navigate to Computer Configuration > Administrative Templates > Windows Components > Data Collection and Preview Builds
- Find “Allow Diagnostic Data”
- Double-click and select “Enabled”
- Set to “Diagnostic data off” (option 0)
- Click Apply > OK
Disable Connected User Experiences:
- Navigate to Computer Configuration > Administrative Templates > Windows Components > Connected User Experiences and Telemetry
- Find “Allow Diagnostic Data”
- Double-click and select “Enabled”
- Set to “Diagnostic data off”
- Click Apply > OK
Disable CEIP (Customer Experience Improvement Program):
- Navigate to Computer Configuration > Administrative Templates > System > Internet Communication Management > Internet Communication settings
- Find “Turn off the Customer Experience Improvement Program”
- Double-click and select “Enabled”
- Click Apply > OK
Part 4: Registry Hardening
Warning: Editing the Registry can cause system instability. Backup your registry first.
Backup Your Registry
- Press Win + R
- Type regedit and press Enter
- Click File > Export
- Save as Registry_Backup.reg to your Desktop
- Click Save
Edit Registry Keys
- Press Win + R
- Type regedit and press Enter
- Navigate to each key below and make the changes
Disable Telemetry at HKEY_LOCAL_MACHINE:
Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection
If the folder doesn’t exist, create it:
- Right-click Windows folder
- Select New > Key
- Name it DataCollection
In the DataCollection folder:
- Right-click empty space
- Select New > DWORD (32-bit) Value
- Name it AllowDiagnosticData
- Set value to 0
Disable Advertising ID:
Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo
- Right-click Enabled
- Select Modify
- Change value from 1 to 0
Disable Activity History:
Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System
- Create a new DWORD called PublishUserActivities
- Set value to 0
Disable Remote Assistance:
Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Remote Assistance
- Create a new DWORD called fAllowFullControl
- Set value to 0
Disable Cortana Data Collection:
Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search
- Create a new DWORD called BingSearchEnabled
- Set value to 0
After each registry change, restart your computer for changes to take effect.
Part 5: Firewall Rules (Advanced)
Use Windows Firewall to block Microsoft’s telemetry servers at the network level.
Create Outbound Firewall Rules
- Press Win + R
- Type wf.msc (Windows Defender Firewall with Advanced Security)
- Click Outbound Rules (left sidebar)
- Click New Rule (right sidebar)
For each domain below, create a rule:
Rule Details:
- Rule Type: Custom
- Program: All Programs
- Direction: Outbound
- Action: Block
- Protocol: TCP/UDP
Domains to Block:
*.vortex.data.microsoft.comtelemetry.microsoft.comsettings-win.data.microsoft.comtelemetry.appex.bing.net
Repeat this process for each domain. Outbound rules with wildcards prevent entire subdomains from contacting Microsoft.
Part 6: Task Scheduler Cleanup
Windows 11 has hidden scheduled tasks that run telemetry jobs.
Access Task Scheduler
- Press Win + R
- Type taskschd.msc and press Enter
Disable Telemetry Tasks
Navigate to: Microsoft > Windows > Application Experience
Disable:
- Microsoft Compatibility Appraiser
- ProgramDataUpdater
Navigate to: Microsoft > Windows > Autochk
Disable:
- Proxy (if present)
Navigate to: Microsoft > Windows > Customer Experience Improvement Program
Disable:
- Consolidator
- UsbCeip
Navigate to: Microsoft > Windows > DiskDiagnostic
Disable:
- Microsoft-Windows-DiskDiagnosticDataCollector
For each task:
- Right-click and select Disable
- Confirm when prompted
Part 7: OneDrive Considerations
OneDrive is deeply integrated into Windows 11.
Uninstall OneDrive (Optional)
If you don’t use OneDrive:
- Press Win + R
- Type onedrive.exe /uninstall and press Enter
- Wait for uninstall to complete
- Restart your computer
If You Keep OneDrive
- Open OneDrive
- Click Account > Settings
- Under Sync and backup, uncheck “Automatically save files”
- Under Privacy, toggle off “Improve OneDrive”
Verification: Checking Your Changes
After hardening, verify that telemetry is disabled:
Use Wireshark to Inspect Network Traffic
- Download Wireshark (a network analyzer)
- Start a capture on your network adapter
- Let it run for 5 minutes while you use Windows normally
- Filter for traffic to Microsoft domains using:
ip.dst == 1.1.1.1 - Look for connections to
microsoft.com,msedge.net, orbing.com
Reduced traffic to these domains indicates telemetry is blocked.
Check Services Status
- Open Services (Win + R > services.msc)
- Verify all telemetry services are marked “Disabled”
- Verify startup type shows “Disabled” (not “Automatic”)
Maintenance Going Forward
After Windows Updates:
- Some services may re-enable automatically
- Check Services and Group Policy settings monthly
- Verify no new telemetry tasks appear in Task Scheduler
Stay Updated:
- Keep Windows updated for security patches
- Don’t disable security-critical services like Windows Defender (unless using third-party antivirus)
- Balance privacy with security
Caveats and Limitations
You cannot achieve 100% privacy on Windows 11. Even with all these hardening steps, Windows 11 is fundamentally designed for data collection. Consider these alternatives:
- Linux (Ubuntu, Fedora, or Linux Mint) for maximum privacy
- macOS (better privacy than Windows, though still collects some data)
- Qubes OS for extreme privacy and security
If you must use Windows, these hardening steps significantly reduce telemetry. Combined with privacy-respecting browsers (Firefox, Brave, LibreWolf) and a VPN, you can substantially improve your privacy posture on Windows 11.