tiny11builder icon indicating copy to clipboard operation
tiny11builder copied to clipboard

Enabling/disabling telemetry

Open bfg01 opened this issue 10 months ago • 2 comments

Just briefly asking, is this still a planned feature, or is this feature still too complicated to see the light soon?

Thanks.

bfg01 avatar Apr 24 '24 19:04 bfg01

To be implemented.

ntdevlabs avatar Apr 25 '24 16:04 ntdevlabs

Perhaps something like this?

# Requires administrative privileges
# Stop and disable Diagnostics Tracking Service
Stop-Service diagtrack
Set-Service diagtrack -StartupType Disabled

# Set Telemetry level to 0 (Security) via Registry
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection" -Name "AllowTelemetry" -Value 0

# Disable Connected User Experiences and Telemetry Service
Stop-Service dmwappushservice
Set-Service dmwappushservice -StartupType Disabled

# Disable various scheduled tasks related to telemetry
$tasks = @(
    "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser",
    "\Microsoft\Windows\Application Experience\ProgramDataUpdater",
    "\Microsoft\Windows\Autochk\Proxy",
    "\Microsoft\Windows\Customer Experience Improvement Program\Consolidator",
    "\Microsoft\Windows\Customer Experience Improvement Program\UsbCeip",
    "\Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask"
)

foreach ($task in $tasks) {
    Disable-ScheduledTask -TaskName $task -ErrorAction SilentlyContinue
}

Write-Host "Telemetry services and tasks have been disabled."

yawnbox avatar Apr 26 '24 21:04 yawnbox

Now added in the latest release!

ntdevlabs avatar Apr 29 '24 17:04 ntdevlabs