Why does Windows Search "Indexing Options" select the wrong drive if it's cloned?

First of all I can reproduce your problem:

enter image description here

The problem is caused by the system file \System Volume Information\IndexerVolumeGuid in each of the cloned volumes. Apparently you are right about the fact that the system is confused by the GUID(s) you see in those the registry entries under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search\CrawlScopeManager\Windows\SystemIndex\*, and this file should be the provider of the GUID(s).

Since the volumes are cloned, this particular file is identical among each of them just like other files. And it will NOT get "updated" (i.e. regenerated to avoid conflicts) when the volumes are mounted, just like the volume serial:

enter image description here

However, apparently this file is safe to be deleted, and once the volume is mounted again, a new one will be generated; the problem will be gone once ALL the volumes that owned a duplicated GUID are remounted with unique GUIDs (so a reboot may be necessary if it involves the current system volume):

enter image description here

enter image description here

Unfortunately, I am not sure if there's a convenient/safe way to delete it under Windows:

enter image description here


Just registered to say thanks for this, has been causing me problems for 18 months since I cloned a windows system drive onto an nvme using xxclone and kept the old drive around (without formatting) for data and backup purposes.

I was able to delete the GUID file from the old drive just by running cmd as Administrator, and I rebooted (may not have been necessary) - had to do a little clean up on the indexing folder options but once I'd completed that, the indexer started working again. Awesome.