Page 1 of 1

Flash issues using WinDiskImager

Posted: Wed Jun 26, 2019 11:18 am
by BlackForest
I have recently started having issues when trying to flash a new Image onto my SD cards. From WinDiskImager I get lock error 5, Etcher gets stuck on starting. It doesn't matter what SD card (even brand new ones), what Image or what flash tool I use, it wont start the flashing Process. Using a different system (that I don't have access to anywhere near as often so it isn't really viable as I flash new cards fairly often) it works on the same cards with the same image without any issue. I have been searching for a solution for a while now but have so far drawn a blank.

Any Ideas what could be causing this?
I am using Windows 10 - 1903, though the issue started before I updated.

Re: Flash issues using WinDiskImager

Posted: Wed Jun 26, 2019 11:22 am
by gordon77
The only issue l have had is trying to write sd cards in a laptop using the sd slot. Only works if using a sd to usb adapter and the laptop USB port.

Re: Flash issues using WinDiskImager

Posted: Wed Jun 26, 2019 11:35 am
by fruitoftheloom
BlackForest wrote:
Wed Jun 26, 2019 11:18 am
I have recently started having issues when trying to flash a new Image onto my SD cards. From WinDiskImager I get lock error 5, Etcher gets stuck on starting. It doesn't matter what SD card (even brand new ones), what Image or what flash tool I use, it wont start the flashing Process. Using a different system (that I don't have access to anywhere near as often so it isn't really viable as I flash new cards fairly often) it works on the same cards with the same image without any issue. I have been searching for a solution for a while now but have so far drawn a blank.

Any Ideas what could be causing this?
I am using Windows 10 - 1903, though the issue started before I updated.

The SD Card Reader must be at a minimum SDHC compatible. USB Card Reader from Poundland works for me.

Re: Flash issues using WinDiskImager

Posted: Wed Jun 26, 2019 1:13 pm
by BlackForest
Unfortunately it didn't make any difference, (both my internal and external are SDHC compatible). It still wont flash (External one tested on all USB ports including Docking Station). Somehow it appears to be a more fundamental Windows issue.

As a stupid experiment I also attempted to flash a generic USB Flash drive (also new) with the same result.

Re: Flash issues using WinDiskImager

Posted: Wed Jun 26, 2019 1:21 pm
by fruitoftheloom
BlackForest wrote:
Wed Jun 26, 2019 1:13 pm
Unfortunately it didn't make any difference, (both my internal and external are SDHC compatible). It still wont flash (External one tested on all USB ports including Docking Station). Somehow it appears to be a more fundamental Windows issue.

As a stupid experiment I also attempted to flash a generic USB Flash drive (also new) with the same result.

Boot up your Windows Machine with a Linux LiveCD. Etcher works OK under Linux (I use Xubuntu x86-64)

Re: Flash issues using WinDiskImager

Posted: Thu Jun 27, 2019 7:58 am
by BlackForest
fruitoftheloom wrote:Quote fruitoftheloom
Yeah that works, good Idea, though I will still search for a solution on windows, Primarily as I have some tools on windows that aren't available on Linux that I often need at a moments notice.

Re: Flash issues using WinDiskImager

Posted: Thu Jun 27, 2019 8:05 am
by Ernst
BlackForest wrote:
Wed Jun 26, 2019 11:18 am
From WinDiskImager I get lock error 5, Etcher gets stuck on starting.
Very old trick, should work under Windows 10, to show the meaning of error code 5:

Code: Select all

C:\Users>net helpmsg 5

Access is denied.

Which can happen when:
- Win32DiskManager is not running with administrative privileges
- The target SD card is open in another process (Explorer, cmd, etc)

Re: Flash issues using WinDiskImager

Posted: Thu Jun 27, 2019 9:16 am
by aBUGSworstnightmare
uSD card adapters sometimes have a write-protect slide on the side ... Worth checking :oops:

Re: Flash issues using WinDiskImager

Posted: Tue Jul 02, 2019 6:59 am
by BlackForest
aBUGSworstnightmare wrote: uSD card adapters sometimes have a write-protect slide on the side ... Worth checking :oops:
Unfortunately not, as said I also used an Internal one that also doesn't work.
Ernst wrote:
BlackForest wrote:
Wed Jun 26, 2019 11:18 am
From WinDiskImager I get lock error 5, Etcher gets stuck on starting.
Very old trick, should work under Windows 10, to show the meaning of error code 5:

Code: Select all

C:\Users>net helpmsg 5

Access is denied.

Which can happen when:
- Win32DiskManager is not running with administrative privileges
- The target SD card is open in another process (Explorer, cmd, etc)

Yeah I had already found that and checked, Its running as Admin and the SD card shouldn't be Open, It certainly doesn't Complain If i try to eject it and also has the same issue after just plugging the card.

Re: Flash issues using WinDiskImager

Posted: Tue Jul 02, 2019 7:23 am
by HawaiianPi
Disable any antivirus or mallware protection software you have installed. I forget which one it is, but one of them messes with image writing.

Either that, or try NOOBS.

Re: Flash issues using WinDiskImager

Posted: Wed Jul 03, 2019 3:20 pm
by jeepers01
I am getting the same problem - access denied in both WinDiskImager and Etcher latest versions.
This is since a recent Windows Pro upgrade to 1903. (They worked previously in 1803)

However I have found that WinFLASHTool-2.0 works fine, even without running as administrator.

Hope the helps