-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Get-WindowsUpdate : Value does not fall within the expected range. #14
Comments
There's a conflict between -Install and -Download - one or the other can be used at a time. |
Nothing seems to be working
PS C:\WINDOWS\system32> Get-WindowsUpdate -MicrosoftUpdate -Verbose -AcceptAll
PS C:\WINDOWS\system32> Get-WindowsUpdate -MicrosoftUpdate
PS C:\WINDOWS\system32> Get-WindowsUpdate
PS C:\WINDOWS\system32> |
Took some additional poking but it sorta looks like it is choking when it trys to process a driver update. Specifying an update ID gets it through the entire list of the updates, then keeps it from processing the driver updates. Telling it to process driver updates produces a fail. Limiting it to software updates, succeeds to starting the download of the latest insider preview. PS C:\WINDOWS\system32> Get-WindowsUpdate -Debug
PS C:\WINDOWS\system32> Get-WindowsUpdate -Debug -MicrosoftUpdate -Install -KBArticleID KB4052623 X ComputerName Result KB Size Title 1 CYGNUSX1 Accepted KB4052623 12MB Update for Microsoft Defender Antivirus antimalware platform - KB4052623 (Version 4.18.24010.12) - Curre...
PS C:\WINDOWS\system32> Get-WindowsUpdate -MicrosoftUpdate -Install -KBArticleID KB2267602 X ComputerName Result KB Size Title 1 CYGNUSX1 Accepted KB2267602 1GB Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.405.434.0) - Curren... PS C:\WINDOWS\system32> Get-WindowsUpdate -MicrosoftUpdate -Install -Title "Realtek - Net - 1153.13.420.2023"
PS C:\WINDOWS\system32> Get-WindowsUpdate -MicrosoftUpdate -Install -Title "Intel - net - 23.30.0.6"
PS C:\WINDOWS\system32> Get-WindowsUpdate -MicrosoftUpdate -Install -Title "Windows 11 Insider Preview 26063.1 (ge_release)" PS C:\WINDOWS\system32> Get-WindowsUpdate -MicrosoftUpdate -Install -AcceptAll
PS C:\WINDOWS\system32> Get-WindowsUpdate -MicrosoftUpdate -Install -UpdateType Driver
PS C:\WINDOWS\system32> Get-WindowsUpdate -MicrosoftUpdate -Install -UpdateType Software X ComputerName Result KB Size Title 1 CYGNUSX1 Accepted 95GB Windows 11 Insider Preview 26063.1 (ge_release) |
Same problem |
Does limiting it to just software updates resolve? |
I can't run any commands |
I ran |
PS C:\Program Files\Windows Defender> Get-WindowsUpdate -MicrosoftUpdate -Verbose -Download -AcceptAll -Install -Debug
DEBUG: 2/21/2024 2:25:33 PM CmdletStart: Get-WindowsUpdate
DEBUG: 2/21/2024 2:25:39 PM ParameterSetName: MicrosoftUpdate
DEBUG: 2/21/2024 2:25:39 PM Set pre search criteria: IsInstalled = 0
DEBUG: 2/21/2024 2:25:39 PM Set pre search criteria: IsHidden = 0
DEBUG: 2/21/2024 2:25:39 PM Search criteria is: IsInstalled = 0 and IsHidden = 0
DEBUG: 2/21/2024 2:25:39 PM CYGNUSX1: Connecting...
DEBUG: 2/21/2024 2:25:40 PM Module version: 2.2.1.4
DEBUG: 2/21/2024 2:25:40 PM Dll version: 2.2.1.4
DEBUG: 2/21/2024 2:25:40 PM UpdateSessionObj mode: Local
DEBUG: 2/21/2024 2:25:40 PM ServiceManagerObj mode: Local
DEBUG: 2/21/2024 2:25:40 PM Set source of updates to Microsof Update
DEBUG: 2/21/2024 2:25:40 PM Search for ServiceID. Set source of updates to Microsoft Update
VERBOSE: CYGNUSX1 (2/21/2024 2:25:40 PM): Connecting to Microsoft Update server. Please wait...
VERBOSE: Found [5] Updates in pre search criteria
DEBUG: 2/21/2024 2:25:51 PM Update for Microsoft Defender Antivirus antimalware platform - KB4052623 (Version 4.18.24010.12) - Current Channel (Staged)
DEBUG: 2/21/2024 2:25:51 PM Update was not filtered
DEBUG: 2/21/2024 2:25:51 PM Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.405.391.0) - Current Channel (Broad)
DEBUG: 2/21/2024 2:25:51 PM Update was not filtered
DEBUG: 2/21/2024 2:25:51 PM Realtek - Net - 1153.13.420.2023
DEBUG: 2/21/2024 2:25:51 PM Update was not filtered
Get-WindowsUpdate : Value does not fall within the expected range.
At line:1 char:1
PS C:\Program Files\Windows Defender>
The text was updated successfully, but these errors were encountered: