The search service fails to start or routinely crashes with errors that look like this:
Windows Search Service failed to process the list of included and excluded locations with the error <20,0x80071a91, “”>
The Windows Search Service has failed to create the new search index. Internal error <10,0x80071a91, Failed to save Crawl Scope Manager changes>
The Windows Search service terminated with the following error:
Transaction support within the specified resource manager is not started or was shut down due to an error.
You may also see a reference to error 6801. 80071a91 is “Transaction support within the specified resource manager is not started or was shut down due to an error.” These are all the same error.
The solution to fix this within an individual machine appears to be to run CMD as Administrator and do this:
attrib -r -s -h *
If you identify this as a problem in an individual layer, you might be able to do the same there. Stop the Search Service (if present at all), delete the TxR files, and then finalize before allowing Search to start again.
If the TxR folder is not present, make sure you create one before starting the service again.