Nivel de registro en el dispositivo: valor del Registro OnDeviceRegistryLoggingLevelEquipoHKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI

Id. de directiva
OnDeviceRegistryLoggingLevel
Ámbito
Configuración del equipo
Compatible con
Se requiere al menos Windows Server 2016 o Windows 10
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Componentes de Windows › Windows AI

Registro

OnDeviceRegistryLoggingLevel

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Nivel de registro en el dispositivo:
Opciones
Elemento de listaValor almacenado
Error o superior0
Información o superior1
Depurar o superior2
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opciones (usar solo una)
; Error o superior
"OnDeviceRegistryLoggingLevel"=dword:00000000
; Información o superior
"OnDeviceRegistryLoggingLevel"=dword:00000001
; Depurar o superior
"OnDeviceRegistryLoggingLevel"=dword:00000002
CMD
:: Opciones (usar solo una)

:: Error o superior
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsAI" /v "OnDeviceRegistryLoggingLevel" /t REG_DWORD /d 0 /f
:: Información o superior
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsAI" /v "OnDeviceRegistryLoggingLevel" /t REG_DWORD /d 1 /f
:: Depurar o superior
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsAI" /v "OnDeviceRegistryLoggingLevel" /t REG_DWORD /d 2 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Force | Out-Null

# Opciones (usar solo una)
# Error o superior
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Name 'OnDeviceRegistryLoggingLevel' -PropertyType DWord -Value 0 -Force | Out-Null
# Información o superior
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Name 'OnDeviceRegistryLoggingLevel' -PropertyType DWord -Value 1 -Force | Out-Null
# Depurar o superior
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Name 'OnDeviceRegistryLoggingLevel' -PropertyType DWord -Value 2 -Force | Out-Null