Fix 'Microsoft Store command not found' in PowerShell - Troubleshooting Windows Defender 502 Bad Gateway-Permission Denied Windows Defender Solution

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.