Skip to content
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

Install-kbupdate error #234

Open
Josrdiaz opened this issue Aug 16, 2024 · 0 comments
Open

Install-kbupdate error #234

Josrdiaz opened this issue Aug 16, 2024 · 0 comments

Comments

@Josrdiaz
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant