Commit Graph

2 Commits

Author SHA1 Message Date
Rom Walton 66c744a4aa - MGR: Use the BOINC Service Control utility (boincsvcctrl.exe) to
start/stop the BOINC Service on Windows now.  Starting with
        Windows Vista a normal admin account is started with a
        restricted token, meaning that a process has to be elevated
        in order to start and stop services.  The recommended way to
        handle this whole process is to create a stub application that
        has an application manifest embedded within it that tells
        Windows that full admin rights are required and then launch
        that program (boincsvcctrl.exe) from the application 
        (boincmgr.exe) which normally runs with the restricted token.
        
    clientctrl/
        boincsvcctrl.cpp
    clientlib/win/
        Service.cpp

svn path=/trunk/boinc/; revision=18720
2009-07-25 05:19:29 +00:00
Rom Walton 0f09ec557f - SVCCTRL: Introduce a new binary that is used to start and stop
the BOINC service, if it is installed as a service.
        
        NOTE: If UAC is turned on in Windows Vista then even an
          administrator cannot start/stop a service without elevating
          their priviliages.  The new application includes the
          requiresAdmin tag in its manifest file to cause the UAC
          dialog to be displayed when it is launched.

    clientctrl/
        boincsvcctrl.cpp, .h
        boincsvcctrl.rc
        boincsvcctrl.xml
    win_build/
        boinc.sln
        boincsvcctrl.vcproj

svn path=/trunk/boinc/; revision=16488
2008-11-13 18:30:08 +00:00