etcher: Command failed: C:\Users\\AppData\Local\Temp\XXXX.tmp.bat (code 1)

  • Etcher version: Beta18
  • **Operating system and architecture: Windows 10 **

when starting Etcher, i get the following, and Etcher doesn’t start

 [Window Title] Error

[Main Instruction]
Command failed: C:\Users\timjs\AppData\Local\Temp\B39C.tmp.bat


[Content]
Error: Command failed: C:\Users\timjs\AppData\Local\Temp\B39C.tmp.bat

    at ChildProcess.exithandler (child_process.js:218:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
[OK]

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 62 (34 by maintainers)

Commits related to this issue

Most upvoted comments

I only use Windows defender, no other anti virus installed, if that is any help

Tim

Thanks for the info @timjstone. I managed to setup my Windows 10 x64 machine into the fast insider level, but I still can’t reproduce the issue 😦

The way that error level works is absurd. Almost no command resets the error level, but some internal ones do. Even worse, if you do set ERRORLEVEL 0, then that creates a new environment variable that shadows the real one, causing an even bigger mess.