Skip to content

Install-kbupdate error #234

Open
Open
@Josrdiaz

Description

@Josrdiaz

I am working with classrooms that are stand-alone airgapped. I connect to the computers via WINRM feeding credentials to the install-kbupdate parameter and I get the following error.

PS C:\Users\Administrator> install-kbupdate -ComputerName "192.168.1.1" -Credential (Get-Credential) -FilePatH 'C:\temp\Windows Updates\WU_Repository\ssu-19041.1161-x64_7c0b02b7c1c2419ca955f7a4a4ab3f316dce6e23.cab' -debug

cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
DEBUG: 189 | [11:49:25][Install-KbUpdate] Processing 192.168.1.1
DEBUG: 213 | [11:49:25][Install-KbUpdate] Installing using DSC
DEBUG: 218 | [11:49:25][Install-KbUpdate] Using jobs for update to 192.168.1.1
DEBUG: 35 | [11:49:25][Start-JobProcess] Processing jobs
[localhost] An error occurred while starting the background process. Error reported: The user name or password is
incorrect.
    + CategoryInfo          : OpenError: (localhost:String) [], PSRemotingTransportException
    + FullyQualifiedErrorId : -2147467259,PSSessionStateBroken
DEBUG: 124 | [11:49:25][Start-JobProcess] Finished installing updates on 192.168.1.1

The credentials are not incorrect, I have used the get-kbneededupdate and it works great. This one not so much. It seems it fails at establishing a pssession. I tried tracking down the source of the error but got lost somewhere between start-dscupdate, invoke-kbupdate and invoke-psfcommand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions