State install blocked by antivirus

Windows 10
Defender is on
McAfee antivirus

Edition Windows 10 Home
Version 20H2
Installed on ‎6/‎12/‎2021
OS build 19042.1055
Experience Windows Feature Experience Pack 120.2212.2020.0

Weird that the message does not state which antivirus is blocking the install.

At line:1 char:1

  • & $([scriptblock]::Create((New-Object Net.WebClient).DownloadString(’ …

This script contains malicious content and has been blocked by your antivirus software.
+ CategoryInfo : ParserError: (:slight_smile: , ParentContainsErrorRecordException
+ FullyQualifiedErrorId : ScriptContainedMaliciousContent

Hi @roger19 ,

Thanks for the note! It looks like this is Windows Defender (based on searching for similar error messages on the web).

If you temporarily disable Real-Time Protection by going to:

Start > Settings > Update & Security > Windows Security > Virus & threat protection > Manage settings

… you may be able to run the installer.

I’ll check with out dev team to see what else they might recommend.

Cheers!
–zak

It ended up being McAfee Antivirus - I temporarily turned off real time scanning and was able to complete the install.

1 Like

@roger19 - Thanks for letting us know!