Mole icon indicating copy to clipboard operation
Mole copied to clipboard

[BUG] Mo optimize Windows Search Index Reset

Open Shepard33 opened this issue 8 months ago • 1 comments

Describe the bug

➤ Windows Search Index Reset Stopping Windows Search service... ☻ Could not reset search index: L'arrêt du service « Windows Search (WSearch) » a échoué.

A clear and concise description of what the bug is. We suggest using English for better global understanding.

Steps to reproduce

  1. Run command: mo ...
  2. ...
  3. See error

Expected behavior

A clear and concise description of what you expected to happen.

Debug logs

Please run the command with --debug flag and paste the output here:

mo <command> --debug
# Example: mo clean --debug
Debug output
Paste the debug output here

Environment

Please run mo update to ensure you are on the latest version, then paste the output of mo --version below:

Paste mo --version output here

Additional context

Add any other context about the problem here, such as screenshots or related issues.

Shepard33 avatar Mar 07 '26 23:03 Shepard33

@Shepard33 This is fixed on the windows branch.

The reset flow was assuming Windows Search would stop immediately, but on some Windows 11 systems it stays pending for a bit longer.

Please refresh and run mo optimize again. If it still fails, send mo optimize --debug and I will follow up.

tw93 avatar Mar 08 '26 07:03 tw93