FEC00003

Error setting PATH on server

Symptoms or Error information

There was an error when adding the following path to the PATH environment variable:

  • c:\opscode\chef\bin
  • c:\opscode\chef\embedded\bin

Solution

Complete the following troubleshooting steps to resolve this issue:

  1. Resume deployment. If the error persists, complete the following steps.
  2. Connect to server IP through winRM:
    Enter-PsSession –Computername <ip_address> -Credential (Get-Credentials)
  3. Check the value of PATH:
    Write-host $env:path
  4. Add the opscode paths to PATH environment var if they do not show up exists:
    cmd /c setx /M PATH "%PATH%;c:\opscode\chef\bin;c:\opscode\chef\embedded\bin"