Impedir indexação de determinados caminhos: valor do Registro PreventIndexingCertainPaths_1 (HKLM PreventIndexingCertainPaths)ComputadorHKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search\PreventIndexingCertainPaths

ID da política
PreventIndexingCertainPaths_1
Escopo
Configuração do Computador
Compatível com
Microsoft Windows XP, Windows Server 2003 com Windows Search versão 3.01, ou qualquer versão do Microsoft Windows com Windows Search 4.0 ou posterior
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Componentes do Windows › Pesquisar

Registro

(valores da lista)

REG_SZComputador
Valor habilitado
Depende do valor da opção
Elemento
Impedir Indexação de Determinados Caminhos
Tipo de valor
REG_SZ
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search\PreventIndexingCertainPaths]
"<inserir valor>"="<inserir valor>"
CMD
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search\PreventIndexingCertainPaths" /v "<inserir valor>" /t REG_SZ /d "<inserir valor>" /f
PowerShell
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\PreventIndexingCertainPaths' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\PreventIndexingCertainPaths' -Name '<inserir valor>' -PropertyType String -Value '<inserir valor>' -Force | Out-Null