Fix OneDrive Sync Issues After Windows Update - Fix OneDrive Sync Error 0x8007017c on Mac-Resolve 'java' Not Recognized Error Windows

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