Fix 'Connection Refused' Error When Command Prompt Not Working - How to Delete All PowerShell Traces on macOS-Group Policy Teams Auto-Start Troubleshooting

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