Quantcast
Channel: Trying to update windows defender from UNC path continuously fails - Server Fault
Viewing all articles
Browse latest Browse all 41

Answer by Jeff Riechers for Trying to update windows defender from UNC path continuously fails

$
0
0

Here is the powershell script I have running hourly on a server, then I just point my clients to it. The big point was NOT to extract the file. Windows Defender points to the exe itself.

$vdmpathbase = 'E:\VirusDef\latest\x64'$vdmpackage = $vdmpathbase +'\mpam-fe.exe'cmd /c "del $vdmpackage /q"Invoke-WebRequest -Uri 'https://go.microsoft.com/fwlink/?LinkID=121721&arch=x64' -OutFile $vdmpackage

Viewing all articles
Browse latest Browse all 41

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>