# Critical Error on Zcash4win startup

**URL:** <https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640>\
**Category:** Technical Support\
**Created:** [June 5, 2017, 2:10pm UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640 "2017-06-05T14:10:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![phakov](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/phakov/32/5359_2.png) [@phakov](https://forum.zcashcommunity.com/u/phakov)\
**Post date:** [June 5, 2017, 2:10pm UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/1 "2017-06-05T14:10:25Z")

</div>

I’m using zcash4win to receive my ZEC mining efforts. I get this error when starting the program:

![](https://global.discourse-cdn.com/zcash/original/2X/5/5553bddd63c81428df70a924d4c84f1fb8c56329.PNG)

I don’t have much in this wallet, but I’d hate to lose it. I have not backed up the key yet (my fault) so I don’t want to uninstall and reinstall the program. I hope someone can help. This error just started all of a sudden and does it every time I try to run it.

---

<div class="post-metadata">

**Author:** ![phakov](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/phakov/32/5359_2.png) [@phakov](https://forum.zcashcommunity.com/u/phakov)\
**Post date:** [June 5, 2017, 3:00pm UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/2 "2017-06-05T15:00:38Z")

</div>

Ok, so I’ve installed the program on a second PC and get another error on first execution:

![](https://global.discourse-cdn.com/zcash/original/2X/d/d335c43fe919525c3a9db22e00f8d05968594c0d.PNG)

???

---

<div class="post-metadata">

**Author:** ![Shawn](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/shawn/32/187_2.png) [@Shawn](https://forum.zcashcommunity.com/u/Shawn)\
**Post date:** [June 5, 2017, 4:25pm UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/3 "2017-06-05T16:25:56Z")

</div>

@anon47418038 is the author of zcash4win , he may be able to help you.

And don’t worry, you haven’t lost your ZEC, you should be able to go into your​ files to make a copy your wallet.dat file which contains your keys.

---

<div class="post-metadata">

**Author:** ![midnightwanderer](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/midnightwanderer/32/4739_2.png) [@midnightwanderer](https://forum.zcashcommunity.com/u/midnightwanderer)\
**Post date:** [June 5, 2017, 6:36pm UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/4 "2017-06-05T18:36:36Z")

</div>

zcash4win has not worked for me at all either, ive tried on 3 different systems, the daemon always crashes for me.

---

<div class="post-metadata">

**Author:** ![phakov](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/phakov/32/5359_2.png) [@phakov](https://forum.zcashcommunity.com/u/phakov)\
**Post date:** [June 5, 2017, 7:15pm UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/5 "2017-06-05T19:15:00Z")

</div>

TY Shawn - I was able to locate and backup my wallet.dat file. I have successfully installed zcash4win on a 3rd machine, and I have gotten my old wallet into this new installation. I’m d/l’ing the blockchain now. I’d really like to get it sorted on the first PC giving rise to this.

---

<div class="post-metadata">

**Author:** ![anon47418038](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@anon47418038](https://forum.zcashcommunity.com/u/anon47418038)\
**Post date:** [June 5, 2017, 10:59pm UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/6 "2017-06-05T22:59:02Z")

</div>

This is a race condition bug when it starts up, usually happens when the blockchain isn’t synced all the way. One the first machine (with the GUI STOPPED!) you can start up the zcash daemon in a PowerShell terminal window with this command:

`c:\Program Files\zcash4win\app\zcashd.exe -daemon=0 -showmetrics=1`

When its caught up (compare the block height on that screen with the current one at [https://zcha.in](https://zcha.in) or [https://insight.mercerweiss.com](https://insight.mercerweiss.com)) you can launch the zcash4win GUI, it’ll detect that zcashd.exe is already running and connect to it, and in the future it should launch fine.

---

<div class="post-metadata">

**Author:** ![phakov](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/phakov/32/5359_2.png) [@phakov](https://forum.zcashcommunity.com/u/phakov)\
**Post date:** [June 5, 2017, 11:13pm UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/7 "2017-06-05T23:13:40Z")

</div>

My man! I will try this immediately when I get back to my shop…THANK YOU!!!

---

<div class="post-metadata">

**Author:** ![anon47418038](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@anon47418038](https://forum.zcashcommunity.com/u/anon47418038)\
**Post date:** [June 5, 2017, 11:14pm UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/8 "2017-06-05T23:14:05Z")

</div>

no prob…I need to put that in an FAQ!

---

<div class="post-metadata">

**Author:** ![phakov](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/phakov/32/5359_2.png) [@phakov](https://forum.zcashcommunity.com/u/phakov)\
**Post date:** [June 7, 2017, 3:45pm UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/9 "2017-06-07T15:45:22Z")

</div>

It’s safe to report now that everything is working as it should after rebuilding the blockchain. Thank you!

---

<div class="post-metadata">

**Author:** ![asian\_africa](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@asian\_africa](https://forum.zcashcommunity.com/u/asian_africa)\
**Post date:** [June 16, 2017, 11:30pm UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/10 "2017-06-16T23:30:07Z")

</div>

Hi i seem to be getting the same problem but when putting it in powershell i get  
"c:\Program : The term ‘c:\Program’ is not recognized as the name of a cmdlet, function, script file, or operable  
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.  
At line:1 char:1

- c:\Program Files\zcash4win\app\zcashd -daemon=0 -showmetrics=1
- 

```auto
  + CategoryInfo : ObjectNotFound: (c:\Program:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException"
```

---

<div class="post-metadata">

**Author:** ![anon47418038](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@anon47418038](https://forum.zcashcommunity.com/u/anon47418038)\
**Post date:** [June 19, 2017, 1:37pm UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/11 "2017-06-19T13:37:49Z")

</div>

oh crap it needs to be `zdashd.exe` not `zcashd` in that command!

---

<div class="post-metadata">

**Author:** ![Crosade](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@Crosade](https://forum.zcashcommunity.com/u/Crosade)\
**Post date:** [June 22, 2017, 7:09am UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/12 "2017-06-22T07:09:43Z")

</div>

Nogo. I have tried the original “c:\Program Files\zcash4win\app\zcashd.exe -daemon=0 -showmetrics=1” in powershell and I even changed it to zdashd.exe and I continue to get the same error as stated above.

---

<div class="post-metadata">

**Author:** ![anon47418038](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@anon47418038](https://forum.zcashcommunity.com/u/anon47418038)\
**Post date:** [June 23, 2017, 1:12am UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/13 "2017-06-23T01:12:29Z")

</div>

are you typing the quotation marks? because you shouldn’t be if you are!  
also you can try changing to that directory in powershell with the cd command and then running it as `.\zcashd.exe -daemon=0 -showmetrics=1`

---

<div class="post-metadata">

**Author:** ![Crosade](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@Crosade](https://forum.zcashcommunity.com/u/Crosade)\
**Post date:** [June 23, 2017, 1:43am UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/14 "2017-06-23T01:43:24Z")

</div>

no quotes I was just separating it so you knew what I was typing

---

<div class="post-metadata">

**Author:** ![Crosade](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@Crosade](https://forum.zcashcommunity.com/u/Crosade)\
**Post date:** [June 23, 2017, 1:54am UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/15 "2017-06-23T01:54:50Z")

</div>

I got a bit farther…

PS C:\Program Files\zcash4win\app\> .\zcashd.exe -daemon=0 -showmetrics=1  
Before starting zcashd, you need to create a configuration file:  
C:\Users\Red Dawn\AppData\Roaming\Zcash\zcash.conf  
It can be completely empty! That indicates you are happy with the default  
configuration of zcashd. But requiring a configuration file to start ensures  
that zcashd won’t accidentally compromise your privacy if there was a default  
option you needed to change.

You can look at the example configuration file for suggestions of default  
options that you may want to change. It should be in one of these locations,  
depending on how you installed Zcash:

- Source code: contrib/debian/examples/zcash.conf
- .deb package: /usr/share/doc/zcash/examples/zcash.conf  
PS C:\Program Files\zcash4win\app\>"

The problem is that file exists…

---

<div class="post-metadata">

**Author:** ![anon47418038](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@anon47418038](https://forum.zcashcommunity.com/u/anon47418038)\
**Post date:** [June 25, 2017, 1:09am UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/16 "2017-06-25T01:09:55Z")

</div>

oh I know what it is now!

It does not like usernames that have a space in them ☹  
I didn’t catch that until now, but it is a known issue and we do not have a fix for it yet aside from running the wallet under another user account, which is not optimal, as its a full node and is a lot happier running all the time, or you have to change your homedir/username so that your homedir does not have a space in the username portion of the file path. I’ve done it before, but don’t have the link handy.

---

<div class="post-metadata">

**Author:** ![Crosade](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@Crosade](https://forum.zcashcommunity.com/u/Crosade)\
**Post date:** [June 26, 2017, 2:45am UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/17 "2017-06-26T02:45:14Z")

</div>

Thank you, I will move it to another directory and give it a shot

---

<div class="post-metadata">

**Author:** ![warh](https://avatars.discourse-cdn.com/v4/letter/w/c57346/32.png) [@warh](https://forum.zcashcommunity.com/u/warh)\
**Post date:** [July 20, 2017, 6:48am UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/18 "2017-07-20T06:48:03Z")

</div>

Hello, I need help! I miss my wallet.  
My computer give me bluescreen when zcash4win is synchronized. When I start him after reboot, I have a critical error EOF reached (code 1). I delete all files except wallet.dat and peers.dat. Zcash4win starts. And when it synchronize I make an export private keys. Then I have a new bluescreen. Do all this steps again (without export private keys). But when zcash4win synchronized to 100% I see new adress in my wallet and don’t see my zcash. In folder zcash at appdata i have wallet.1500527268.bak. File from export private keys I have too. Can you help me?

---

<div class="post-metadata">

**Author:** ![Aleksey](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@Aleksey](https://forum.zcashcommunity.com/u/Aleksey)\
**Post date:** [August 2, 2017, 1:22pm UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/19 "2017-08-02T13:22:18Z")

</div>

I have a similar problem!!!  
Tell me, did I understand correctly that on the new machine to restore my wallet I have:

- install the program zcash4wim
- copy the file to a folder C:\Users\User\AppData\Roaming\Zcash a file wallet.dat from the old computer
- run the program and wait for sync

So? Did I miss anything?

---

<div class="post-metadata">

**Author:** ![threeflappp](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/threeflappp/32/7717_2.png) [@threeflappp](https://forum.zcashcommunity.com/u/threeflappp)\
**Post date:** [August 2, 2017, 1:34pm UTC](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640/20 "2017-08-02T13:34:46Z")

</div>

That is correct. Honestly, I just backup the whole Zcash folder under AppData so I don’t have to redownload the entire blockchain.

[Next page](https://forum.zcashcommunity.com/t/critical-error-on-zcash4win-startup/16640.md?page=2)
