Fix 'Access to the path is denied' When Installing PowerShell Modules - Fix Microsoft Store Error 502 Bad Gateway After Update-Resolve Windows Update Reverting Changes Error

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