Skip to content

Telemetry - Disable

config/tweaks.json
456  "WPFTweaksTelemetry": {
457    "Content": "Telemetry - Disable",
458    "Description": "Disables Microsoft Telemetry.",
459    "category": "Essential Tweaks",
460    "panel": "1",
461    "registry": [
462      {
463        "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\AdvertisingInfo",
464        "Name": "Enabled",
465        "Value": "0",
466        "Type": "DWord",
467        "OriginalValue": "<RemoveEntry>"
468      },
469      {
470        "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Privacy",
471        "Name": "TailoredExperiencesWithDiagnosticDataEnabled",
472        "Value": "0",
473        "Type": "DWord",
474        "OriginalValue": "<RemoveEntry>"
475      },
476      {
477        "Path": "HKCU:\\Software\\Microsoft\\Speech_OneCore\\Settings\\OnlineSpeechPrivacy",
478        "Name": "HasAccepted",
479        "Value": "0",
480        "Type": "DWord",
481        "OriginalValue": "<RemoveEntry>"
482      },
483      {
484        "Path": "HKCU:\\Software\\Microsoft\\Input\\TIPC",
485        "Name": "Enabled",
486        "Value": "0",
487        "Type": "DWord",
488        "OriginalValue": "<RemoveEntry>"
489      },
490      {
491        "Path": "HKCU:\\Software\\Microsoft\\InputPersonalization",
492        "Name": "RestrictImplicitInkCollection",
493        "Value": "1",
494        "Type": "DWord",
495        "OriginalValue": "<RemoveEntry>"
496      },
497      {
498        "Path": "HKCU:\\Software\\Microsoft\\InputPersonalization",
499        "Name": "RestrictImplicitTextCollection",
500        "Value": "1",
501        "Type": "DWord",
502        "OriginalValue": "<RemoveEntry>"
503      },
504      {
505        "Path": "HKCU:\\Software\\Microsoft\\InputPersonalization\\TrainedDataStore",
506        "Name": "HarvestContacts",
507        "Value": "0",
508        "Type": "DWord",
509        "OriginalValue": "<RemoveEntry>"
510      },
511      {
512        "Path": "HKCU:\\Software\\Microsoft\\Personalization\\Settings",
513        "Name": "AcceptedPrivacyPolicy",
514        "Value": "0",
515        "Type": "DWord",
516        "OriginalValue": "<RemoveEntry>"
517      },
518      {
519        "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection",
520        "Name": "AllowTelemetry",
521        "Value": "0",
522        "Type": "DWord",
523        "OriginalValue": "<RemoveEntry>"
524      },
525      {
526        "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
527        "Name": "Start_TrackProgs",
528        "Value": "0",
529        "Type": "DWord",
530        "OriginalValue": "<RemoveEntry>"
531      },
532      {
533        "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
534        "Name": "PublishUserActivities",
535        "Value": "0",
536        "Type": "DWord",
537        "OriginalValue": "<RemoveEntry>"
538      },
539      {
540        "Path": "HKCU:\\Software\\Microsoft\\Siuf\\Rules",
541        "Name": "NumberOfSIUFInPeriod",
542        "Value": "0",
543        "Type": "DWord",
544        "OriginalValue": "<RemoveEntry>"
545      }
546    ],
547    "InvokeScript": [
548      "
549      # Disable Defender Auto Sample Submission
550      Set-MpPreference -SubmitSamplesConsent 2
551
552      # Disable (Connected User Experiences and Telemetry) Service
553      Set-Service -Name diagtrack -StartupType Disabled
554
555      # Disable (Windows Error Reporting Manager) Service
556      Set-Service -Name wermgr -StartupType Disabled
557
558      Remove-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Siuf\\Rules\" -Name PeriodInNanoSeconds
559      "
560    ],
561    "UndoScript": [
562      "
563      # Enable Defender Auto Sample Submission
564      Set-MpPreference -SubmitSamplesConsent 1
565
566      # Enable (Connected User Experiences and Telemetry) Service
567      Set-Service -Name diagtrack -StartupType Automatic
568
569      # Enable (Windows Error Reporting Manager) Service
570      Set-Service -Name wermgr -StartupType Automatic
571      "
572    ],

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.