Etcher: Drives locked by Bitlocker causes "Couldn't scan the drives: An unknown error occurred" error message

Created on 11 Aug 2017  路  7Comments  路  Source: balena-io/etcher

  • Etcher version:
    1.1.2 (64bit and 32bit)
  • Operating system and architecture:
    Windows 10 Pro 64bit

  • Image flashed:
    Any

  • Do you see any meaningful error information in the DevTools?
    Not sure

Under resolved issue 1639 I also had the error message "Couldn't scan the drives: An unknown error occurred". I had locked drives using bitlocker but once unlocked the program works as expected. I was asked to make a new issue from the closed issue 1639.

Original message:

I just joined github to leave this comment, I was also receiving the error "Couldn't scan the drives: An unknown error occurred". I have 2 drives that I lock with bitlocker. Once I unlocked them I was then able to scan my drive like it should. Once I locked my drives again I ended up getting the error again and can repeat it.

I am running the 64bit version on windows.

windows bug

All 7 comments

Thanks for the bug report @mgalde. I reproduced the issue and sent a patch to drivelist, which should get to Etcher very soon: https://github.com/resin-io-modules/drivelist/pull/206

@jviotti So presumably this error message only relates to specific drives?
Rather than have Etcher display an error "Couldn't scan the drives: An unknown error occurred" and not proceed any further, would it be better UX to display a warning like "Couldn't scan all your drives: An unknown error occurred" and then allow Etcher to work normally, just listing the drives that it _could_ scan? (or is that potentially too dangerous, as it may allow the selection (and over-writing) of drives that we wouldn't otherwise allow?)

Sounds great, but it'd require some non-trivial amount of refactoring on the drivelist module (e.g. to emit errors but still emit the drives that worked fine). Do you mind creating a new ticket so we can come back to it later?

@lurch Thank you, I tried it on the computer I had issues with and am able to run the program with no issue.

@mubed Can you please copy'n'paste the DevTools console output? (press Ctrl + Alt + i)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Deej0406 picture Deej0406  路  4Comments

TheEpicNoobZilla picture TheEpicNoobZilla  路  4Comments

mwiegant picture mwiegant  路  5Comments

lurch picture lurch  路  3Comments

m-p-3 picture m-p-3  路  5Comments