Das Anpassen von indizierten Speicherorten in der Systemsteuerung verhindern: Registrierungswert PreventModifyingIndexedLocations (HKCU Windows Search)BenutzerHKCU\SOFTWARE\Policies\Microsoft\Windows\Windows Search

Richtlinien-ID
PreventModifyingIndexedLocations_2
Bereich
Benutzerkonfiguration
Unterstützt unter
Jede Version von Microsoft Windows mit Windows Search 4.0 oder höher
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
Windows-Komponenten › Suche

Registrierung

PreventModifyingIndexedLocations

REG_DWORDBenutzer
Wert bei Aktivierung
1
Wert bei Deaktivierung
0
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Windows Search]

; Optionen (nur eine verwenden)
; Aktiviert
"PreventModifyingIndexedLocations"=dword:00000001
; Deaktiviert
"PreventModifyingIndexedLocations"=dword:00000000
CMD
:: Optionen (nur eine verwenden)

:: Aktiviert
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "PreventModifyingIndexedLocations" /t REG_DWORD /d 1 /f
:: Deaktiviert
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "PreventModifyingIndexedLocations" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Force | Out-Null

# Optionen (nur eine verwenden)
# Aktiviert
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Name 'PreventModifyingIndexedLocations' -PropertyType DWord -Value 1 -Force | Out-Null
# Deaktiviert
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Name 'PreventModifyingIndexedLocations' -PropertyType DWord -Value 0 -Force | Out-Null