Fix PowerShell Authentication Token Expired in Automation Scripts - Troubleshooting OneDrive Error 0x8004de40-How to Solve Access Denied in Windows Security Post-Update

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