Skip to content

Disable Telemetry

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

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.