question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does not work with Windows' "Mapped network drives"

See original GitHub issue
  • Etcher version: 1.4.3
  • Operating system and architecture: Windows 10 Pro x64 (VMware)
  • Image flashed: 2018-04-18-raspbian-stretch.img
  • Do you see any meaningful error information in the DevTools? Yes, an ENOENT error suggesting that node could not open the file. Though I was able to browse to it. Note that it works when the path is specified as \\my-server\share\path\to\file instead of X:\path\to\file with X: mapped to \\my-server\share
Wed Apr 25 2018 15:58:37 GMT-0500 (Central Daylight Time) Flashing 0 devices, 0% at 0 MB/s (total 0 MB/s) eta in undefineds with 0 failed devices
gui.js:105081 Wed Apr 25 2018 15:58:37 GMT-0500 (Central Daylight Time) Flash ({"image":"S:\\Engineering\\Reference\\RPi\\2018-04-18-raspbian-stretch.img","drives":["\\\\.\\PhysicalDrive1"],"uuid":"c0a7f870-9be4-4937-baf6-091b9377241c","unmountOnSuccess":true,"validateWriteOnSuccess":true})
gui.js:105081 Elevating command: C:\Users\jacob\AppData\Local\Programs\etcher\Etcher.exe C:\Users\jacob\AppData\Local\Programs\etcher\resources\app.asar
gui.js:105081 Successfully connected to IPC server: etcher-server-6772, socket root C:\Users\jacob\AppData\Local\Temp\
gui.js:105081 Image: S:\Engineering\Reference\RPi\2018-04-18-raspbian-stretch.img
gui.js:105081 Devices: \\.\PhysicalDrive1
gui.js:105081 Umount on success: true
gui.js:105081 Validate on success: true
gui.js:105081 Error: ENOENT: no such file or directory, stat 'S:\Engineering\Reference\RPi\2018-04-18-raspbian-stretch.img'
gui.js:105081 Wed Apr 25 2018 15:58:37 GMT-0500 (Central Daylight Time) Flash error ({"error":{"name":"Error","message":"ENOENT: no such file or directory, stat 'S:\\Engineering\\Reference\\RPi\\2018-04-18-raspbian-stretch.img'","stack":"Error: ENOENT: no such file or directory, stat 'S:\\Engineering\\Reference\\RPi\\2018-04-18-raspbian-stretch.img'","code":"ENOENT","syscall":"stat","errno":-4058},"image":"S:\\Engineering\\Reference\\RPi\\2018-04-18-raspbian-stretch.img","drives":["\\\\.\\PhysicalDrive1"],"uuid":"c0a7f870-9be4-4937-baf6-091b9377241c","unmountOnSuccess":true,"validateWriteOnSuccess":true})
gui.js:105081 Wed Apr 25 2018 15:58:37 GMT-0500 (Central Daylight Time) Open modal ({"name":"warning"})
gui.js:105081 {"stack":"Error: ENOENT: no such file or directory, stat 'S:\\Engineering\\Reference\\RPi\\2018-04-18-raspbian-stretch.img'","message":"ENOENT: no such file or directory, stat 'S:\\Engineering\\Reference\\RPi\\2018-04-18-raspbian-stretch.img'","name":"Error","code":"ENOENT","syscall":"stat","errno":-4058}
console.(anonymous function) @ gui.js:105081
logException @ gui.js:114128
exports.report @ gui.js:23732
(anonymous) @ gui.js:146185
processQueue @ gui.js:82229
(anonymous) @ gui.js:82273
$digest @ gui.js:83368
$apply @ gui.js:83666
(anonymous) @ gui.js:85513
completeOutstandingRequest @ gui.js:71660
(anonymous) @ gui.js:71940
wrapped @ gui.js:105442

image image image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
xyvyx1commented, Mar 20, 2019

I was able to solve this on windows 10 (version 1803) by adding the EnableLinkedConnections registry entry as described here:

https://support.microsoft.com/en-us/help/3035277/mapped-drives-are-not-available-from-an-elevated-prompt-when-uac-is-co

I didn’t attempt either method 1 or 2 from the “workaround” section. Initially, I attempted to change the permissions of the shared folder on my Synology volume to allow all guest/default & domain-user accounts read-only access, but that didn’t seem to make a difference.

0reactions
jacobqcommented, Oct 23, 2019

@thundron I have not taken the time to investigate the problem any further. I just copy the image to a local disk first now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mapped network drive may fail to reconnect in Windows 10 ...
An article provides a workaround to resolve mapped network drives not working in Windows 10, version 1809.
Read more >
4 Fixes When You Can't Map a Network Drive in Windows 10
Method 1: Delete Your Current Network Drive and Remap · Right-click on the network drive folder (Z in the above example) and select...
Read more >
What to Do if Windows Cannot Map Network Drive
Fix: Windows Won't Map Network Drive ; Launch Control Panel and go to Network and Internet. Select Network and Sharing Center. Go to...
Read more >
How to fix mapped network drive problems on Windows 10 ...
You can resolve the mapped network drives problem by creating and running two scripts either using the StartUp folder or running a task...
Read more >
Unable to map Network drive in Windows 11/10
Unable to map Network drive in Windows 11/10 · Press Win+R to open the Run prompt. · Type regedit and hit the Enter...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found