Skip to content

The following WinRM command responded with a non-zero exit status #52

Closed
@shaun-rutherford

Description

Hey Guys,

I'm unsure why when testing choco packages that exit in a 3010 I get the following error:

The following WinRM command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

powershell -ExecutionPolicy Bypass -OutputFormat Text -file "c:\tmp\vagrant-shell.ps1"

Stdout from the command:

Error message:
https://gist.github.com/shaun-rutherford/083400876d203e59a48f45e08f162efe

Vagrantfile:
https://gist.github.com/shaun-rutherford/a5c6c3e70a383d79f644f707e2c7b6da

The package passes if I install it once, reload the box and install it again. This is not really Ideal though as the install process takes ~15 mins each time.

I've tried doing a reload in advance but that doesn't work either.

Any assistance would really be appreciated.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions