# Deaktiviere Windows-Diagnosedaten
Set-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection” -Name “AllowTelemetry” -Value 0
Set-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection” -Name “MaxTelemetryAllowed” -Value 0
# Deaktiviere Windows-Verbindungsdaten
Set-ItemProperty -Path “HKLM:\SYSTEM\CurrentControlSet\Services\DiagTrack” -Name “Start” -Value 4
Stop-Service -Name “DiagTrack” -Force
Set-Service -Name “DiagTrack” -StartupType Disabled
# Deaktiviere Windows-Cortana
Set-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search” -Name “AllowCortana” -Value 0
Stop-Service -Name “WSearch” -Force
Set-Service -Name “WSearch” -StartupType Disabled
write-host “Telemetrie wurde erfolgreich deaktiviert in Windows 11.”