Index löschen und neu erstellen per batch oder cmd
Moin,
ich hab folgende Frage.
man kannn ja unter WIN 7 in den Indizierungsoptionen unter "Erweitert" den Index löschen und neu erstellen.
Ist es auch möglich, das ganze mit einer cmd oder batch zu machen?
Vielen dank für eure Antworten.
ich hab folgende Frage.
man kannn ja unter WIN 7 in den Indizierungsoptionen unter "Erweitert" den Index löschen und neu erstellen.
Ist es auch möglich, das ganze mit einer cmd oder batch zu machen?
Vielen dank für eure Antworten.
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 197554
Url: https://administrator.de/forum/index-loeschen-und-neu-erstellen-per-batch-oder-cmd-197554.html
Ausgedruckt am: 03.06.2025 um 16:06 Uhr
3 Kommentare
Neuester Kommentar
Hier eine Lösung aus der Microsoft Community :
1. Click on Start and then on Run.
2. Type cmd and hit Enter.
3. Type the following command and press enter.
4. Close the command prompt.
5. Click on Start and then on run.
6. %AllUsersProfile%\Application Data\Microsoft\Search\Data\Applications\Windows and delete all the files and subfolders.
7. Open registry editor by typing regedit.exe from the run box.
8. Delete the following registry keys:
- "HKLM\Software\Microsoft\Windows Search\Applications\windows"
- "HKLM\Software\Microsoft\Windows Search\CatalogName\windows"
- "HKLM\Software\Microsoft\Windows Search\Databases\windows"
- "HKLM\Software\Microsoft\Windows Search\Gather\windows"
- "HKLM\Software\Microsoft\Windows Search\Gathering manager\Applications\windows"
- "HKLM\Software\Microsoft\Windows Search\UsnNotifier\windows"
9. In registry in key "HKLM\Software\Microsoft\Windows Search"
switch "SetupCompletedSuccessfully" subkey to "0"
10. Open the command prompt again and type the following command in order to start windows search again.
Restart the computer.
Manually re-build the search index.
1. Click on Start and then on Run.2. Type cmd and hit Enter.
3. Type the following command and press enter.
net stop wsearch
5. Click on Start and then on run.
6. %AllUsersProfile%\Application Data\Microsoft\Search\Data\Applications\Windows and delete all the files and subfolders.
7. Open registry editor by typing regedit.exe from the run box.
8. Delete the following registry keys:
- "HKLM\Software\Microsoft\Windows Search\Applications\windows"
- "HKLM\Software\Microsoft\Windows Search\CatalogName\windows"
- "HKLM\Software\Microsoft\Windows Search\Databases\windows"
- "HKLM\Software\Microsoft\Windows Search\Gather\windows"
- "HKLM\Software\Microsoft\Windows Search\Gathering manager\Applications\windows"
- "HKLM\Software\Microsoft\Windows Search\UsnNotifier\windows"
9. In registry in key "HKLM\Software\Microsoft\Windows Search"
switch "SetupCompletedSuccessfully" subkey to "0"
10. Open the command prompt again and type the following command in order to start windows search again.
net start wsearch
Restart the computer.
oder als Script zusammengefasst (Admin-Rechte erforderlich):
@echo off
net stop wsearch
rd "%AllUsersProfile%\Application Data\Microsoft\Search\Data\Applications\Windows\" /S /Q
reg delete "HKLM\Software\Microsoft\Windows Search\Applications\windows" /f
reg delete "HKLM\Software\Microsoft\Windows Search\CatalogName\windows" /f
reg delete "HKLM\Software\Microsoft\Windows Search\Databases\windows" /f
reg delete "HKLM\Software\Microsoft\Windows Search\Gather\windows" /f
reg delete "HKLM\Software\Microsoft\Windows Search\Gathering manager\Applications\windows" /f
reg delete "HKLM\Software\Microsoft\Windows Search\UsnNotifier\windows" /f
reg add "HKLM\Software\Microsoft\Windows Search" /v SetupCompletedSuccessfully /t REG_DWORD /d 0 /f
net start wsearch