Impedisci la personalizzazione dei percorsi predefiniti nel Pannello di controllo: valore del Registro di sistema PreventModifyingIndexedLocations (HKLM Windows Search)ComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search
- ID criterio
- PreventModifyingIndexedLocations_1
- Ambito
- Configurazione computer
- Supportato in
- Microsoft Windows XP o Windows Server 2003 con Windows Search versione 3.01 oppure qualsiasi versione di Microsoft Windows con Windows Search versione 4.0 o successiva
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Componenti di Windows › Cerca
Registro
PreventModifyingIndexedLocations
REG_DWORDComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search Chiave corrente
- Valore abilitato
- 1
- Valore disabilitato
- 0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search] ; Opzioni (usarne solo una) ; Abilitato "PreventModifyingIndexedLocations"=dword:00000001 ; Disabilitato "PreventModifyingIndexedLocations"=dword:00000000
CMD
:: Opzioni (usarne solo una) :: Abilitato reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "PreventModifyingIndexedLocations" /t REG_DWORD /d 1 /f :: Disabilitato reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "PreventModifyingIndexedLocations" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Force | Out-Null # Opzioni (usarne solo una) # Abilitato New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Name 'PreventModifyingIndexedLocations' -PropertyType DWord -Value 1 -Force | Out-Null # Disabilitato New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Name 'PreventModifyingIndexedLocations' -PropertyType DWord -Value 0 -Force | Out-Null