既定のインデックス作成対象パス のレジストリ値 DefaultIndexedPaths_2 (HKCU Windows Search)ユーザーHKCU\SOFTWARE\Policies\Microsoft\Windows\Windows Search

ポリシー ID
DefaultIndexedPaths_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\DefaultIndexedPaths]
"<値を入力>"="<値を入力>"
CMD
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\Windows Search\DefaultIndexedPaths" /v "<値を入力>" /t REG_SZ /d "<値を入力>" /f
PowerShell
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\DefaultIndexedPaths' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\DefaultIndexedPaths' -Name '<値を入力>' -PropertyType String -Value '<値を入力>' -Force | Out-Null