This PC was showing various errors when loading applications such as Outlook, Word etc.

An example error was “not enough quota for this operation”.

In the event log – the following could be found:

Failed to determine if the store is in the crawl scope (error=0x8001010d).

There were also several errors relating to Windows Search which lead me to the following solution which involves rebuilding the WDS index:

  • Stop Indexing service “cmd: net stop wsearch” and check in TaskManager’s process list that SearchIndexer.exe was really stopped.
  • Delete %SystemDrive%\ProgramData\Microsoft\Search\Data\Applications\Windows (Vista) or %AllUsersProfile%\Application Data\Microsoft\Search\Data\Applications\Windows (XP) folder with all its files and subfolders.
  • 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”
    You’ll have to change reg key ownership and change permission first.
  • In registry in key “HKLM\Software\Microsoft\Windows Search” switch “SetupCompletedSuccessfully” subkey to “0” – you’ll have to change reg key ownership and change permission first.
  • Start Indexing service back “cmd: net start wsearch”
  • Wait until “SetupCompletedSuccessfully” subkey switch back to 1. If it’s still “0” after 5 minutes, it means the setup is failed again.