Skip to content

Disable Telemetry

config/tweaks.json
1320  "WPFTweaksTelemetry": {
1321    "Content": "Disable Telemetry",
1322    "Description": "Disables Microsoft Telemetry.",
1323    "category": "Essential Tweaks",
1324    "panel": "1",
1325    "registry": [
1326      {
1327        "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\AdvertisingInfo",
1328        "Name": "Enabled",
1329        "Value": "0",
1330        "Type": "DWord",
1331        "OriginalValue": "<RemoveEntry>"
1332      },
1333      {
1334        "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Privacy",
1335        "Name": "TailoredExperiencesWithDiagnosticDataEnabled",
1336        "Value": "0",
1337        "Type": "DWord",
1338        "OriginalValue": "<RemoveEntry>"
1339      },
1340      {
1341        "Path": "HKCU:\\Software\\Microsoft\\Speech_OneCore\\Settings\\OnlineSpeechPrivacy",
1342        "Name": "HasAccepted",
1343        "Value": "0",
1344        "Type": "DWord",
1345        "OriginalValue": "<RemoveEntry>"
1346      },
1347      {
1348        "Path": "HKCU:\\Software\\Microsoft\\Input\\TIPC",
1349        "Name": "Enabled",
1350        "Value": "0",
1351        "Type": "DWord",
1352        "OriginalValue": "<RemoveEntry>"
1353      },
1354      {
1355        "Path": "HKCU:\\Software\\Microsoft\\InputPersonalization",
1356        "Name": "RestrictImplicitInkCollection",
1357        "Value": "1",
1358        "Type": "DWord",
1359        "OriginalValue": "<RemoveEntry>"
1360      },
1361      {
1362        "Path": "HKCU:\\Software\\Microsoft\\InputPersonalization",
1363        "Name": "RestrictImplicitTextCollection",
1364        "Value": "1",
1365        "Type": "DWord",
1366        "OriginalValue": "<RemoveEntry>"
1367      },
1368      {
1369        "Path": "HKCU:\\Software\\Microsoft\\InputPersonalization\\TrainedDataStore",
1370        "Name": "HarvestContacts",
1371        "Value": "0",
1372        "Type": "DWord",
1373        "OriginalValue": "<RemoveEntry>"
1374      },
1375      {
1376        "Path": "HKCU:\\Software\\Microsoft\\Personalization\\Settings",
1377        "Name": "AcceptedPrivacyPolicy",
1378        "Value": "0",
1379        "Type": "DWord",
1380        "OriginalValue": "<RemoveEntry>"
1381      },
1382      {
1383        "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection",
1384        "Name": "AllowTelemetry",
1385        "Value": "0",
1386        "Type": "DWord",
1387        "OriginalValue": "<RemoveEntry>"
1388      },
1389      {
1390        "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
1391        "Name": "Start_TrackProgs",
1392        "Value": "0",
1393        "Type": "DWord",
1394        "OriginalValue": "<RemoveEntry>"
1395      },
1396      {
1397        "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
1398        "Name": "PublishUserActivities",
1399        "Value": "0",
1400        "Type": "DWord",
1401        "OriginalValue": "<RemoveEntry>"
1402      },
1403      {
1404        "Path": "HKCU:\\Software\\Microsoft\\Siuf\\Rules",
1405        "Name": "NumberOfSIUFInPeriod",
1406        "Value": "0",
1407        "Type": "DWord",
1408        "OriginalValue": "<RemoveEntry>"
1409      }
1410    ],
1411    "InvokeScript": [
1412      "
1413      # Disable Defender Auto Sample Submission
1414      Set-MpPreference -SubmitSamplesConsent 2
1415
1416      # Disable (Connected User Experiences and Telemetry) Service
1417      Set-Service -Name diagtrack -StartupType Disabled
1418
1419      # Disable (Windows Error Reporting Manager) Service
1420      Set-Service -Name wermgr -StartupType Disabled
1421
1422      $Memory = (Get-CimInstance Win32_PhysicalMemory | Measure-Object Capacity -Sum).Sum / 1KB
1423      Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name SvcHostSplitThresholdInKB -Value $Memory
1424
1425      Remove-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Siuf\\Rules\" -Name PeriodInNanoSeconds
1426      "
1427    ],
1428    "UndoScript": [
1429      "
1430      # Enable Defender Auto Sample Submission
1431      Set-MpPreference -SubmitSamplesConsent 1
1432
1433      # Enable (Connected User Experiences and Telemetry) Service
1434      Set-Service -Name diagtrack -StartupType Automatic
1435
1436      # Enable (Windows Error Reporting Manager) Service
1437      Set-Service -Name wermgr -StartupType Automatic
1438      "
1439    ],

Registry Changes

Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.

You can find information about the registry on Wikipedia and Microsoft’s Website.