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