# Write error to USB (Windows 7)

**URL:** <https://forums.balena.io/t/write-error-to-usb-windows-7/176343>\
**Category:** balenaEtcher\
**Created:** [August 21, 2020, 8:29pm UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343 "2020-08-21T20:29:55Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chan1](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@Chan1](https://forums.balena.io/u/Chan1)\
**Post date:** [August 21, 2020, 8:29pm UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343/1 "2020-08-21T20:29:55Z")

</div>

Problem writing to USB  
windows 7  
linuxmint-20-cinnamon-64bit.iso  
balenaEtcher 1.5.104  
Started flashing, but an error appears (refer

 ![image](https://global.discourse-cdn.com/balena/original/2X/7/703fab02c9ba64f5dba85ec704fd37c5534bc744.png) attached)  
Please advice how to fix this?

---

<div class="post-metadata">

**Author:** ![pipex](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/pipex/32/4840_2.png) [@pipex](https://forums.balena.io/u/pipex)\
**Post date:** [August 21, 2020, 9:17pm UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343/7 "2020-08-21T21:17:41Z")

</div>

Hi there, could you open the developer tools using Ctrl+Shift+I or in the View Menu \> Toggle developer tools and share the console output when you try to flash?

Also, can you share more info on how/where did you install Etcher? The message makes me think it is installed in a temporary directory?

Thank you  
Felipe

---

<div class="post-metadata">

**Author:** ![Chan1](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@Chan1](https://forums.balena.io/u/Chan1)\
**Post date:** [August 22, 2020, 9:04am UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343/9 "2020-08-22T09:04:48Z")

</div>

Hi Felipe,

Please find the console output as below:

Version = 1.5.104, Type = nsis  
gui.js:56107 Sat Aug 22 2020 09:49:47 GMT+0100 (British Summer Time) Application start ({“packageType”:“nsis”,“version”:“1.5.104”,“sample”:0.1,“applicationSessionUuid”:“5b9d83bb-96f0-43f5-a00d-a33ba69a4832”,“flashingWorkflowUuid”:“42f171d1-807b-4af0-aba4-a649b329f7ce”})  
gui.js:48809 Sat Aug 22 2020 09:50:17 GMT+0100 (British Summer Time) Open image selector ({“sample”:0.1,“applicationSessionUuid”:“5b9d83bb-96f0-43f5-a00d-a33ba69a4832”,“flashingWorkflowUuid”:“42f171d1-807b-4af0-aba4-a649b329f7ce”})  
gui.js:48809 {“stack”:“Error: Command failed: C:\Windows\System32\Wbem\wmic path Win32\_LogicalDisk Where DriveType=“4” get DeviceID,ProviderName \> “C:\Users\Guest\AppData\Local\Temp\tmp-4260-UV9haYKWTvI7”\nERROR:\r\r\nDescription = Access is denied.\r\r\n\n at ChildProcess.exithandler (child\_process.js:304:12)\n at ChildProcess.emit (events.js:223:5)\n at maybeClose (internal/child\_process.js:1021:16)\n at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:283:5)”,“message”:“Command failed: C:\Windows\System32\Wbem\wmic path Win32\_LogicalDisk Where DriveType=“4” get DeviceID,ProviderName \> “C:\Users\Guest\AppData\Local\Temp\tmp-4260-UV9haYKWTvI7”\nERROR:\r\r\nDescription = Access is denied.\r\r\n”,“killed”:false,“code”:2147942405,“signal”:null,“cmd”:“tmp-4260-UV9haYKWTvI7"”,“stdout”:"",“stderr”:“ERROR:\r\r\nDescription = Access is denied.\r\r\n”}  
console. @ gui.js:48809  
gui.js:48809 Sat Aug 22 2020 09:50:24 GMT+0100 (British Summer Time) Select image ({“image”:{“size”:1984790528,“name”:“linuxmint-20-cinnamon-64bit.iso”,“hasMBR”:true,“partitions”:[{“offset”:331776,“size”:4063232,“type”:239,“index”:1}],“path”:“C:\ISO\linuxmint-20-cinnamon-64bit.iso”,“extension”:“iso”,“logo”:false,“blockMap”:false},“sample”:0.1,“applicationSessionUuid”:“5b9d83bb-96f0-43f5-a00d-a33ba69a4832”,“flashingWorkflowUuid”:“42f171d1-807b-4af0-aba4-a649b329f7ce”})  
gui.js:48809 Sat Aug 22 2020 09:50:32 GMT+0100 (British Summer Time) Toggle drive ({“drive”:{“size”:8032092160,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:"\\.\PhysicalDrive1",“error”:null,“isReadOnly”:false,“displayName”:“H:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"\\.\PhysicalDrive1",“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“H:\”}],“description”:“JetFlash Transcend 8GB USB Device”,“isUAS”:false},“previouslySelected”:false,“sample”:0.1,“applicationSessionUuid”:“5b9d83bb-96f0-43f5-a00d-a33ba69a4832”,“flashingWorkflowUuid”:“42f171d1-807b-4af0-aba4-a649b329f7ce”})  
gui.js:48809 Sat Aug 22 2020 09:50:38 GMT+0100 (British Summer Time) Flash ({“image”:“C:\ISO\linuxmint-20-cinnamon-64bit.iso”,“drives”:[{“size”:8032092160,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:"\\.\PhysicalDrive1",“error”:null,“isReadOnly”:false,“displayName”:“H:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"\\.\PhysicalDrive1",“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“H:\”}],“description”:“JetFlash Transcend 8GB USB Device”,“isUAS”:false}],“driveCount”:1,“uuid”:“cf00c79e-8d3b-43dc-af26-d17405e4c64e”,“status”:“started”,“flashInstanceUuid”:“cf00c79e-8d3b-43dc-af26-d17405e4c64e”,“unmountOnSuccess”:true,“validateWriteOnSuccess”:true,“sample”:0.1,“applicationSessionUuid”:“5b9d83bb-96f0-43f5-a00d-a33ba69a4832”,“flashingWorkflowUuid”:“42f171d1-807b-4af0-aba4-a649b329f7ce”})  
gui.js:48809 Elevating command: C:\Users\Guest\AppData\Local\Programs\balena-etcher\balenaEtcher.exe C:\Users\Guest\AppData\Local\Programs\balena-etcher\resources\app\generated\child-writer.js  
gui.js:5626 0 devices, 0% at 0.00 MB/s (total 0.00 MB/s) with 0 failed devices  
gui.js:48809 Sat Aug 22 2020 09:50:39 GMT+0100 (British Summer Time) SafeWebview loaded ({“event”:{“id”:1,“url”:“[https://assets.balena.io/etcher-featured/index.html?borderRight=false&darkBackground=true&etcher-version=1.5.104&api-version=2&optOutAnalytics=false",“method”:“GET”,“timestamp”:1598086239317.6821,“resourceType”:“mainFrame”,“ip”:“104.31.82.157”,“fromCache”:false,“statusLine”:"HTTP/1.1](https://assets.balena.io/etcher-featured/index.html?borderRight=false&darkBackground=true&etcher-version=1.5.104&api-version=2&optOutAnalytics=false%22,%22method%22:%22GET%22,%22timestamp%22:1598086239317.6821,%22resourceType%22:%22mainFrame%22,%22ip%22:%22104.31.82.157%22,%22fromCache%22:false,%22statusLine%22:%22HTTP/1.1) 200”,“statusCode”:200,“responseHeaders”:{“access-control-allow-origin”:["\*"],“age”:[“127”],“cache-control”:[“max-age=600”],“cf-cache-status”:[“DYNAMIC”],“cf-ray”:[“5c6b591b9ffbce8f-LHR”],“cf-request-id”:[“04b6f605420000ce8f0e992200000001”],“content-encoding”:[“br”],“content-type”:[“text/html; charset=utf-8”],“date”:[“Sat, 22 Aug 2020 08:50:45 GMT”],“expect-ct”:[“max-age=604800, report-uri=“[https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct](https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct)””],“expires”:[“Fri, 21 Aug 2020 13:21:24 GMT”],“last-modified”:[“Tue, 18 Aug 2020 09:51:57 GMT”],“server”:[“cloudflare”],“status”:[“200”],“vary”:[“Accept-Encoding”],“via”:[“1.1 varnish”],“x-cache”:[“HIT”],“x-cache-hits”:[“1”],“x-fastly-request-id”:[“ab2ab1ef34adfecc10a19710649149811e224a90”],“x-github-request-id”:[“EFAA:7E0C:25A0C6:2EF0A8:5F3FC7FC”],“x-proxy-cache”:[“MISS”],“x-served-by”:[“cache-lcy19250-LCY”],“x-timer”:[“S1598086246.713491,VS0,VE1”]},“referrer”:"",“error”:“net::OK”},“sample”:0.1,“applicationSessionUuid”:“5b9d83bb-96f0-43f5-a00d-a33ba69a4832”,“flashingWorkflowUuid”:“42f171d1-807b-4af0-aba4-a649b329f7ce”})  
gui.js:48809 Successfully connected to IPC server: etcher-server-4260, socket root C:\Users\Guest\AppData\Local\Temp  
gui.js:48809 Image: C:\ISO\linuxmint-20-cinnamon-64bit.iso  
gui.js:48809 Devices: \.\PhysicalDrive1  
gui.js:48809 Umount on success: true  
gui.js:48809 Validate on success: true  
gui.js:48809 Auto blockmapping: true  
gui.js:48809 Decompress first: true  
gui.js:48809 Terminating IPC server  
gui.js:48809 Flash results Object  
gui.js:48809 Sat Aug 22 2020 09:51:07 GMT+0100 (British Summer Time) Write failed ({“image”:“C:\ISO\linuxmint-20-cinnamon-64bit.iso”,“drives”:[{“size”:8032092160,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:"\\.\PhysicalDrive1",“error”:null,“isReadOnly”:false,“displayName”:“H:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"\\.\PhysicalDrive1",“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“H:\”}],“description”:“JetFlash Transcend 8GB USB Device”,“isUAS”:false}],“driveCount”:1,“uuid”:“cf00c79e-8d3b-43dc-af26-d17405e4c64e”,“status”:“failed”,“flashInstanceUuid”:“cf00c79e-8d3b-43dc-af26-d17405e4c64e”,“unmountOnSuccess”:true,“validateWriteOnSuccess”:true,“error”:{“code”:-1073741819},“sample”:0.1,“applicationSessionUuid”:“5b9d83bb-96f0-43f5-a00d-a33ba69a4832”,“flashingWorkflowUuid”:“42f171d1-807b-4af0-aba4-a649b329f7ce”})  
gui.js:48809 {“stack”:“Error: Command failed: cmd /c “C:\Users\Guest\AppData\Local\Temp\balena-etcher-electron–4260-8eUVglTYpqbS-.cmd”\r\n\n at file:///C:/Users/Guest/AppData/Local/Programs/balena-etcher/resources/app/generated/gui.js:28995:33\n at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read\_file\_context.js:61:3)”,“message”:“Command failed: cmd /c “C:\Users\Guest\AppData\Local\Temp\balena-etcher-electron–4260-8eUVglTYpqbS-.cmd”\r\n”,“code”:-1073741819,“image”:“linuxmint-20-cinnamon-64bit.iso”}  
console. @ gui.js:48809

I have downloaded from website “[https://www.balena.io/etcher/](https://www.balena.io/etcher/)”. The .exe file is executed from the download section and sits in “C:\Users\Guest\AppData\Local\balena-etcher-updater”. Please let me know if you need any further information.

My intend is to get the linuxmint.iso into flashdrive and boot my machine in Linux from USB.

Regards, Chandra

---

<div class="post-metadata">

**Author:** ![JSReds](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/jsreds/32/2929_2.png) [@JSReds](https://forums.balena.io/u/JSReds)\
**Post date:** [August 24, 2020, 8:55am UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343/11 "2020-08-24T08:55:14Z")

</div>

Hi @Chan1,  
it seems to be a permissions problem as you can see from the `Access is denied` that appears in the error. Etcher to write requires administrator permissions in order to perform the operation. Since you are running the program from the Guest folder, it makes me think that it runs without these permissions. If you haven’t already tried it, could you please try to open Etcher by right-clicking on the icon and clicking on `run as administrator` ?

---

<div class="post-metadata">

**Author:** ![Chan1](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@Chan1](https://forums.balena.io/u/Chan1)\
**Post date:** [August 24, 2020, 9:47am UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343/13 "2020-08-24T09:47:21Z")

</div>

Hi,  
Thanks for your reply. I did tried to run both “as administrater” and also in administrater account. The error message in both cases are same and as attached. Please advice.  
[-1598262258909.log](https://forums.balena.io/uploads/short-url/ad2kfT6moDU2tsDNQ0zBAxEooKy.log) (7.1 KB)

regards, Chandra

---

<div class="post-metadata">

**Author:** ![dfunckt](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dfunckt/32/56_2.png) [@dfunckt](https://forums.balena.io/u/dfunckt)\
**Post date:** [August 24, 2020, 11:51am UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343/17 "2020-08-24T11:51:39Z")

</div>

This is again a permissions issue. You’ll need to login to your regular account (not the guest account), download Etcher again, and retry.

---

<div class="post-metadata">

**Author:** ![thundron](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/thundron/32/1379_2.png) [@thundron](https://forums.balena.io/u/thundron)\
**Post date:** [August 24, 2020, 2:54pm UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343/21 "2020-08-24T14:54:40Z")

</div>

Hi, sorry for the confusion but we didn’t notice that you tried with an admin account too 🙂  
To further debug, can you try with the latest v1.5.104 version? I think the error code seen in the last log you pasted could be related to memory consumption, but we’re not sure.  
Could you also tell us the hardware specs of your PC? Mainly the amount of RAM, but having the full specs could help finding a possible common cause, since this isn’t the first time we see this error code.

---

<div class="post-metadata">

**Author:** ![Chan1](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@Chan1](https://forums.balena.io/u/Chan1)\
**Post date:** [August 24, 2020, 5:05pm UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343/23 "2020-08-24T17:05:29Z")

</div>

Hi, I tried the v1.5.104 version as administrator and tried to flash Still I cannot able to flash to USB. Log attached.[-1598287344323.log](https://forums.balena.io/uploads/short-url/hpMzwkJCd2zVi9HgtXrWg7OCLvp.log) (6.4 KB)  
[-1598287529398(1).log](https://forums.balena.io/uploads/short-url/7dT4D5wDM1MBIF71LxXHIshdkVX.log) (12.5 KB)

---

<div class="post-metadata">

**Author:** ![Chan1](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@Chan1](https://forums.balena.io/u/Chan1)\
**Post date:** [August 24, 2020, 5:08pm UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343/24 "2020-08-24T17:08:44Z")

</div>

The configuration is as attached.

 ![configuration](https://global.discourse-cdn.com/balena/original/2X/4/4d5c64992ecbbc577ac3357cc87bedb831d82a82.png)

---

<div class="post-metadata">

**Author:** ![Tombar](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@Tombar](https://forums.balena.io/u/Tombar)\
**Post date:** [August 25, 2020, 1:39am UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343/27 "2020-08-25T01:39:43Z")

</div>

For what it’s worth I have almost the identical problem. When I try to write a USB memory stick it gives me an error with just the first paragraph that you have, not the second PP.  
And I’m guessing it’s something in my computer because it now does the same thing with Universal-USB-Installer-1.9.9.3. The USB is almost new and I installed a Linux ISO on it last month. The computer is a bit different. It’s a 6th gen I5 with 16GB RAM and Win10.  
But the fact that 2 USB writing programs fail this month with an error leads me to think MS Update or…??? I’ll watch this post to see if you find any good news. Glad you guys are here. 🙂

---

<div class="post-metadata">

**Author:** ![zvin](https://avatars.discourse-cdn.com/v4/letter/z/a5b964/32.png) [@zvin](https://forums.balena.io/u/zvin)\
**Post date:** [August 25, 2020, 1:55pm UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343/29 "2020-08-25T13:55:11Z")

</div>

Hello @Chan1  
I can see this error code in your logs: `1073741819`.  
I’ve googled for it and found this: [https://appuals.com/file-system-error-1073741819-on-windows-10/](https://appuals.com/file-system-error-1073741819-on-windows-10/)  
Can you please try the solution suggested there ?

@Tombar, can you please provide the logs you get ?

---

<div class="post-metadata">

**Author:** ![Tombar](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@Tombar](https://forums.balena.io/u/Tombar)\
**Post date:** [August 25, 2020, 10:52pm UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343/32 "2020-08-25T22:52:53Z")

</div>

I found my problem although I’m not sure it will relate to Chan1 with Win7.  
I had this setting applied: Setting: Windows Security: Virus and Threat Protection: Ransomware Protection. Today I set it to OFF and was able to flash a USB memory stick without problem. When I was finished I changed the setting to ON.

I hope this is a help to Chan1.  
Regards

---

<div class="post-metadata">

**Author:** ![Chan1](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@Chan1](https://forums.balena.io/u/Chan1)\
**Post date:** [August 26, 2020, 8:45am UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343/33 "2020-08-26T08:45:38Z")

</div>

Tried as @Tombar suggested (switching off all the Windows Security, Antivirus software) but not able to flash to USB memory stick. error[-1598424166409(2).log](https://forums.balena.io/uploads/short-url/44bpPnEuoSOQVEFBbcqQN5eIAzl.log) (6.4 KB) log as attached.

---

<div class="post-metadata">

**Author:** ![thundron](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/thundron/32/1379_2.png) [@thundron](https://forums.balena.io/u/thundron)\
**Post date:** [August 26, 2020, 1:18pm UTC](https://forums.balena.io/t/write-error-to-usb-windows-7/176343/35 "2020-08-26T13:18:24Z")

</div>

@chan1 could you try opening a cmd shell as administrator and run `sfc /scannow` ? It’s a command to scan for corrupted data.  
After that, I’d suggest also temporarily disabling Windows DEP (Data Execution Prevention) that _could_ prevent some applications to access the memory. Here’s a guide on how to do so: [https://kb.omni-ts.com/entry/55/](https://kb.omni-ts.com/entry/55/)
