mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-06 06:38:31 +00:00
* updated theme to the latest version * Update en.yaml * removed all the order from the docs * add the store link * update homepage * add filename and line number to all the code blocks and also removed pages * auto pull the code from the json files * Merge branch 'main' into winutil-new-features * the script updated linenostart= * Delete LaptopHibernation.md
133 lines
4.3 KiB
Markdown
133 lines
4.3 KiB
Markdown
---
|
|
title: "Disable Telemetry"
|
|
description: ""
|
|
---
|
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1315}
|
|
"WPFTweaksTelemetry": {
|
|
"Content": "Disable Telemetry",
|
|
"Description": "Disables Microsoft Telemetry...Duh",
|
|
"category": "Essential Tweaks",
|
|
"panel": "1",
|
|
"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>"
|
|
}
|
|
],
|
|
"InvokeScript": [
|
|
"
|
|
# Disable Defender Auto Sample Submission
|
|
Set-MpPreference -SubmitSamplesConsent 2
|
|
|
|
# Disable (Connected User Experiences and Telemetry) Service
|
|
Set-Service -Name diagtrack -StartupType Disabled
|
|
|
|
# Disable (Windows Error Reporting Manager) Service
|
|
Set-Service -Name wermgr -StartupType Disabled
|
|
|
|
$Memory = (Get-CimInstance Win32_PhysicalMemory | Measure-Object Capacity -Sum).Sum / 1KB
|
|
Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name SvcHostSplitThresholdInKB -Value $Memory
|
|
|
|
Remove-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Siuf\\Rules\" -Name PeriodInNanoSeconds
|
|
"
|
|
],
|
|
"UndoScript": [
|
|
"
|
|
# Enable Defender Auto Sample Submission
|
|
Set-MpPreference -SubmitSamplesConsent 1
|
|
|
|
# Enable (Connected User Experiences and Telemetry) Service
|
|
Set-Service -Name diagtrack -StartupType Automatic
|
|
|
|
# Enable (Windows Error Reporting Manager) Service
|
|
Set-Service -Name wermgr -StartupType Automatic
|
|
"
|
|
],
|
|
```
|
|
|
|
## 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](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|