Fix PowerShell Authentication Token Expired in Automation Scripts - Windows Security Invalid Configuration Fix-Find and Fix Store Errors with Log Files

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