• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help

Smoke

Distributed Computing Elite Member
Problem: There are a couple of computers that are connected to a LAN via USB Wireless Network Adapters. Whenever the computers are shut down and then restarted, they seem to get bogged down when BOINC and DIMES launch before the wireless adapter can make a connection with the LAN. I've noticed if I manually launch the DC programs after waiting for the wireless network adapters to get a good sync, everything runs fine.

Solution Needed: Is there a way to auto-magically delay the launch of BOINC and DIMES for 5 or 10 minutes when these computers re-boot?
 
Well, haven't tested if scheduling a small batch-file to start on bootup works, but atleast running as scheduled task starting at a given time works...

So, make a small batch-file called delayed_startup.cmd or something, and add the lines:

sleep 600
net start boinc
sleep 10
hmm... can dimes run as service... well, it should likely be possible to also start dimes...



You need sleep.exe if you've not already got it...

And of course, BOINC must be installed as service, for net start boinc to work. 😉
 
I looked around and found a couple of applications that should do the job but the first one didn't launch correctly. When I uninstalled it, I started getting the BSOD. 🙁

BOINC is installed as a single user (not as a service) and DIMES seems to delay its launch by default. These computers are near the range limits of the wireless LAN. When I bring them to my home office (close to the wireless LAN router) everything works just fine.

I started reading one web site or forum about the creation of a batch file but it was during the wee hours this morning and my eyes starting glazing over. lol

The address of the shortcut targets are as follows:

"C:\Program Files\BOINC\boincmgr.exe" /s

"C:\Program Files\DIMES\Agent\DimesDelayedLauncher.exe" runAgentGUIWithDelay.bat

I would like to delay the start of these programs for about five minutes.

I sure would appreciate it if someone could create the appropriate batch file for me. My script writing skills are zilch, nada, pathetic. lol 🙂
 
TAandy linked me to a neat little program called StartRight.

It seems to work just fine. It is neat seeing your programs launch in a nicely staggered fashion. Now I'll have to return the computer (belongs to my grandson) to its proper place and see if that solves the problem.

BTW, there seems to be an additional added benefit. The BOINC MANAGER blank screen that always hung around now dutifully goes away after BOINC starts up successfully. 🙂

Thank you, Andy. :beer:
 
Originally posted by: Smoke
TAandy linked me to a neat little program called StartRight.

It seems to work just fine. It is neat seeing your programs launch in a nicely staggered fashion. Now I'll have to return the computer (belongs to my grandson) to its proper place and see if that solves the problem.

BTW, there seems to be an additional added benefit. The BOINC MANAGER blank screen that always hung around now dutifully goes away after BOINC starts up successfully. 🙂

Thank you, Andy. :beer:


Don't thank me, thank Google, Google is your friend 🙂 :beer:

Edit:
Might give that program a try myself 😀
 
... But if you're not running BOINC as service, it means BOINC will not start before you login...

So, wouldn't just waiting 5 minutes before logging in fix your problem?


Anyway, to get it to work, open notepad, and copy the text below to this:

sleep 300
start "c:\program files\boinc\boincmgr" /s
sleep 10
start "c:\program files\dimes\agent\dimesdelayedlauncher" runAgentGUIWithDelay.bat
exit


Choose File/Save As...
and save it as example "c:\program files\delay_start.cmd"


Afterwards, navigate to the "startup-folder", and create a new shortcut.
This shortcut should point to "c:\program files\delay_start.cmd"
At the end, change preference of this new shortcut, Run "Minimized".

Oh, and remove the current shortcut(s) in startup-folder to Boinc and Dimes. 🙂



Oh, and last but not least, you needs to download sleep.exe if you've not already got it, example from http://www.computerhope.com/dutil.htm

BTW, if you're running win9x, you needs to call the batch-file *.bat instead of *.cmd 😉
 
Thank you, RD.

The computers in question belong to my grandchildren. When I notice that DC work starts failing to show up, I get them to do a re-boot which usually fixes things.

Getting a four-year old to do a re-boot is about all I can ask right now. That they can do and just walk away going about their other activities.

Thank you for the script. It does appear the "Start Right" program does the job with a nice GUI with adjustable time delays so I'll go that route.

🙂
 
Originally posted by: Smoke
Problem: There are a couple of computers that are connected to a LAN via USB Wireless Network Adapters. Whenever the computers are shut down and then restarted, they seem to get bogged down when BOINC and DIMES launch before the wireless adapter can make a connection with the LAN. I've noticed if I manually launch the DC programs after waiting for the wireless network adapters to get a good sync, everything runs fine.

Solution Needed: Is there a way to auto-magically delay the launch of BOINC and DIMES for 5 or 10 minutes when these computers re-boot?

Its Dimes doing it ,I noticed that too ,though for me it stalls the mapped network drive🙁 ,weird!.
I now manually launch Dimes when I remember ,having a delayed startup would be better 🙂
I'll try that program too :thumbsup:

 
Back
Top