Impedir el acceso a herramientas de edición del Registro: valor del Registro DisableRegistryToolsUsuarioHKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System

Id. de directiva
DisableRegedit
Ámbito
Configuración de usuario
Compatible con
Al menos Windows 2000
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Sistema

Registro

DisableRegistryTools

REG_DWORDUsuario
Valor al habilitar
Depende del valor de la opción
Elemento
¿Desea deshabilitar la ejecución sin notificación de regedit?
Opciones
Elemento de listaValor almacenado
Sí2
No1
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]

; Opciones (usar solo una)
; Sí
"DisableRegistryTools"=dword:00000002
; No
"DisableRegistryTools"=dword:00000001
CMD
:: Opciones (usar solo una)

:: Sí
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "DisableRegistryTools" /t REG_DWORD /d 2 /f
:: No
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "DisableRegistryTools" /t REG_DWORD /d 1 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null

# Opciones (usar solo una)
# Sí
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'DisableRegistryTools' -PropertyType DWord -Value 2 -Force | Out-Null
# No
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'DisableRegistryTools' -PropertyType DWord -Value 1 -Force | Out-Null