[BUG] Mo optimize Windows Search Index Reset
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
- Run command:
mo ... - ...
- 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 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.