# error in logging into cli via cmd

**URL:** <https://forums.balena.io/t/error-in-logging-into-cli-via-cmd/85741>\
**Category:** Product support\
**Created:** [March 25, 2020, 8:13pm UTC](https://forums.balena.io/t/error-in-logging-into-cli-via-cmd/85741 "2020-03-25T20:13:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![skywizard](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@skywizard](https://forums.balena.io/u/skywizard)\
**Post date:** [March 25, 2020, 8:13pm UTC](https://forums.balena.io/t/error-in-logging-into-cli-via-cmd/85741/1 "2020-03-25T20:13:27Z")

</div>

Hi I have had a hard time using the balenaCloud and am uncertain as this is the second 6th attempt to figure it out. I appreciate any advice one might be able to give regarding this.  
below is what I have been given as feedback from my system, please let me know if you guys have any suggestions. Best regards!

C:\Users\scott\>balena login && balena push HAL1 --source path/to/my-project  
\_ \_  
| |\_\_ \_\_ \_ | | \_\_\_\_ \_ \_\_ \_\_ \_  
| '\_ \ / _` || | / __ \| '_ \ / _` |  
| |_) | (_) || || /| | | || () |  
|.\_/ \ __,_||_| \__ /|| || \__,\_|

Logging in to [balena-cloud.com](http://balena-cloud.com)  
? How would you like to login? Web authorization (recommended)  
Connecting to the web dashboard  
Error: spawn cmd ENOENT  
at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:190:19)  
at onErrorNT (internal/child\_process.js:362:16)  
at \_combinedTickCallback (internal/process/next\_tick.js:139:11)  
at process.\_tickDomainCallback (internal/process/next\_tick.js:219:9)

---

<div class="post-metadata">

**Author:** ![samothx](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@samothx](https://forums.balena.io/u/samothx)\
**Post date:** [March 25, 2020, 8:42pm UTC](https://forums.balena.io/t/error-in-logging-into-cli-via-cmd/85741/2 "2020-03-25T20:42:18Z")

</div>

HI Scott  
It looks to me like balena cli fails to start a browser which it wants to use to authenticate you.  
Is the default browser available on your system ? Otherwise you could use a different method to authenticate:  
calling `balena login --help` will give you some hints…
