On this page12 sections
- 1) Telemetry level (AllowTelemetry)
- 2) Telemetry pipeline services (DiagTrack + WAP Push)
- 3) Compatibility inventory scanning tasks (Application Experience)
- 4) Advertising ID (per-user tracking ID)
- 5) Tailored experiences / personalized tips and promos
- 6) Activity History / Timeline (local feed + cloud sync)
- 7) Speech, inking, typing personalization
- 8) Start menu / Search: force local-only (no Bing, no web suggestions)
- 9) Location services (hard block)
- 10) Diagnostic Data Viewer (optional)
- Notes
- Sources
Registry-first hardening notes for Windows 10/11.
By Jayy (Credit: Discord.gg/Lumin)
Most people do not know how much data Windows collects in the background. This guide walks through the main switches and gives you copyable commands for each step.
To apply these changes, copy one line at a time, open CMD as Administrator, paste, and press Enter. You should see The operation completed successfully after each registry command.
1) Telemetry level (AllowTelemetry)
This is the main switch. Windows diagnostics are tiered. The higher the tier, the more data gets shipped out. Locking this via policy also tends to grey out the UI toggle so it cannot be casually flipped back.
Path: HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection
DWORD: AllowTelemetry
- 0 = Security (Enterprise/Education/Server only)
- 1 = Required (all editions)
- 2 = Enhanced (legacy / deprecated on newer builds)
- 3 = Optional / Full (all editions)
If you are on Home/Pro and the value jumps back to 1, that is hard-limited in the consumer binaries.
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /freg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "LimitDiagnosticLogCollection" /t REG_DWORD /d 1 /freg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "LimitDumpCollection" /t REG_DWORD /d 1 /freg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "DoNotShowFeedbackNotifications" /t REG_DWORD /d 1 /f2) Telemetry pipeline services (DiagTrack + WAP Push)
Even with AllowTelemetry set low, the real-time pipeline is still driven by services. DiagTrack is the big one (Connected User Experiences and Telemetry). Disable these to reduce background network chatter.
Run each command separately:
sc stop DiagTracksc config DiagTrack start= disabledsc stop dmwappushservicesc config dmwappushservice start= disabledOptional: stop DiagTrack autologgers at boot:
reg add "HKLM\System\CurrentControlSet\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v Start /t REG_DWORD /d 0 /freg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Diagtrack-Listener" /v Start /t REG_DWORD /d 0 /f3) Compatibility inventory scanning tasks (Application Experience)
The Compatibility Appraiser is inventory and upload for upgrade/app compatibility. It is scheduled-task driven and can cause random disk or CPU spikes. Disable these tasks:
schtasks /Change /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disableschtasks /Change /TN "\Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disableschtasks /Change /TN "\Microsoft\Windows\Application Experience\StartupAppScan" /DisableWindows feature updates can re-enable these. Re-check this folder after major updates.
4) Advertising ID (per-user tracking ID)
This stops Windows from generating and using the Advertising ID. Apply machine policy and current-user keys so it sticks.
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v "Enabled" /t REG_DWORD /d 0 /freg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AdvertisingInfo" /v "DisabledByGroupPolicy" /t REG_DWORD /d 1 /freg add "HKCU\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v "Enabled" /t REG_DWORD /d 0 /f5) Tailored experiences / personalized tips and promos
If you do not want diagnostics used for marketing-style personalization, lock it here.
reg add "HKCU\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableTailoredExperiencesWithDiagnosticData" /t REG_DWORD /d 1 /f6) Activity History / Timeline (local feed + cloud sync)
Timeline logs what you do and can sync to the cloud. Disable collection and upload.
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "EnableActivityFeed" /t REG_DWORD /d 0 /freg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "PublishUserActivities" /t REG_DWORD /d 0 /freg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "UploadUserActivities" /t REG_DWORD /d 0 /fAfter you lock it down, clear existing Activity History in Settings if you want old data gone.
7) Speech, inking, typing personalization
Lock down cloud input personalization and typing insights if you handle sensitive info.
reg add "HKLM\SOFTWARE\Policies\Microsoft\InputPersonalization" /v "AllowInputPersonalization" /t REG_DWORD /d 0 /freg add "HKCU\SOFTWARE\Microsoft\input\Settings" /v "InsightsEnabled" /t REG_DWORD /d 0 /freg add "HKLM\SOFTWARE\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f8) Start menu / Search: force local-only (no Bing, no web suggestions)
Keep queries local so searching for an app or setting does not bounce to Microsoft.
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWeb" /t REG_DWORD /d 0 /freg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "DisableWebSearch" /t REG_DWORD /d 1 /freg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d 0 /freg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "DisableSearchBoxSuggestions" /t REG_DWORD /d 1 /f9) Location services (hard block)
Block location at policy level and deny it in the capability consent store.
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors" /v "DisableLocation" /t REG_DWORD /d 1 /freg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location" /v "Value" /t REG_SZ /d "Deny" /freg add "HKLM\SOFTWARE\Policies\Microsoft\Edge\WebView2" /v "DefaultGeolocationSetting" /t REG_DWORD /d 2 /f10) Diagnostic Data Viewer (optional)
Disable the Diagnostic Data Viewer if you do not want it available.
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "DisableDiagnosticDataViewer" /t REG_DWORD /d 1 /fNotes
- Some keys only take effect after reboot (or at least sign out/in).
- If you are doing a lot of edits, export the relevant branches first so you can roll back fast.
- Windows updates can flip scheduled tasks back on. Re-audit after feature updates.
Sources
- Diagnostics, feedback, and privacy in Windows - Microsoft Support
- General privacy settings in Windows - Microsoft Support
- Speech, voice activation, inking, typing, and privacy - Microsoft Support
- Windows Privacy Compliance Guide - Microsoft Learn
- Configure Windows diagnostic data in your organization - Microsoft Learn
- Manage connections from Windows operating system components to Microsoft services - Microsoft Learn
- Privacy Policy CSP - Microsoft Learn
- How to disable Windows telemetry - PDQ
- How to Disable Telemetry in Windows 11 - NinjaOne
- How to disable web search results on Windows 11 - Pureinfotech
- Enable or Disable Online Speech Recognition in Windows 11 - ElevenForum
- Enable or Disable Advertising ID for Personalized Ads in Apps in Windows 11 - ElevenForum
- Stopping Microsoft compatibility telemetry - ElevenForum
