How to Fix Windows Permission Denied Error Code 5 - Microsoft Store 502 Bad Gateway Troubleshooting Guide-How to Fix Access Denied in Windows Security

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