Skip to content

Instantly share code, notes, and snippets.

@mayrund
Created July 12, 2021 14:11
Show Gist options
  • Save mayrund/30bcb1b7feaeb6d4c85cdb0a423088ce to your computer and use it in GitHub Desktop.
Save mayrund/30bcb1b7feaeb6d4c85cdb0a423088ce to your computer and use it in GitHub Desktop.
Golang windows - Access denied
If you're getting Access Denied or the following error:
Operation did not complete successfully because the file contains a virus or potentially unwanted software.
You need to disable Windows defender using (PS):
Set-MpPreference -DisableRealtimeMonitoring $true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment