Windows Search Service will not start, Error: "The Windows Search service on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs"


Support for Windows Vista Service Pack 1 (SP1) ends on July 12, 2011. To continue receiving security updates for Windows, make sure you're running Windows Vista with Service Pack 2 (SP2). For more information, refer to this Microsoft web page: Support is ending for some versions of Windows.

Symptoms


Windows Search Service may not start and when attempting to start the service manually, you may get the following error:

========
Services
========
"The Windows Search service on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs"
===
OK
===

Cause


You may see this issue if there are missing subkeys or registry entries under the following registry location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search\CrawlScopeManager\Windows\SystemIndex

Or if there are corrupted log files at the following location:

C:\windows\system32\config\TxR


Note: The above regisrty key is unique to each machine, so should not be replaced manually.

Resolution


To resolve this issue, delete all files with .BLF and .REGTRANS-MS extension in the following directory:

C:\windows\system32\config\TxR

Note: The files in the folder location above are hidden and will thus not be visible unless you set the system to not Hide Protected Operating System Files under Tools - Folder Options.

Once these files are deleted, reboot the machine. Once rebooted, observe that the Windows Search service has already started and is in process of rebuilding the Index.

Note: You may observe High CPU while the Search Index is being rebuilt.