TotalALM / VSTS-Tasks

35 stars 23 forks source link

Running Chocolatey Remote PowerShell Error #5

Closed kickinattech closed 7 years ago

kickinattech commented 8 years ago

Hello

Currently we are getting an error when using the task (on-premises agent).

Tried via vsts got an error to help with debugging I ran the PowerShell agent locally and still got the same issue. I also checked the firewall and this is disabled.

The error is:

: Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.

Logging From Script:

PS C:\agent\tasks\Chocolatey\1.0.6> C:\agent\tasks\Chocolatey\1.0.6\startChocolatey.ps1 cmdlet startChocolatey.ps1 at command pipeline position 1 Supply values for the following parameters: packages: psexec WinRM is already set up to receive requests on this computer. WinRM is already set up for remote management on this computer. [QA-*_-01] Connecting to remote server QA-__-01 failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.

From

Russell

KevinDMack commented 7 years ago

Question for you, are you still having this error. And does your firewall allow access to the Chocolatey service.

KevinDMack commented 7 years ago

Given no further response to quantify the issue. Closing this item.