15 September 2018 By karan
While similar, Windows Search is independent of Cortana. A known bug with Windows Search is:
Failed to enumerate user sessions to generate filter groups.
This error is more common in recently installed versions of Windows 10. Basically on systems where Windows Search has not started yet. While in some situations it only stops searching for Windows, in others it abruptly restarts the system, making it a problem.
The causes could be a problem with the registry, Windows Search was not initialized correctly, and the SYSTEM account was not added to DCOM security.
Try the following solutions one by one to fix the problem:
Solution 1] Change the startup type for the Windows Search Service
As mentioned above, Windows Search may not initialize or stop every time the system is restarted. Such a case indicates the wrong start type.
1] Press Win + R to open the Run window and type the command services.msc. Press Enter to open the file Supervisor.
2] Find the file Windows Search service in the list which is sorted alphabetically.
3] The right mouse button in the service and select Property.
4] Change the file Start type to Automatic and click Home.
5] Click To apply and so ok to save the settings and start again the system.
Solution 2] Change the Windows search registry entry
1] Press Win + R to open the Run window and type the command regedit. Press Enter to open the file Registry Editor.
2] Go to the following path:
Cerca HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows
3] In the right pane, right-click the item SetupCompletedSuccessfully. Please select Modify.
4] Change the value of Valuable data da 1 to 0 and click ok to save the settings.
Finally reboot the system
Solution 3] Add SYSTEM to DCOM Security
1] Press Win + R to open the Run window and type the command dcomcnfg. Press Enter to open the file Component Services window.
2] In the right pane, double click computer. Now, right click on My Computer and then click on Property.
3]In CPM safety tab, select Change limits to open the Access Permissions window.
4] Click INSERT and then in Advanced in the next window.
5] Click Find now and it will display a list of search results.
6] Select SYSTEM from the list and it will be added to the safety limits list.
7] Make sure all permissions for SYSTEMsuch as Local Access, Remote Access, and so on are set to Allow.
8] Click OK to save the settings and reboot the system.
Check if it solves the problem.