How to Fix Corrupted Command Prompt Settings - Task Scheduler Port Error Troubleshooting-7-Zip Cannot Open File as Archive: Troubleshooting Guide

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