Impedir la personalización de ubicaciones indizadas en el Panel de control: valor del Registro PreventModifyingIndexedLocations (HKCU Windows Search)UsuarioHKCU\SOFTWARE\Policies\Microsoft\Windows\Windows Search

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

Registro

PreventModifyingIndexedLocations

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\Windows Search]

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

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

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