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_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\WindowsAI Huidige sleutel
- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- Logboekregistratieniveau op apparaat:
| Item | Opgeslagen waarde |
|---|---|
| Fout of hoger | 0 |
| Informatie of hoger | 1 |
| Fouten opsporen of hoger | 2 |
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