"User did not grant permission" error

I’ve been trying to flash a new micro SD card and I keep getting error seen below. I’ve tried upgrading to latest version for win10 1.7.9, I’ve tried running in admin mode, I’ve tried the portable version and I’ve tried the starting Balena via cmd (I’ve read a few forums posts). I haven’t been able to find any issues with my antivirus, but I don’t see how that could be the cause (happend to one person in another thread). Incredibly frustrating as the error is too generic.

What I’m trying to do is to flash MyCroft AI for my RPI 4.

Any help would be appreciated.

PS. I encountered this issue when I tried re-flashing another SD card over six months ago with no luck using an older version. I gave up on trying to solve it then.

Thu Sep 08 2022 23:27:37 GMT+0200 (Central European Summer Time) Open image selector ({"sample":0.1,"applicationSessionUuid":"4d3d3919-2be1-47c1-97a9-6fbc3f7ef16e","flashingWorkflowUuid":"f15268d8-d599-48ad-8409-25ab68469d61"})
gui.js:46 Thu Sep 08 2022 23:27:39 GMT+0200 (Central European Summer Time) Select image ({"image":{"size":5867852288,"name":"Picroft_v20.08_2020-09-07.img","hasMBR":true,"partitions":[{"offset":4194304,"size":268435456,"type":12,"index":1},{"offset":272629760,"size":5595222528,"type":131,"index":2}],"extension":"img","path":"K:\\_Take away\\Software\\Raspberry pi\\Picroft_v20.08_2020-09-07.img\\Picroft_v20.08_2020-09-07.img","logo":false,"blockMap":false},"sample":0.1,"applicationSessionUuid":"4d3d3919-2be1-47c1-97a9-6fbc3f7ef16e","flashingWorkflowUuid":"f15268d8-d599-48ad-8409-25ab68469d61"})
gui.js:46 Thu Sep 08 2022 23:27:43 GMT+0200 (Central European Summer Time) Flash ({"image":{"size":5867852288,"name":"Picroft_v20.08_2020-09-07.img","hasMBR":true,"partitions":[{"offset":4194304,"size":268435456,"type":12,"index":1},{"offset":272629760,"size":5595222528,"type":131,"index":2}],"extension":"img","path":"K:\\_Take away\\Software\\Raspberry pi\\Picroft_v20.08_2020-09-07.img\\Picroft_v20.08_2020-09-07.img"},"drives":[{"size":63864569856,"isVirtual":false,"enumerator":"USBSTOR","logicalBlockSize":512,"raw":"\\\\.\\PhysicalDrive9","error":null,"isReadOnly":false,"displayName":"L:\\","blockSize":512,"isSCSI":false,"isRemovable":true,"device":"\\\\.\\PhysicalDrive9","busVersion":"2.0","isSystem":false,"busType":"USB","isCard":false,"isUSB":true,"devicePath":null,"mountpoints":[{"path":"L:\\"}],"description":"Generic STORAGE DEVICE USB Device","isUAS":false,"partitionTableType":"mbr"}],"driveCount":1,"uuid":"12fcbb6c-7a91-4136-9dcc-aae813186f95","status":"started","flashInstanceUuid":"12fcbb6c-7a91-4136-9dcc-aae813186f95","sample":0.1,"applicationSessionUuid":"4d3d3919-2be1-47c1-97a9-6fbc3f7ef16e","flashingWorkflowUuid":"f15268d8-d599-48ad-8409-25ab68469d61"})
gui.js:46 Elevating command: C:\Users\Jakob\AppData\Local\Programs\balena-etcher\balenaEtcher.exe C:\Users\Jakob\AppData\Local\Programs\balena-etcher\resources\app\generated\child-writer.js
gui.js:46 Terminating IPC server
gui.js:46 Flash results {}
gui.js:46 Thu Sep 08 2022 23:27:44 GMT+0200 (Central European Summer Time) Write failed ({"image":{"size":5867852288,"name":"Picroft_v20.08_2020-09-07.img","hasMBR":true,"partitions":[{"offset":4194304,"size":268435456,"type":12,"index":1},{"offset":272629760,"size":5595222528,"type":131,"index":2}],"extension":"img","path":"K:\\_Take away\\Software\\Raspberry pi\\Picroft_v20.08_2020-09-07.img\\Picroft_v20.08_2020-09-07.img"},"drives":[{"size":63864569856,"isVirtual":false,"enumerator":"USBSTOR","logicalBlockSize":512,"raw":"\\\\.\\PhysicalDrive9","error":null,"isReadOnly":false,"displayName":"L:\\","blockSize":512,"isSCSI":false,"isRemovable":true,"device":"\\\\.\\PhysicalDrive9","busVersion":"2.0","isSystem":false,"busType":"USB","isCard":false,"isUSB":true,"devicePath":null,"mountpoints":[{"path":"L:\\"}],"description":"Generic STORAGE DEVICE USB Device","isUAS":false,"partitionTableType":"mbr"}],"driveCount":1,"uuid":"12fcbb6c-7a91-4136-9dcc-aae813186f95","status":"failed","flashInstanceUuid":"12fcbb6c-7a91-4136-9dcc-aae813186f95","error":{},"sample":0.1,"applicationSessionUuid":"4d3d3919-2be1-47c1-97a9-6fbc3f7ef16e","flashingWorkflowUuid":"f15268d8-d599-48ad-8409-25ab68469d61"})
gui.js:46 {"stack":"Error: User did not grant permission.\n    at file:///C%3A/Users/Jakob/AppData/Local/Programs/balena-etcher/resources/app/generated/gui.js:46:702552\n    at ChildProcess.exithandler (child_process.js:324:5)\n    at ChildProcess.emit (events.js:315:20)\n    at maybeClose (internal/child_process.js:1048:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)","message":"User did not grant permission.","image":"Picroft_v20.08_2020-09-07.img"}

Hi,

did you get the prompt for your admin password, or it just fails before that?
Next to your antivirus do you have windows defender disabled?

Hello, just following up per my colleague’s previous message. Were you given a prompt for your admin password, or did it fail before any such prompt was given? Also you have any anti-virus programs running/enabled?