A collection of Scripts which disable / remove Windows 10 Features and Apps
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Description:
|
|
|
|
# This script redirects telemetry related domains to your nowhere using the
|
|
|
|
# hosts file. Additionally telemetry is disallows via Group Policies.
|
|
|
|
|
|
|
|
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\reg-helper.psm1
|
|
|
|
|
|
|
|
echo "Adding telemetry routes to hosts file"
|
|
|
|
cat "$PSScriptRoot\..\res\telemetry-hosts.txt" >> "$env:systemroot\System32\drivers\etc\hosts"
|
|
|
|
|
|
|
|
echo "Disabling telemetry via Group Policies"
|
|
|
|
Import-Registry(@"
|
|
|
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection]
|
|
|
|
"AllowTelemetry"=dword:00000000
|
|
|
|
"@)
|