Diagnostische gegevens toestaan: registerwaarde AllowTelemetryGebruikerHKCU\Software\Policies\Microsoft\Windows\DataCollection

Beleids-ID
AllowTelemetry
Bereik
Computerconfiguratie, Gebruikersconfiguratie
Ondersteund op
Minimaal Windows Server 2016, Windows 10
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Windows-onderdelen › Gegevensverzameling en preview-builds

Register

AllowTelemetry

REG_DWORDGebruikerComputer
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
-
Opties
ItemOpgeslagen waarde
Diagnostische gegevens uit (niet aanbevolen)0
Vereiste diagnostische gegevens verzenden1
Optionele diagnostische gegevens verzenden3
Toepassen met .reg · CMD · PowerShell
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\DataCollection]

; Opties (gebruik er maar één)
; Diagnostische gegevens uit (niet aanbevolen)
"AllowTelemetry"=dword:00000000
; Vereiste diagnostische gegevens verzenden
"AllowTelemetry"=dword:00000001
; Optionele diagnostische gegevens verzenden
"AllowTelemetry"=dword:00000003
CMD
:: Opties (gebruik er maar één)

:: Diagnostische gegevens uit (niet aanbevolen)
reg add "HKCU\Software\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
:: Vereiste diagnostische gegevens verzenden
reg add "HKCU\Software\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 1 /f
:: Optionele diagnostische gegevens verzenden
reg add "HKCU\Software\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 3 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\DataCollection' -Force | Out-Null

# Opties (gebruik er maar één)
# Diagnostische gegevens uit (niet aanbevolen)
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\DataCollection' -Name 'AllowTelemetry' -PropertyType DWord -Value 0 -Force | Out-Null
# Vereiste diagnostische gegevens verzenden
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\DataCollection' -Name 'AllowTelemetry' -PropertyType DWord -Value 1 -Force | Out-Null
# Optionele diagnostische gegevens verzenden
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\DataCollection' -Name 'AllowTelemetry' -PropertyType DWord -Value 3 -Force | Out-Null
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DataCollection]

; Opties (gebruik er maar één)
; Diagnostische gegevens uit (niet aanbevolen)
"AllowTelemetry"=dword:00000000
; Vereiste diagnostische gegevens verzenden
"AllowTelemetry"=dword:00000001
; Optionele diagnostische gegevens verzenden
"AllowTelemetry"=dword:00000003
CMD
:: Opties (gebruik er maar één)

:: Diagnostische gegevens uit (niet aanbevolen)
reg add "HKLM\Software\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
:: Vereiste diagnostische gegevens verzenden
reg add "HKLM\Software\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 1 /f
:: Optionele diagnostische gegevens verzenden
reg add "HKLM\Software\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 3 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\DataCollection' -Force | Out-Null

# Opties (gebruik er maar één)
# Diagnostische gegevens uit (niet aanbevolen)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DataCollection' -Name 'AllowTelemetry' -PropertyType DWord -Value 0 -Force | Out-Null
# Vereiste diagnostische gegevens verzenden
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DataCollection' -Name 'AllowTelemetry' -PropertyType DWord -Value 1 -Force | Out-Null
# Optionele diagnostische gegevens verzenden
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DataCollection' -Name 'AllowTelemetry' -PropertyType DWord -Value 3 -Force | Out-Null