zhizhu
Home / developer-tools / Fix 'Running Scripts Is Disabled' Error in PowerShell - How to Stop Antivirus Causing Outlook 502 Error-Windows Security Access Denied 0x80070005 Troubleshooting

Fix 'Running Scripts Is Disabled' Error in PowerShell - How to Stop Antivirus Causing Outlook 502 Error-Windows Security Access Denied 0x80070005 Troubleshooting

2026-06-14 11:28:22developer-tools
Fix 'Running Scripts Is Disabled' Error in PowerShell - How to Stop Antivirus Causing Outlook 502 Error-Windows Security Access Denied 0x80070005 Troubleshooting

Final checklist

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