D365/AX7:The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: 7Zip failed to extract package Bin (LCS Package Deployment Failed)

Issue

Error coming at the time of LCS Package Deployment.Error code is….

The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: 7Zip failed to extract package Bin

Resolution

  1. Navigate to folder J:\DeployablePackages OR K:\DeployablePackages OR C:\DeployablePackages and right click on the folder “DeployablePackages”.Untick the checkbox “Read-only” and click on “Apply” button.
  2. Navigate to folder J:\AosService\PackagesLocalDirectory\SystemHealth OR K:\AosService\PackagesLocalDirectory\SystemHealth OR C:\AosService\PackagesLocalDirectory\SystemHealth and right click on the folder “SystemHealth”.Untick the checkbox “Read-only” and click on “Apply” button.

 

Leave a Reply