Difference between revisions of "How to control a service install of BOINC (Windows)?"

From BOINC Wiki
Jump to: navigation, search
(Saving FAQ 345)
 
Line 3: Line 3:
 
First off is through the Services control window.  
 
First off is through the Services control window.  
 
To get there, go to Start->Run, type services.msc (including that extension!) and click OK. The services control window comes up:  
 
To get there, go to Start->Run, type services.msc (including that extension!) and click OK. The services control window comes up:  
http://img.photobucket.com/albums/v289/Ageless/BOINC/FAQ/Services/Servicescontrolpanel.png
+
 
 +
[[File:Servicescontrolpanel.PNG]]
 +
 
 
Right clicking BOINC gives you quick commands.  
 
Right clicking BOINC gives you quick commands.  
  
 
Double clicking BOINC will open the service control window:
 
Double clicking BOINC will open the service control window:
http://img.photobucket.com/albums/v289/Ageless/BOINC/FAQ/Services/BOINCserviceproperties.png
+
 
 +
[[File:BOINCserviceproperties.PNG]]
 +
 
 
In both you can click Stop (when started), Start (when stopped), Pause (when started) and Resume (when paused).  
 
In both you can click Stop (when started), Start (when stopped), Pause (when started) and Resume (when paused).  
  
Line 13: Line 17:
  
 
-------------------------------------
 
-------------------------------------
 +
 +
 
BOINC can also be controlled from the command line, through the net command. The easiest way, I think, is to make shortcuts of these commands, so do this:
 
BOINC can also be controlled from the command line, through the net command. The easiest way, I think, is to make shortcuts of these commands, so do this:
  
 
Right click anywhere on a free space on the desktop->New->Shortcut.
 
Right click anywhere on a free space on the desktop->New->Shortcut.
http://img.photobucket.com/albums/v289/Ageless/BOINC/FAQ/Services/Desktopshortcut.png
+
 
 +
[[File:Desktopshortcut.png]]
 +
 
 +
 
  
 
In the URL box fill in cmd /k followed by a space and the command you want to follow.  
 
In the URL box fill in cmd /k followed by a space and the command you want to follow.  
http://img.photobucket.com/albums/v289/Ageless/BOINC/FAQ/Services/CommandstartBOINC.png
+
 
 +
[[File:CommandstartBOINC.png]]
 +
 
 +
 
  
 
Click Next, then fill in a name for the command you want to use.   
 
Click Next, then fill in a name for the command you want to use.   
http://img.photobucket.com/albums/v289/Ageless/BOINC/FAQ/Services/NetStartBOINC.png
+
 
 +
[[File:NetStartBOINC.png]]
 +
 
 +
 
 
Click Finish. The command shortcuts will be saved on your desktop. You can put them anywhere you like, though.  
 
Click Finish. The command shortcuts will be saved on your desktop. You can put them anywhere you like, though.  
  
You can make shortcuts for these commands:  
+
You can make shortcuts for these commands:
Stop BOINC = cmd /k net stop boinc
+
Start BOINC = cmd /k net start boinc
+
* Stop BOINC: cmd /k net stop boinc  
 +
* Start BOINC: cmd /k net start boinc
 +
* Pause BOINC = cmd /k net pause boinc
 +
* Resume BOINC = cmd /k net continue boinc
 +
 
 +
(With thanks to Richard Haselgrove for the screen shots.)
  
Additional options are:
 
Pause BOINC = cmd /k net pause boinc
 
Resume BOINC = cmd /k net continue boinc
 
  
(With thanks to Richard Haselgrove for the screen shots.)
 
 
  | Jorden
 
  | Jorden
 
  | 9
 
  | 9

Revision as of 17:41, 4 June 2016

So you installed BOINC as a service under Windows and now you want to stop the service? How do you do that, easily? There are a couple of ways for this.

First off is through the Services control window. To get there, go to Start->Run, type services.msc (including that extension!) and click OK. The services control window comes up:

Servicescontrolpanel.PNG

Right clicking BOINC gives you quick commands.

Double clicking BOINC will open the service control window:

BOINCserviceproperties.PNG

In both you can click Stop (when started), Start (when stopped), Pause (when started) and Resume (when paused).

In the above window you can also control BOINC not to start up when Windows starts up. To do so, change the Startup type from Automatic to Manual. If you set it to Disabled, the service cannot be used, it can also not be started from the command line. Always click Apply before clicking OK.



BOINC can also be controlled from the command line, through the net command. The easiest way, I think, is to make shortcuts of these commands, so do this:

Right click anywhere on a free space on the desktop->New->Shortcut.

Desktopshortcut.png


In the URL box fill in cmd /k followed by a space and the command you want to follow.

CommandstartBOINC.png


Click Next, then fill in a name for the command you want to use.

NetStartBOINC.png


Click Finish. The command shortcuts will be saved on your desktop. You can put them anywhere you like, though.

You can make shortcuts for these commands:

  • Stop BOINC: cmd /k net stop boinc
  • Start BOINC: cmd /k net start boinc
  • Pause BOINC = cmd /k net pause boinc
  • Resume BOINC = cmd /k net continue boinc

(With thanks to Richard Haselgrove for the screen shots.)


| Jorden
| 9
| 1
| 02:11:26
| 2008-05-21
| 174875
| 1
| 345
| 2008-05-21 02:11:26
| 2008-05-21 02:11:26

|-