New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Defender -ArgumentList failing #55

Closed
EUCweb opened this Issue Jul 16, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@EUCweb
Copy link
Owner

EUCweb commented Jul 16, 2018

Firstly, thank you for creating BIS-F. I'm an SCCM engineering who is moving into the Citrix PVS space, BIS-F integrated with our OSD task sequences really simplifies the whole processes.

I noticed that during the task sequence the step for updating virus definitions for Windows Defender sits idle and then fails after 60 maximum run time. Looking into the script further, the command line is Start-Process -FilePath "$ProductPath\MpCMDrun.exe" -ArgumentList "SignatureUpdate" -WindowStyle Hidden

The signatureupdate argument should be -SignatureUpdate (proceeding dash is missing). This causes Windows Defender to error 'Update failed with hr: 0x80070490".

Updating the PowerShell script to Start-Process -FilePath "$ProductPath\MpCMDrun.exe" -ArgumentList "-SignatureUpdate" -WindowStyle Hidden
resolves the issues.

@matthias-schlimm

This comment has been minimized.

Copy link
Collaborator

matthias-schlimm commented Oct 20, 2018

fixed in 20.10.2018 MS: Bugfix 55: Windows Defender -ArgumentList failing

https://github.com/EUCweb/BIS-F/blob/develop/Framework/SubCall/Preparation/10_PrepBISF_AV-WinDefend.ps1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment