Difference between revisions of "Exit code 1073807364 (0x40010004)"

From BOINC Wiki
(rewriting FAQ, adding breaks)
(removing broken link to original faq)
 
Line 35: Line 35:
 
  |-
 
  |-
 
  | Jorden
 
  | Jorden
  | [http://boincfaq.mundayweb.com/index.php?language=1&view=296 296]
+
  | 296
 
  | 22-05-2008
 
  | 22-05-2008
 
  |-
 
  |-
 
  |}
 
  |}
 
|-
 
|-

Latest revision as of 21:40, 16 August 2017

This error is the same as exit code Exit code -1073741510 (0xc000013a).

When you log off of Windows the application gets terminated quite abruptly. Apparently BOINC/the science applications don't like that too much. Windows since Vista can shut down in 2 seconds... that's not enough time for BOINC to stop.

So before you shut down your computer next time, exit BOINC.

  • If you run as a normal user install, it's done through Boinc Manager, File->Exit.
  • If you run as a service install, you need to stop the service first. Start->Run, type net stop boinc and hit enter.


Or:
Copy the following text and paste it into the Notepad window, called WaitToKill.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"WaitToKillServiceTimeout"="20000"


The 20000 is 20 seconds. Increase/decrease to your liking.
To add this to the registry double-click the file. The UAC will come up, press continue, press Yes on the next window and OK on the one there-after. You need to reboot to make the changes have effect.

You can also use the following bit of code in a batchfile (.bat).
Put it in Notepad, save it as Shutdown.bat (make sure the extension is .bat, not .txt)
Do change the path between %PROGRAMFILES% if your BOINC lives elsewhere.

cd %PROGRAMFILES%\BOINC
boinccmd --quit
shutdown -s -t 20


Updating past BOINC 5.10.45 will also fix this error.


Original writer Original FAQ Date
Jorden 296 22-05-2008

|-