特定のパスのインデックスを作成しない のレジストリ値 PreventIndexingCertainPaths_2 (HKCU PreventIndexingCertainPaths)ユーザーHKCU\SOFTWARE\Policies\Microsoft\Windows\Windows Search\PreventIndexingCertainPaths

ポリシー ID
PreventIndexingCertainPaths_2
適用対象
ユーザーの構成
サポートされるバージョン
Windows Search 4.0 以上を搭載した任意のバージョンの Microsoft Windows
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
Windows コンポーネント › 検索

レジストリ

(リストの値)

REG_SZユーザー
有効時の値
オプションの値に依存
要素
特定のパスのインデックスを作成しない
値の種類
REG_SZ
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Windows Search\PreventIndexingCertainPaths]
"<値を入力>"="<値を入力>"
CMD
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\Windows Search\PreventIndexingCertainPaths" /v "<値を入力>" /t REG_SZ /d "<値を入力>" /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 '<値を入力>' -PropertyType String -Value '<値を入力>' -Force | Out-Null