Boinc 6.45 only runs as administrator

Message boards : Questions and problems : Boinc 6.45 only runs as administrator
Message board moderation

To post messages, you must log in.

AuthorMessage
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 21913 - Posted: 18 Dec 2008, 19:39:33 UTC

Installing 6.45 with default settings. The program runs only as I log in as administrator. tried it on a XP and a Vista machine.
Logging in as a user without full rights and it doesn't run.
Looks as if it doesn't run as a service?
Am I right that you need full rights to run Boinc (CUDA), not a thing you normally want to do...
ID: 21913 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15482
Netherlands
Message 21914 - Posted: 18 Dec 2008, 20:03:14 UTC - in response to Message 21913.  

First off, when you want to use CUDA, you must not install it as a service (not Protected Application Execution). (the default installation for 6.4 is not as a service)

Second, if you want other users to run and handle BOINC, you must check the option "Allow other users on this computer to control BOINC".


ID: 21914 · Report as offensive
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 21916 - Posted: 18 Dec 2008, 21:28:27 UTC - in response to Message 21914.  

First That I did.
Second as well.
But BOINC only runs when I login as administrator.
Even as I checked (default) all users. (On XP and Vista machine) All users means users with Administrator rights?
ID: 21916 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15482
Netherlands
Message 21919 - Posted: 18 Dec 2008, 23:42:18 UTC - in response to Message 21916.  
Last modified: 18 Dec 2008, 23:43:14 UTC

As far as I know, it shouldn't.

Could you do me a favor and check what the ENABLEUSEBYALLUSERS key is set to in HKEY_LOCAL_MACHINE\SOFTWARE\Space Sciences Laboratory, U.C. Berkeley\BOINC Setup on your admin account and any of the user accounts?

While you're there, check what SETUPTYPE is set to as well.
ID: 21919 · Report as offensive
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 21924 - Posted: 19 Dec 2008, 9:01:52 UTC - in response to Message 21919.  

Register keys:
DATADIR C:\ProgramData\BOINC\
ENABLELAUNCHATLOGON 1
ENABLEPROTECTEDAPPLICATIONEXECUTION 1
ENABLEPROTECTEDAPPLICATIONEXECUTION2 (nothing)
ENABLESCREENSAVER (nothing)
ENABLEUSEBYALLUSERS 1
INSTALLDIR C:\Program Files\BOINC\
LAUNCHPROGRAM 1
MIGRATION TRUE
RETURN_REBOOTREQUESTED 0
RETURN_VALIDATEINSTALL 1
SERVICE_DOMAIN (nothing)
SERVICE_USERNAME (nothing)
SETUPSTATESTORED TRUE
SETUPTYPE Shared

What I noticed is that in C:\ProgramData\BOINC\ the rights are set to read execute
I set the rights to all (except special) for the user without administrator rights
The rights in the program map appear ok but I set them to all for the user without administrator.

Now the boinc icon appears in the tray but as reconnnection.

Checked boinc.exe/boincmgr.exe/boinctray.exe all have full rights for the user

More suggestions?
ID: 21924 · Report as offensive
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 21925 - Posted: 19 Dec 2008, 9:48:41 UTC - in response to Message 21924.  

Restarted again and it seems to work.
The installer seems to fail in seting the rights for the data map correctly.
ID: 21925 · Report as offensive
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 21928 - Posted: 19 Dec 2008, 17:47:34 UTC - in response to Message 21925.  

In XP:
C:\Documents and Settings\All Users\Application Data\BOINC
Explorer right mouse on BOINC map, properties (eigenschappen)-> security (beveiliging)->add button (toevoegen).
add user (gebruiker) (press the check button) add rights: change (wijzigen) and write (schrijven).

C:\Program Files\BOINC the same way as above: add user (gebruiker) rights should be ok read execute (lezen uitvoeren), display map (map weergeven), read (lezen)


ID: 21928 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15482
Netherlands
Message 21930 - Posted: 19 Dec 2008, 18:14:41 UTC - in response to Message 21928.  
Last modified: 19 Dec 2008, 18:18:27 UTC

Och verrek, je bent een Nederlander. Had ik niet eens naar gekeken. ;-)

Ik zal wel doorgeven aan de maker van de BOINC Installer dat er problemen zijn met het geven van de correcte permissies. Nog meer voor zijn 'todo' lijstje. :-)

Vraagje: is dit met een Nederlandstalige Windows XP? zou niet uit moeten maken, maar toch.
ID: 21930 · Report as offensive
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 21938 - Posted: 20 Dec 2008, 12:47:53 UTC - in response to Message 21930.  

Inderdaad een nederlandse versie het zelfde probleem is er in XP en Vista
Indeed a Dutch version. the same problem with XP and Vista

Something else todo:
When you don't install BOINC as a service it would be nice to remove the BOINC users that are no longer needed. A nice and clean install.
ID: 21938 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15482
Netherlands
Message 21939 - Posted: 20 Dec 2008, 12:54:47 UTC - in response to Message 21938.  

Something else todo:
When you don't install BOINC as a service it would be nice to remove the BOINC users that are no longer needed. A nice and clean install.

Ah, but they still are. The boinc_projects group for instance is still used to execute the BOINC executables.
ID: 21939 · Report as offensive
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 21942 - Posted: 20 Dec 2008, 16:08:18 UTC - in response to Message 21939.  

Strange, but it seems the exe files start as current user, not as BOINC user.
In the tast list I see my current user name.
And why do I need to add a user in order for the exe to start at all.
I see Boincmgr and boinctray in the registry as programs to start,
(SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run) So they start as user upon login.
ID: 21942 · Report as offensive
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 21945 - Posted: 20 Dec 2008, 18:21:44 UTC - in response to Message 21942.  

As we go on to the next computer.....
Installed as service on a xp machine.
I got the message (after logging in as user) that I should make this user part of the boinc_user group.
Ok I did that, logging in again, same message.
Added the user to boinc_admin.... and it works fine. But not the safest way.

Any Idea, did they test the installer...?

Another thing when I click 2x on the taskbar icon again. I get another BOINC Manager. So 2 in total. It stops at 2.....
ID: 21945 · Report as offensive
BucketSam

Send message
Joined: 26 Dec 08
Posts: 2
Canada
Message 22085 - Posted: 26 Dec 2008, 17:31:17 UTC

I've experienced the same problem as I upgraded a working version of BOINC to 6.4.5 on my Vista SP1 machine, and specifically making sure to select "Allow other users on this computer to control BOINC".

Still, I can only seem to run the BOINC Manager as an Administrator, even though the privileges seem to have been set up correctly:

members listed in boinc_users group: \Everyone
members listed in boinc_projects group:
members listed in boinc_admins group: (BUILTIN\Administrators (S-1-5-32-544), Windows

I've also noted that I no longer have viewing rights on the directory "C:\Program Files\BOINC\", in Windows Explorer, though I seem to recall I could usually see the directory content, even as a regular user.

I then uninstalled BOINC (also deleting the BOINC directory) and re-installed it again, but with the same results.

I'm not sure whether this is a BOINC problem or a Vista-UAC issue. Any input or suggestion is welcome.

Anyway, here's the content of my registry, for reference:
INSTALLDIR C:\Program Files\BOINC\
SETUPTYPE Service
LAUNCHPROGRAM 1
ENABLELAUNCHATLOGON
ENABLESCREENSAVER
SERVICE_DOMAIN
SERVICE_USERNAME
SETUPSTATESTORED TRUE
MIGRATIONVERSION
MIGRATION TRUE
MIGRATIONDIR C:\Program Files\BOINC\
RETURN_REBOOTREQUESTED 0
REBOOTPROMPT
RETURN_VALIDATEINSTALL 1
DATADIR C:\ProgramData\BOINC\
ENABLEPROTECTEDAPPLICATIONEXECUTION 1
ENABLEUSEBYALLUSERS 1
ENABLEPROTECTEDAPPLICATIONEXECUTION2
ID: 22085 · Report as offensive
Kurt_Aust

Send message
Joined: 26 Dec 08
Posts: 2
Australia
Message 22087 - Posted: 26 Dec 2008, 19:05:38 UTC

I can confirm BucketSam's (preceding post) results, however I am running Windows XP x64 sp2, so it's a BOINC issue, not a Vista one.

The lack of rights to even view %ProgramFiles%\BOINC is very strange, no other %ProgramFiles% directory on my system has restricted read rights.

First up I granted everyone read rights to %ProgramFiles%\BOINC, didn't help.

Then I modified the groups from:
members listed in boinc_users group: \Everyone
members listed in boinc_projects group:
members listed in boinc_admins group: BUILTIN\Administrators (S-1-5-32-544), Administrator

to:
members listed in boinc_users group: \Everyone
members listed in boinc_projects group: \Everyone
members listed in boinc_admins group: BUILTIN\Administrators (S-1-5-32-544), Administrator, Kurt

which did the trick.
ID: 22087 · Report as offensive
BucketSam

Send message
Joined: 26 Dec 08
Posts: 2
Canada
Message 22090 - Posted: 26 Dec 2008, 20:55:22 UTC - in response to Message 22087.  

Many thanks to Kurt_Aust: his suggestion fixed the problem.
ID: 22090 · Report as offensive

Message boards : Questions and problems : Boinc 6.45 only runs as administrator

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.