Desactivar el almacenamiento y mostrar el historial de búsqueda: valor del Registro DisableSearchHistoryUsuarioHKCU\Software\Policies\Microsoft\Windows\Explorer

Id. de directiva
DisableSearchHistory
Ámbito
Configuración de usuario
Compatible con
Microsoft Windows 8 o posterior
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Componentes de Windows › Buscar

Registro

DisableSearchHistory

REG_DWORDUsuario
Valor al habilitar
1
Valor al deshabilitar
0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer]

; Opciones (usar solo una)
; Habilitada
"DisableSearchHistory"=dword:00000001
; Deshabilitada
"DisableSearchHistory"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Habilitada
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "DisableSearchHistory" /t REG_DWORD /d 1 /f
:: Deshabilitada
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "DisableSearchHistory" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer' -Force | Out-Null

# Opciones (usar solo una)
# Habilitada
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer' -Name 'DisableSearchHistory' -PropertyType DWord -Value 1 -Force | Out-Null
# Deshabilitada
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer' -Name 'DisableSearchHistory' -PropertyType DWord -Value 0 -Force | Out-Null