Fix Windows Search Module Not Found Error Code - Fix PowerShell Command Not Found (Works in CMD)-Resolving Command Prompt Dependency Conflicts and Permission Errors

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.