Skip to content

Search guides, tweaks, features, and FAQs.

Code ReferenceTweaks ReferenceEssential-Tweaks

Telemetry - Disable

config/tweaks.json
"WPFTweaksTelemetry": {
"Content": "Telemetry - Disable",
"Description": "Disables Microsoft Telemetry.",
"category": "Essential Tweaks",
"panel": "1",
"service": [
{
"Name": "diagtrack",
"StartupType": "Disabled",
"OriginalType": "Automatic"
},
{
"Name": "WerSvc",
"StartupType": "Disabled",
"OriginalType": "Manual"
}
],
"registry": [
{
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\AdvertisingInfo",
"Name": "Enabled",
"Value": "0",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Privacy",
"Name": "TailoredExperiencesWithDiagnosticDataEnabled",
"Value": "0",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKCU:\\Software\\Microsoft\\Speech_OneCore\\Settings\\OnlineSpeechPrivacy",
"Name": "HasAccepted",
"Value": "0",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKCU:\\Software\\Microsoft\\Input\\TIPC",
"Name": "Enabled",
"Value": "0",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKCU:\\Software\\Microsoft\\InputPersonalization",
"Name": "RestrictImplicitInkCollection",
"Value": "1",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKCU:\\Software\\Microsoft\\InputPersonalization",
"Name": "RestrictImplicitTextCollection",
"Value": "1",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKCU:\\Software\\Microsoft\\InputPersonalization\\TrainedDataStore",
"Name": "HarvestContacts",
"Value": "0",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKCU:\\Software\\Microsoft\\Personalization\\Settings",
"Name": "AcceptedPrivacyPolicy",
"Value": "0",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection",
"Name": "AllowTelemetry",
"Value": "0",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
"Name": "Start_TrackProgs",
"Value": "0",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
"Name": "PublishUserActivities",
"Value": "0",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKCU:\\Software\\Microsoft\\Siuf\\Rules",
"Name": "NumberOfSIUFInPeriod",
"Value": "0",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKCU:\\Software\\Microsoft\\Siuf\\Rules",
"Name": "PeriodInNanoSeconds",
"Value": "<RemoveEntry>",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
}
],
"InvokeScript": [
"
# Disable Defender Auto Sample Submission
Set-MpPreference -SubmitSamplesConsent 2
# Disable PowerShell 7 telemetry
[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '1', 'Machine')
"
],
"UndoScript": [
"
# Enable Defender Auto Sample Submission
Set-MpPreference -SubmitSamplesConsent 1
# Enable PowerShell 7 telemetry
[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '', 'Machine')
"
],
}

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.