What's the point in rebooting after install? (Windows)

Message boards : Questions and problems : What's the point in rebooting after install? (Windows)
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Franck Dernoncourt

Send message
Joined: 4 Jan 12
Posts: 5
France
Message 41924 - Posted: 4 Jan 2012, 17:10:01 UTC

Is there any reason why you "force" users to reboot after installing the BOINC client for Windows?
As pointed out in this post, this annoying reboot can be easily avoided (by simply removing the empty file named RebootPending.txt) and that does not seem to cause any harm (at least not on my computers).
ID: 41924 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 41927 - Posted: 4 Jan 2012, 19:41:44 UTC - in response to Message 41924.  

Installing BOINC makes Windows limited user accounts, which are used for permission on the Programs and Data directories and when you use BOINC installed as a service. Windows requires this reboot, to finalize the making of the accounts.
ID: 41927 · Report as offensive
Profile Franck Dernoncourt

Send message
Joined: 4 Jan 12
Posts: 5
France
Message 41929 - Posted: 4 Jan 2012, 22:43:58 UTC - in response to Message 41927.  
Last modified: 4 Jan 2012, 22:44:51 UTC

Thanks for your reply Ageless.

Installing BOINC makes Windows limited user accounts.

Actually it does not on my computers (Windows 7 x64). BOINC installer did not create any user account (I use the command net user to list all users).

Windows requires this reboot, to finalize the making of the accounts.

AFAIK there is no need to reboot after creating a user account. Neither http://windows.microsoft.com/en-US/windows7/Create-a-user-account nor http://www.itechtalk.com/thread16618.html say anything about rebooting. When I create a new user by myself, Windows does not ask me to reboot.
ID: 41929 · Report as offensive
Rom Walton
Project developer
Avatar

Send message
Joined: 26 Aug 05
Posts: 164
Message 41932 - Posted: 4 Jan 2012, 23:35:17 UTC - in response to Message 41929.  

Thanks for your reply Ageless.

Installing BOINC makes Windows limited user accounts.

Actually it does not on my computers (Windows 7 x64). BOINC installer did not create any user account (I use the command net user to list all users).

Windows requires this reboot, to finalize the making of the accounts.

AFAIK there is no need to reboot after creating a user account. Neither http://windows.microsoft.com/en-US/windows7/Create-a-user-account nor http://www.itechtalk.com/thread16618.html say anything about rebooting. When I create a new user by myself, Windows does not ask me to reboot.


The permission structure of the BOINC Data directory is such that it required its own set of groups to manage it. By default, the admin account installing BOINC is added to the boinc_admins group. In order for that change to take effect you would either need to logoff and then log back in, or reboot.

Overall it was less error prone to reboot as that was already built into the Windows Installer technology than to logoff/login.

----- Rom
BOINC Development Team, U.C. Berkeley
My Blog
ID: 41932 · Report as offensive
Profile Franck Dernoncourt

Send message
Joined: 4 Jan 12
Posts: 5
France
Message 41944 - Posted: 5 Jan 2012, 19:55:01 UTC - in response to Message 41932.  

it required its own set of groups to manage it.

You mean, a user group in Windows?
ID: 41944 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 41947 - Posted: 5 Jan 2012, 21:30:18 UTC

ID: 41947 · Report as offensive
Profile Franck Dernoncourt

Send message
Joined: 4 Jan 12
Posts: 5
France
Message 41949 - Posted: 5 Jan 2012, 22:54:20 UTC - in response to Message 41947.  
Last modified: 5 Jan 2012, 22:56:14 UTC

Thank you for the link.

As the wiki says, user accounts are created if (in fact iff) "secure" is checked, which I would guess is rarely the case (at least, the majority of users does not use this option).

Besides, even when "secure" is checked and user accounts are subsequently created, the reboot *also* seems to be useless on my computers (I have just tested it under Windows XP SP3). Again, AFAIK I do not see any case where creating/modifying/deleting user accounts requires a reboot. But I am not at all an expert on that matter, so perhaps I missed something.

PS: as you know, but just for the sake of documentation, "secure" corresponds to the checkbox "protected application execution"


If "secure" is checked:
1) before install: no BOINC users


2) during install: creating BOINC users


after install: BOINC users created
ID: 41949 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 41951 - Posted: 5 Jan 2012, 23:47:35 UTC - in response to Message 41949.  

To see the groups which are always created, use net localgroup
ID: 41951 · Report as offensive

Message boards : Questions and problems : What's the point in rebooting after install? (Windows)

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.