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