
Windows Defender 502 Bad Gateway: Troubleshooting Checklist
If you see a 502 Bad Gateway error when opening Windows Security or trying to update Windows Defe...
Software troubleshooting desk

If you see a 502 Bad Gateway error when opening Windows Security or trying to update Windows Defe...

You start Chrome from the command line and get an error that the port is already allocated. This ...

You open Task Manager and see Windows Security (or Antimalware Service Executable) using 500 MB o...

You click PowerShell and nothing happens — or the window opens but immediately freezes. This is a...

If you see a 'token expired' message when trying to run Windows Defender in Safe Mode, it usually...

If you see npm ERR! Error: EACCES: permission denied when running npm commands, it u...