PSWindowsUpdate icon indicating copy to clipboard operation
PSWindowsUpdate copied to clipboard

Pswindowsupdate error

Open StarMusa88 opened this issue 1 year ago • 3 comments

Keep getting error message when trying to use "get-windowsupdate -acceptall -install "

StarMusa88 avatar Jul 02 '24 04:07 StarMusa88

Your problem will be impossible for anyone to help with if you do not share the error message you are getting.

callworthp avatar Jul 11 '24 15:07 callworthp

callworthp

get-windowsupdate -install -acceptall Get-WindowsUpdate: Something goes wrong: Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.415.40.0) - Current Channel (Broad); Object reference not set to an instance of an object. Get-WindowsUpdate: Something goes wrong: Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.415.40.0) - Current Channel (Broad); Object reference not set to an instance of an object.

X ComputerName Result KB Size Title


StarMusa88 avatar Jul 11 '24 15:07 StarMusa88

You are not alone with this error. There are other people seeing it and with a range of updates. See: https://github.com/mgajda83/PSWindowsUpdate/issues/21

callworthp avatar Jul 11 '24 16:07 callworthp

@StarMusa88 I'd recommend you update to the last version of PSWindowsUpdate. I installed v2.2.1.5 that just came out and every machine that previously had the "Object reference not set to an instance of an object" now works just fine.

callworthp avatar Jul 22 '24 20:07 callworthp

https://github.com/callworthp yes I will definitely try that thanks!

StarMusa88 avatar Jul 22 '24 20:07 StarMusa88