'<command>' is not recognized as an internal or external command

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptom

When running a build on a remote agent started by a local user the following error is shown in the build log:

'<command>' is not recognized as an internal or external command

Explanation:

This could be due to the local user PATH being set in Environment Variables. Even if the local account has admin permissions which grants access to the system PATH, Bamboo will not see it unless the user PATH is removed.

Resolution

Remove the user %PATH% defined in Environment Variables

  1. Right-click Computer/This PC > Properties
  2. Click *Advanced System Settings*
  3.  Click *Environment Variables*
  4. In User Variables:
    1. select PATH variable
    2.  click, Delete
  5. Restart remote agent service

 

Last modified on May 20, 2015

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.