Fix 'powershell not recognized as internal or external command' - Fix 'File Locked by Another User' in RDP-Resolve 'cmd service unavailable permission denied' on Windows 10/11

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