aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/utils/libservice/README.md
blob: 22c9388f49fb070fd40049b393b9984a44fd3eed (plain) (tree)
1
2
3
4
5
6
7
8
9
                              
 

                                                                      
 
          
 

                                                                         
 
            





                                            

           
                                                   




                                 
                                                             

           
                    







                                                              
                   




                                     

                                                                       

           


                    
 

            
 
 
 

                                  
# Service management utilities

Utilities to easily install/start/stop/uninstall drivers using Windows
services.

## Library

`#include <libservice/all.hpp>` and link with `libservice.lib` to use the
library.

## Utilities

### install_service.exe

    Usage: install_service.exe NAME SYS_PATH

Installs a driver as a service.
The same as

    > sc create NAME type= kernel binPath= SYS_PATH

### start_service.exe

    Usage: start_service.exe NAME

Starts the service `NAME` (loading the corresponding driver).
The same as

    > net start NAME

### stop_service.exe

    Usage: stop_service.exe NAME

Stops the service `NAME` (unloading the corresponding driver).
The same as

    > net stop NAME

### uninstall_service.exe

    Usage: uninstall_service.exe NAME

Uninstalls the service `NAME`, wiping the corresponding record from the
registry.
The same as

    > sc delete NAME

## See also

* [Building]
* [License]



[building]: ../README.md#building
[license]: ../../README.md#license