Logboekregistratieniveau op apparaat: registerwaarde OnDeviceRegistryLoggingLevelComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI

Beleids-ID
OnDeviceRegistryLoggingLevel
Bereik
Computerconfiguratie
Ondersteund op
Minimaal Windows Server 2016, Windows 10
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Windows-onderdelen › Windows AI

Register

OnDeviceRegistryLoggingLevel

REG_DWORDComputer
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Logboekregistratieniveau op apparaat:
Opties
ItemOpgeslagen waarde
Fout of hoger0
Informatie of hoger1
Fouten opsporen of hoger2
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opties (gebruik er maar één)
; Fout of hoger
"OnDeviceRegistryLoggingLevel"=dword:00000000
; Informatie of hoger
"OnDeviceRegistryLoggingLevel"=dword:00000001
; Fouten opsporen of hoger
"OnDeviceRegistryLoggingLevel"=dword:00000002
CMD
:: Opties (gebruik er maar één)

:: Fout of hoger
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsAI" /v "OnDeviceRegistryLoggingLevel" /t REG_DWORD /d 0 /f
:: Informatie of hoger
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsAI" /v "OnDeviceRegistryLoggingLevel" /t REG_DWORD /d 1 /f
:: Fouten opsporen of hoger
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsAI" /v "OnDeviceRegistryLoggingLevel" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Force | Out-Null

# Opties (gebruik er maar één)
# Fout of hoger
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Name 'OnDeviceRegistryLoggingLevel' -PropertyType DWord -Value 0 -Force | Out-Null
# Informatie of hoger
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Name 'OnDeviceRegistryLoggingLevel' -PropertyType DWord -Value 1 -Force | Out-Null
# Fouten opsporen of hoger
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Name 'OnDeviceRegistryLoggingLevel' -PropertyType DWord -Value 2 -Force | Out-Null