Block telemetry scheduled tasks (#310)

* Block telemetry scheduled tasks

* Fix typo
master
Teselka 1 year ago committed by GitHub
parent 553642cb80
commit d87b427540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -240,3 +240,16 @@ $ips = @(
Remove-NetFirewallRule -DisplayName "Block Telemetry IPs" -ErrorAction SilentlyContinue
New-NetFirewallRule -DisplayName "Block Telemetry IPs" -Direction Outbound `
-Action Block -RemoteAddress ([string[]]$ips)
# Block scheduled telemetry tasks
# See reference: https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/permanently-disabling-windows-compatibility/6bf71583-81b0-4a74-ae2e-8fd73305aad1
$tasks = @(
"\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"
"\Microsoft\Windows\Application Experience\ProgramDataUpdater"
"\Microsoft\Windows\Application Experience\StartupAppTask"
"\Microsoft\Windows\Application Experience\PcaPatchDbTask"
)
foreach ($task in $tasks) {
Disable-ScheduledTask -TaskName $task
}

Loading…
Cancel
Save