How to Fix a CMD 'Cannot Connect to Server' Error - Fix Windows Defender Access Denied Error Due to Malware-How to Run Microsoft Defender Offline Scan

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