Skip to content

Diagnostic Data and Telemetry

Windows sends diagnostic data, crash dumps, and usage statistics to Microsoft. Level 1 limits it to the minimum. Level 2 turns off as much as policy allows. The reasoning is the same either way: anything leaving the machine is information an attacker who intercepts it can use, and crash dumps in particular can contain passwords and file contents.

None of these break a scenario. Apply all of them.

Where

gpedit.mscComputer ConfigurationAdministrative Templates, mostly under Windows ComponentsData Collection and Preview Builds and SystemInternet Communication ManagementInternet Communication settings.

Level 1

CIS Setting Path Set to Why
18.10.16.1 Allow Diagnostic Data Data Collection and Preview Builds Enabled: Send required diagnostic data (or Diagnostic data off, on Enterprise) The minimum Windows will accept
18.10.16.3 Do not show feedback notifications Data Collection and Preview Builds Enabled No "rate your experience" prompts, which are also a data channel
18.10.13.3 Turn off Microsoft consumer experiences Windows Components → Cloud Content Enabled No suggested apps or tips pushed from Microsoft
18.10.13.1 Turn off cloud consumer account state content Cloud Content Enabled Same, for account-based content
18.1.2.2 Allow users to enable online speech recognition services Control Panel → Regional and Language Options Disabled Voice data doesn't go to the cloud
18.9.19.2 Continue experiences on this device System → Group Policy Disabled Activity doesn't sync across devices through a Microsoft account
18.9.20.1.2 Turn off downloading of print drivers over HTTP Internet Communication settings Enabled Drivers come from Windows Update or the administrator, not a web download
18.9.20.1.6 Turn off Internet download for Web publishing and online ordering wizards Internet Communication settings Enabled
18.10.79.1 Enables or disables Windows Game Recording and Broadcasting Windows Components → Windows Game Recording and Broadcasting Disabled Screen recording feature off

Level 2

Every one of these is a feature that phones home. Under Internet Communication settings, set each to Enabled (they're phrased as "Turn off"):

CIS Setting
18.9.20.1.3 Turn off handwriting personalization data sharing
18.9.20.1.4 Turn off handwriting recognition error reporting
18.9.20.1.5 Turn off Internet Connection Wizard if URL connection is referring to Microsoft.com
18.9.20.1.7 Turn off printing over HTTP
18.9.20.1.8 Turn off Registration if URL connection is referring to Microsoft.com
18.9.20.1.9 Turn off Search Companion content file updates
18.9.20.1.10 Turn off the "Order Prints" picture task
18.9.20.1.11 Turn off the "Publish to Web" task for files and folders
18.9.20.1.12 Turn off the Windows Messenger Customer Experience Improvement Program
18.9.20.1.13 Turn off Windows Customer Experience Improvement Program
18.9.20.1.14 Turn off Windows Error Reporting

Under Data Collection and Preview Builds:

CIS Setting Set to Why
18.10.16.2 Configure Authenticated Proxy usage for the Connected User Experience and Telemetry service Enabled: Disable Authenticated Proxy usage Telemetry can't borrow the user's proxy credentials
18.10.16.4 Enable OneSettings Auditing Enabled Logs which settings Windows downloads from Microsoft
18.10.16.5 Limit Diagnostic Log Collection Enabled No extra logs uploaded on request
18.10.16.6 Limit Dump Collection Enabled Crash dumps stay on the machine. Memory dumps contain whatever was in memory.

Under SystemTroubleshooting and Diagnostics:

CIS Setting Set to Why
18.9.49.5.1 Microsoft Support Diagnostic Tool: Turn on MSDT interactive communication with support provider Disabled MSDT was the vector for the 2022 Follina exploit
18.9.49.11.1 Enable/Disable PerfTrack Disabled Performance telemetry

Under Windows ComponentsApp and Device Inventory, all Enabled: Turn off API Sampling (18.10.3.1), Turn off Application Footprint (18.10.3.2), Turn off Install Tracing (18.10.3.3).

Under User ConfigurationAdministrative Templates: SystemInternet Communication ManagementTurn off Help Experience Improvement Program (19.6.6.1.1): Enabled. Windows ComponentsCloud ContentDo not use diagnostic data for tailored experiences (19.7.8.3): Enabled.

Services: disable WerSvc and wercplsupport (Services to Disable).

Apply the main ones

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v AllowTelemetry /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v DoNotShowFeedbackNotifications /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v LimitDumpCollection /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v LimitDiagnosticLogCollection /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsConsumerFeatures /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v Disabled /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\ScriptedDiagnosticsProvider\Policy" /v DisableQueryRemoteServer /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /v AllowGameDVR /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\InputPersonalization" /v AllowInputPersonalization /t REG_DWORD /d 0 /f

Verify

reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection"
reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v Disabled

Next

Cloud, Store, and Consumer Features