# Writes Fail On WIn 10

**URL:** <https://forums.balena.io/t/writes-fail-on-win-10/64810>\
**Category:** balenaEtcher\
**Tags:** foo\
**Created:** [February 20, 2020, 12:29pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810 "2020-02-20T12:29:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phill](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/phill/32/3193_2.png) [@Phill](https://forums.balena.io/u/Phill)\
**Post date:** [February 20, 2020, 12:29pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/1 "2020-02-20T12:29:41Z")

</div>

I’m trying to write an img file to an sd card, but it fails every time. I’m using win 10 and Etcher 1.5.78.

Here’s the log info:  
Thu Feb 20 2020 13:25:21 GMT+0100 (Central European Standard Time) Input/output error ({“image”:“C:\Users\phill\Downloads\2020-02-13-raspbian-buster-full.img”,“drives”:[{“size”:31312576512,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:"\\.\PhysicalDrive3",“error”:null,“isReadOnly”:false,“displayName”:“F:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"\\.\PhysicalDrive3",“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“F:\”}],“description”:“Generic MassStorageClass USB Device”,“isUAS”:false}],“driveCount”:1,“uuid”:“a14a238d-9dd0-47fa-93e3-71d0c1ffaa4f”,“flashInstanceUuid”:“a14a238d-9dd0-47fa-93e3-71d0c1ffaa4f”,“unmountOnSuccess”:true,“validateWriteOnSuccess”:true,“trim”:false,“applicationSessionUuid”:“dcaadcc3-4a7e-47bd-a14b-9eb5fccabb3d”,“flashingWorkflowUuid”:“8c83334a-55f3-43cb-9d55-7ba6c526f278”,“sample”:0.1})  
C:\Users\phill\AppData\Local\Programs\balena-etcher\resources\app.asar\node\_modules\raven-js\dist\raven.js:58 Thu Feb 20 2020 13:25:21 GMT+0100 (Central European Standard Time) Flashing 0 devices, 34% at 0 MB/s (total 0 MB/s) eta in undefineds with 1 failed devices  
C:\Users\phill\AppData\Local\Programs\balena-etcher\resources\app.asar\node\_modules\raven-js\dist\raven.js:58 Finish: 2512388096

---

<div class="post-metadata">

**Author:** ![rahul-thakoor](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@rahul-thakoor](https://forums.balena.io/u/rahul-thakoor)\
**Post date:** [February 21, 2020, 10:50am UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/6 "2020-02-21T10:50:33Z")

</div>

hey @Phill,  
Welcome to the forums. Can you please provide some additional information regarding your workflow and setup, please?

1. what type of installation are you using - installer or standalone?
2. when does this happen, while writing or validating the disk?
3. Does a message pop up at any point during the process saying

```auto
Looks like Etcher is not able to write to this location of the drive.
This error is usually caused by a faulty drive, reader, or port.
Please try again with another drive, reader, or port.

```

Thanks

---

<div class="post-metadata">

**Author:** ![Phill](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/phill/32/3193_2.png) [@Phill](https://forums.balena.io/u/Phill)\
**Post date:** [February 21, 2020, 11:19am UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/8 "2020-02-21T11:19:33Z")

</div>

I’ve used both the installer and standalone. The error was previously occurring during validation however it has recently started failing during writing and it seems to be at approximately the 34% stage (this is where the provided logs are from).

On occasion it appears that Windows 10 is issuing a pop-up window that states the device needs formatting. My suspicion is that this is what’s causing the issue, but I can’t figure out how to stop it.

I’ve tried writing with both the built in sd slot and an external card reader, without any success.

---

<div class="post-metadata">

**Author:** ![rahul-thakoor](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@rahul-thakoor](https://forums.balena.io/u/rahul-thakoor)\
**Post date:** [February 21, 2020, 12:36pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/9 "2020-02-21T12:36:49Z")

</div>

Can you try with another card or usb device?

Also, the pop-up indicating to format partitions is expected since windows cannot mount the linux based filesystems the partitons use. if the flash was successful you can try the image.

---

<div class="post-metadata">

**Author:** ![Phill](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/phill/32/3193_2.png) [@Phill](https://forums.balena.io/u/Phill)\
**Post date:** [February 21, 2020, 12:48pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/10 "2020-02-21T12:48:26Z")

</div>

I’ve tried this with several different cards on 2 different readers using several different images. It’s been going on for some weeks.

---

<div class="post-metadata">

**Author:** ![rahul-thakoor](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@rahul-thakoor](https://forums.balena.io/u/rahul-thakoor)\
**Post date:** [February 21, 2020, 12:59pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/11 "2020-02-21T12:59:21Z")

</div>

seeing as this can also be related to the port, can you try on a different one?

Also, at any point do you see the following message

```auto
Looks like Etcher is not able to write to this location of the drive.
This error is usually caused by a faulty drive, reader, or port.
Please try again with another drive, reader, or port.

```

in a dialog?

---

<div class="post-metadata">

**Author:** ![Phill](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/phill/32/3193_2.png) [@Phill](https://forums.balena.io/u/Phill)\
**Post date:** [February 21, 2020, 1:45pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/13 "2020-02-21T13:45:38Z")

</div>

No, nothing like that ever comes up. What do you mean about a different port?

---

<div class="post-metadata">

**Author:** ![rahul-thakoor](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@rahul-thakoor](https://forums.balena.io/u/rahul-thakoor)\
**Post date:** [February 21, 2020, 1:48pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/14 "2020-02-21T13:48:31Z")

</div>

try to plug the card reader in a different usb port on your computer

---

<div class="post-metadata">

**Author:** ![Phill](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/phill/32/3193_2.png) [@Phill](https://forums.balena.io/u/Phill)\
**Post date:** [February 21, 2020, 1:49pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/15 "2020-02-21T13:49:34Z")

</div>

Ah, yes, I’ve done that too.

---

<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:** [February 21, 2020, 2:11pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/16 "2020-02-21T14:11:12Z")

</div>

Hello !

> it has recently started failing during writing

Do you know what might have changed ?  
Newer etcher version ? Windows update ? Flashing a different image ?  
Are you using the zip file or have you extracted the image first ?

---

<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:** [February 21, 2020, 2:19pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/17 "2020-02-21T14:19:39Z")

</div>

I’ve just flashed the same image using etcher 1.5.79 from the zipfile with no errors.  
I don’t think the windows format dialog prevents the flashing (I get it too).  
If the flashing always fails around 34%, could you try flashing a smaller image.  
Raspbian Buster full is 7.32GB,  
7.32 \* 34% = 2.48GB  
Please try flashing a 2GB image to this SD card.  
If it works, I would suspect the SD card having problems around 2.48GB.

---

<div class="post-metadata">

**Author:** ![Phill](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/phill/32/3193_2.png) [@Phill](https://forums.balena.io/u/Phill)\
**Post date:** [February 21, 2020, 2:25pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/18 "2020-02-21T14:25:19Z")

</div>

Even with other cards of differing sizes and from different manufacturers, I have issues.

---

<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:** [February 21, 2020, 2:51pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/19 "2020-02-21T14:51:10Z")

</div>

There’s not enough information for me to help you here.  
Have you tried flashing raspbian buster lite to the same sd card that was failing at 34% for the full raspbian (It’s less than 2GB) ?  
If yes where did it failed ? Did you get any error message ?

---

<div class="post-metadata">

**Author:** ![Phill](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/phill/32/3193_2.png) [@Phill](https://forums.balena.io/u/Phill)\
**Post date:** [February 21, 2020, 3:02pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/22 "2020-02-21T15:02:10Z")

</div>

Yes. I’ve literally been unable to write anything to any card on any device attached to my laptop. I’ve even tried Win32DiskImager without success.

---

<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:** [February 21, 2020, 3:10pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/23 "2020-02-21T15:10:41Z")

</div>

Some users have had issues with Windows defender real-time protection (strangely I don’t have any).  
Is it enabled on your computer ? Does disabling it help ?  
What was the error on Win32DiskImager ?

---

<div class="post-metadata">

**Author:** ![Phill](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/phill/32/3193_2.png) [@Phill](https://forums.balena.io/u/Phill)\
**Post date:** [February 21, 2020, 3:34pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/25 "2020-02-21T15:34:41Z")

</div>

I figure it’s got to be something system-wide that is grabbing control of the sdcard preventing it from being written to. I’ll check the Win Defender and let you know.

---

<div class="post-metadata">

**Author:** ![Phill](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/phill/32/3193_2.png) [@Phill](https://forums.balena.io/u/Phill)\
**Post date:** [February 21, 2020, 9:10pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/27 "2020-02-21T21:10:55Z")

</div>

I’ve actually checked the SDcard on another Win10 system and they wrote the image without issues.

---

<div class="post-metadata">

**Author:** ![dtischler](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dtischler/32/2483_2.png) [@dtischler](https://forums.balena.io/u/dtischler)\
**Post date:** [February 21, 2020, 9:26pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/28 "2020-02-21T21:26:31Z")

</div>

Yes, so it sounds like something locally on that particular machine is preventing writing to SD Card. The best way to troubleshoot it is to start disabling any anti-virus, anti-malware, or enterprise software that might be interfering. If this is a work device, sometimes specific profile and permissions are controlled at the User Account level, that can also have an impact. Good luck with narrowing it down!

---

<div class="post-metadata">

**Author:** ![thecount2255](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@thecount2255](https://forums.balena.io/u/thecount2255)\
**Post date:** [February 12, 2021, 10:36pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/30 "2021-02-12T22:36:35Z")

</div>

I made this account just to comment.  
In Win10 there is a option for “real-time protection”  
IF you have this enabled ANY etcher will fail to start and will NOT complete.  
I have tried to add an “exception” for the flash drive in question but for some reason the exception will not take. You will have to FULLY disable the protection to get this to work!

Hope that helps all who stumble across this thread!

---

<div class="post-metadata">

**Author:** ![vinser](https://avatars.discourse-cdn.com/v4/letter/v/a587f6/32.png) [@vinser](https://forums.balena.io/u/vinser)\
**Post date:** [September 23, 2024, 3:41pm UTC](https://forums.balena.io/t/writes-fail-on-win-10/64810/31 "2024-09-23T15:41:59Z")

</div>

You don’t need to FULLY disable real-time protection just make the exclusion for etcher exe file. See here how to add process exclusion [How to add a file type or process exclusion to Windows Security - Microsoft Support](https://support.microsoft.com/en-us/topic/how-to-add-a-file-type-or-process-exclusion-to-windows-security-e524cbc2-3975-63c2-f9d1-7c2eb5331e53)
