Zapobiegaj indeksowaniu określonych ścieżek: wartość rejestru PreventIndexingCertainPaths_2 (HKCU PreventIndexingCertainPaths)UżytkownikHKCU\SOFTWARE\Policies\Microsoft\Windows\Windows Search\PreventIndexingCertainPaths
- Identyfikator zasady
- PreventIndexingCertainPaths_2
- Zakres
- Konfiguracja użytkownika
- Obsługiwane w systemach
- Dowolna wersja systemu Microsoft Windows z programem Windows Search 4.0 lub nowszym
- Źródło
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
- Kategoria
- Składniki systemu Windows › Wyszukaj
Rejestr
(wartości listy)
REG_SZUżytkownik- Wartość włączona
- Zależy od wartości opcji
- Element
- Zapobiegaj indeksowaniu określonych ścieżek
- Typ wartości
- REG_SZ
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Windows Search\PreventIndexingCertainPaths] "<wpisz wartość>"="<wpisz wartość>"
CMD
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\Windows Search\PreventIndexingCertainPaths" /v "<wpisz wartość>" /t REG_SZ /d "<wpisz wartość>" /f
PowerShell
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\PreventIndexingCertainPaths' -Force | Out-Null New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\PreventIndexingCertainPaths' -Name '<wpisz wartość>' -PropertyType String -Value '<wpisz wartość>' -Force | Out-Null