PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise

Advanced search

Message boards : General discussion : BOINC Windows install question

Author Message
Scott BrownProject donor
Volunteer moderator
Project administrator
Volunteer tester
Project scientist
Avatar
Send message
Joined: 17 Oct 05
Posts: 1894
ID: 1178
Credit: 6,112,384,178
RAC: 3,511,429
Discovered the World's First base 116 Generalized Cullen prime!!!Discovered 12 mega primesEliminated 6 conjecture "k"sDiscovered 1 Sophie Germain pairDiscovered 1 Fermat divisor2012 Tour de Primes highest prime count2012 Tour de Primes most Mountain Stage primes2015 Tour de Primes highest prime count2016 Tour de Primes highest prime countFound 23 primes in the 2018 Tour de PrimesFound 1 mega prime in the 2018 Tour de PrimesFound 2 primes in the 2018 Tour de Primes Mountain Stage2019 Tour de Primes highest prime countFound 22 primes in the 2019 Tour de Primes321 LLR Double Bronze: Earned 100,000,000 credits (100,829,118)Cullen LLR Double Bronze: Earned 100,000,000 credits (103,870,990)ESP LLR Double Bronze: Earned 100,000,000 credits (103,603,483)Generalized Cullen/Woodall LLR Double Bronze: Earned 100,000,000 credits (108,461,080)PPS LLR Double Silver: Earned 200,000,000 credits (339,247,040)PSP LLR Double Bronze: Earned 100,000,000 credits (108,003,110)SoB LLR Double Bronze: Earned 100,000,000 credits (135,747,083)SR5 LLR Double Bronze: Earned 100,000,000 credits (147,995,026)SGS LLR Double Bronze: Earned 100,000,000 credits (156,829,541)TPS LLR (retired) Silver: Earned 100,000 credits (235,439)TRP LLR Double Bronze: Earned 100,000,000 credits (109,149,031)Woodall LLR Double Bronze: Earned 100,000,000 credits (101,447,725)321 Sieve Double Silver: Earned 200,000,000 credits (203,442,658)Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (83,794,448)Generalized Cullen/Woodall Sieve Double Silver: Earned 200,000,000 credits (285,139,652)PPS Sieve Double Ruby: Earned 2,000,000,000 credits (2,107,610,758)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Double Silver: Earned 200,000,000 credits (203,523,358)TRP Sieve (suspended) Double Silver: Earned 200,000,000 credits (201,489,157)AP 26/27 Double Bronze: Earned 100,000,000 credits (119,533,830)GFN Double Amethyst: Earned 1,000,000,000 credits (1,133,414,632)PSA Double Silver: Earned 200,000,000 credits (259,058,048)
Message 82652 - Posted: 20 Jan 2015 | 13:56:37 UTC

I know I can probably find my answers via a good web search, but I thought I'd ask here first to see if anyone has a quick and easy answer. I am trying to do a special BOINC install on a group of machines (about 70 or so), but I cannot do a standard install for a variety of reasons. I also need the install to do so under the following conditions (all under Windows 7 Enterprise):

1) Needs to be a service install that will run in the background. Preferably the install would not show the BOINC processes running in the windows task manager for a general user (showing when logged in as Admin is fine).

2) The BOINC manger software should not start-up automatically, and the BOINC icon should not appear in the tray (e.g., this install cannot have the BOINC notices popping up, etc.).

3) The client will be installed, monitored, and managed remotely.

4) There are no GPUs in these machines, so no GPU related restrictions apply.

5) I will still need to be able to set BOINC tasks to suspend when a machine is in active use by someone when they log in and are using the machine.


Basically, I need BOINC to run completely silently in the background on these machines. This is needed so as not to confuse the users who might not know what this software is and delete/stop it locally. Before anyone asks, yes, permission to use the machines is granted, but the owner/manager of the machines requires this silent style install to do so.

I am assuming that this might be accomplished via a command-line install process, but I honestly haven't looked at that side of BOINC in more than 7 years.

Does anyone have an easy way of doing this? Or can you point me to the right page/pages to get my answers and avoid some web search time? Any help is greatly appreciated!



____________
141941*2^4299438-1 is prime!


HonzaProject donor
Volunteer moderator
Volunteer tester
Project scientist
Send message
Joined: 15 Aug 05
Posts: 1792
ID: 352
Credit: 2,394,128,299
RAC: 1,245,546
Discovered 5 mega primesEliminated 3 conjecture "k"sFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain Stage2019 Tour de Primes largest primeFound 4 primes in the 2019 Tour de PrimesFound 1 mega prime in the 2019 Tour de PrimesFound 1 prime in the 2019 Tour de Primes Mountain Stage321 LLR Emerald: Earned 50,000,000 credits (50,556,284)Cullen LLR Sapphire: Earned 20,000,000 credits (33,407,424)ESP LLR Sapphire: Earned 20,000,000 credits (22,668,198)Generalized Cullen/Woodall LLR Emerald: Earned 50,000,000 credits (50,258,656)PPS LLR Emerald: Earned 50,000,000 credits (80,432,731)PSP LLR Sapphire: Earned 20,000,000 credits (23,462,639)SoB LLR Emerald: Earned 50,000,000 credits (67,803,840)SR5 LLR Emerald: Earned 50,000,000 credits (50,318,336)SGS LLR Sapphire: Earned 20,000,000 credits (22,598,870)TPS LLR (retired) Bronze: Earned 10,000 credits (43,033)TRP LLR Emerald: Earned 50,000,000 credits (51,404,601)Woodall LLR Sapphire: Earned 20,000,000 credits (24,573,411)321 Sieve Sapphire: Earned 20,000,000 credits (20,574,024)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,142,109)Generalized Cullen/Woodall Sieve Emerald: Earned 50,000,000 credits (50,504,945)PPS Sieve Double Gold: Earned 500,000,000 credits (504,377,255)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,288,222)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,149,354)AP 26/27 Double Bronze: Earned 100,000,000 credits (151,100,646)GFN Double Gold: Earned 500,000,000 credits (614,303,774)PSA Double Gold: Earned 500,000,000 credits (531,181,306)
Message 82660 - Posted: 20 Jan 2015 | 17:04:23 UTC

Are those machines in domain?

Not tested, just an idea...
How about prepare single machine and monitor registry changes (using RegFromApp by Nirfost for example). I would also prepare global_prefs.xml, cc_config.xml, gui_rpc_auth.cfg, remote_hosts.cfg and perhaps account_www.primegrid.com.xml.
Then, I would remotely copy all BOINC and data files to the same folders on remote michnes and apply registry changes (which should also include BOINC service)

(if succesful), this would not only hide BOINC from menu but hide BOINC in installed programs.

Otherwise, I would go Creating custom installers

For hiding processes from users, I would go for ProcessMagic or similar.
____________
My stats
Badge score: 1*1 + 5*1 + 7*1 + 8*8 + 9*7 + 11*1 + 12*3 = 187

stream
Volunteer developer
Volunteer tester
Send message
Joined: 1 Mar 14
Posts: 524
ID: 301928
Credit: 442,768,696
RAC: 123,595
Discovered 1 mega primeFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (9,919,609)Cullen LLR Turquoise: Earned 5,000,000 credits (9,934,320)ESP LLR Turquoise: Earned 5,000,000 credits (9,909,084)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,921,052)PPS LLR Turquoise: Earned 5,000,000 credits (6,962,917)PSP LLR Turquoise: Earned 5,000,000 credits (5,089,560)SoB LLR Turquoise: Earned 5,000,000 credits (5,824,522)SR5 LLR Turquoise: Earned 5,000,000 credits (5,399,087)SGS LLR Turquoise: Earned 5,000,000 credits (5,382,419)TRP LLR Turquoise: Earned 5,000,000 credits (9,911,706)Woodall LLR Turquoise: Earned 5,000,000 credits (5,011,851)321 Sieve Jade: Earned 10,000,000 credits (11,446,932)Generalized Cullen/Woodall Sieve Sapphire: Earned 20,000,000 credits (20,047,667)PPS Sieve Sapphire: Earned 20,000,000 credits (20,866,490)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,043,271)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,015,177)AP 26/27 Sapphire: Earned 20,000,000 credits (20,045,194)GFN Emerald: Earned 50,000,000 credits (50,736,398)PSA Double Silver: Earned 200,000,000 credits (200,301,443)
Message 82664 - Posted: 20 Jan 2015 | 18:47:33 UTC - in response to Message 82652.

Don't run installation, just copy all executable files from another machine to any directory (You even don't need all files, but we will skip this part for now). You cannot write to "Program Files", so a good place to put all files is "C:\Users\Public". This directory is shared by default to everybody, so, if network sharing with default settings is enabled, you also will have physical access to files via network. I like to create "C:\Users\Public\Programs" directory, with "Boinc" and "BoincData" subfolders. This could be done remotely via network, if public/guest sharing is enabled.

C:\ProgramData is second solution, this directory is writable with user privileges (but no network access). Of course, you could create any directory on any drive, but this is more noticeable.

Note: I don't recommend to use pathnames with spaces, boinc have some bugs handling this (at least in "detach_console" option).

The installation could be verified by running "C:\Users\Public\Programs\Boinc\boinc.exe --dir C:\Users\Public\Programs\BoincData". Use normal user account. This will initialize data directory as well. Ctrl-C to exit.

Managing: nothing special, just read boinc documentation about remote management. In short, you must create "remote_hosts.cfg" (pre-copy it to the data directory) and put password into "gui_rpc_auth.cfg" (either pre-copy your own either get random one which boinc will create during directory initialization).

Creating a service: from elevated command prompt (run as Administrator), enter following command exactly, with spaces and quotes as here:

sc create BoincSVC start= auto error= ignore binpath= "C:\Users\Public\Programs\Boinc\boinc.exe --daemon --dir C:\Users\Public\Programs\BoincData" depend= "+TDI/+NetworkProvider" displayname= "Berkeley distributed infrastructure"

(You may edit service name and displayname if you like). Note the space after "=" (quite funny syntax).

Checking for user activity: in Windows 7, when Boinc is run as service, you must somehow also run boinctray.exe utility which will do real check for activity and report this data to service (don't worry, it does not have tray icon regardless of name). Use regedit to create Run-entry.

Unfortunately, I'm not completely sure how to run it correctly. If there is only one user on this system, a way which surely works is to put this under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run branch. Create new string entry with any name (e.g. "boinctray") and value "C:\Users\Public\Programs\Boinc\BoincTray.exe". If will run as soon as user logs on. If there are multiple users, I'm unsure. May be HKEY_LOCAL_MACHINE\Software\.... will work, may be not.

Now boinc service knows about user activity and all settings from venues (e.g. pause if computer is in use) will work.

Theoretically, last two steps (sc and registry update) could be done remotely if you know Admin's password AND have Admin account enabled and available for remote logons, but my knowledge is not so good in this area.

Note that boinc.exe itself really does not require any registry entries. It's looking only for default data folder, which we'll specify on command line.

Optimization of the procedure described above (using a batch file or custom .msi) is up to you.

Message boards : General discussion : BOINC Windows install question

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2019 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.85, 1.22, 1.27
Generated 20 May 2019 | 21:58:59 UTC