Vereiste en optionele diagnostische gegevens over browsergebruik verzenden: registerwaarde DiagnosticDataGebruikerHKCU\Software\Policies\Microsoft\Edge

Beleids-ID
DiagnosticData
Bereik
Computerconfiguratie, Gebruikersconfiguratie
Ondersteund op
Microsoft Edge versie 122, Windows 7 of hoger
Bron
Microsoft Edge Policy Templates (versie 155.0.4283.45)
Categorie
Microsoft Edge

Register

DiagnosticData

REG_DWORDGebruikerComputer
…\Software\Policies\Microsoft\EdgeHKCU\Software\Policies\Microsoft\Edge Huidige sleutel
HKLM\Software\Policies\Microsoft\Edge
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Vereiste en optionele diagnostische gegevens over browsergebruik verzenden
Opties
ItemOpgeslagen waarde
Uit (niet aanbevolen)0
Vereiste gegevens1
Optionele gegevens2
Toepassen met .reg · CMD · PowerShell
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; Opties (gebruik er maar één)
; Uit (niet aanbevolen)
"DiagnosticData"=dword:00000000
; Vereiste gegevens
"DiagnosticData"=dword:00000001
; Optionele gegevens
"DiagnosticData"=dword:00000002
CMD
:: Opties (gebruik er maar één)

:: Uit (niet aanbevolen)
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DiagnosticData" /t REG_DWORD /d 0 /f
:: Vereiste gegevens
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DiagnosticData" /t REG_DWORD /d 1 /f
:: Optionele gegevens
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DiagnosticData" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

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

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; Opties (gebruik er maar één)
; Uit (niet aanbevolen)
"DiagnosticData"=dword:00000000
; Vereiste gegevens
"DiagnosticData"=dword:00000001
; Optionele gegevens
"DiagnosticData"=dword:00000002
CMD
:: Opties (gebruik er maar één)

:: Uit (niet aanbevolen)
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DiagnosticData" /t REG_DWORD /d 0 /f
:: Vereiste gegevens
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DiagnosticData" /t REG_DWORD /d 1 /f
:: Optionele gegevens
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DiagnosticData" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Opties (gebruik er maar één)
# Uit (niet aanbevolen)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DiagnosticData' -PropertyType DWord -Value 0 -Force | Out-Null
# Vereiste gegevens
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DiagnosticData' -PropertyType DWord -Value 1 -Force | Out-Null
# Optionele gegevens
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DiagnosticData' -PropertyType DWord -Value 2 -Force | Out-Null