Protokolliergrad der Registrierung auf dem Gerät: Registrierungswert OnDeviceRegistryLoggingLevelComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI

Richtlinien-ID
OnDeviceRegistryLoggingLevel
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Windows Server 2016, Windows 10
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
Windows-Komponenten › Windows-KI

Registrierung

OnDeviceRegistryLoggingLevel

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Protokolliergrad der Registrierung auf dem Gerät:
Optionen
EintragGespeicherter Wert
Fehler oder höher0
Information oder höher1
Debug oder höher2
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

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

; Optionen (nur eine verwenden)
; Fehler oder höher
"OnDeviceRegistryLoggingLevel"=dword:00000000
; Information oder höher
"OnDeviceRegistryLoggingLevel"=dword:00000001
; Debug oder höher
"OnDeviceRegistryLoggingLevel"=dword:00000002
CMD
:: Optionen (nur eine verwenden)

:: Fehler oder höher
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsAI" /v "OnDeviceRegistryLoggingLevel" /t REG_DWORD /d 0 /f
:: Information oder höher
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsAI" /v "OnDeviceRegistryLoggingLevel" /t REG_DWORD /d 1 /f
:: Debug oder höher
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsAI" /v "OnDeviceRegistryLoggingLevel" /t REG_DWORD /d 2 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Force | Out-Null

# Optionen (nur eine verwenden)
# Fehler oder höher
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Name 'OnDeviceRegistryLoggingLevel' -PropertyType DWord -Value 0 -Force | Out-Null
# Information oder höher
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Name 'OnDeviceRegistryLoggingLevel' -PropertyType DWord -Value 1 -Force | Out-Null
# Debug oder höher
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Name 'OnDeviceRegistryLoggingLevel' -PropertyType DWord -Value 2 -Force | Out-Null