service
Synopsis
netid.exe -service [start <service>]|[restart <service>]|[stop <service>]| [refresh]|[pause]|[continue]
Description
The service command controls the internal user and system services. To access the system service requires administrator privileges.
The user service keeps track of the certificates. That is, to register and unregister in CryptoAPI MY store.
Options
- start <service>
-
Start the specified service. Accepted services are user and system. The service value is optional. If no service value is specified, the user rights will control what happens. An ordinary user can only start user services, and administrators can start both user and system services.
- restart <service>
-
Restart the specified service. Accepted services are user and system. The service value is optional. If no service value is specified, the user rights will control what happens. An ordinary user can only start user services, and administrators can start both user and system services.
- stop <service>
-
Stop the specified service. Accepted services are user and system. The service value is optional. If no service value is specified, the user rights will control what happens. An ordinary user can only start user services, and administrators can start both user and system services.
- refresh
-
The refresh option forces an update of the internal status. For example, when a soft token is updated and the update detection is turned off. This is automatically done if updating using our plugin but can be needed when updating with another vendor certificate management system.
- pause
-
Pause the user service operation.
- continue
-
Continue a paused user service operation.
Examples
The service command controls the internal user/system service. Accessing the system service will require administrator privileges.
Starting/stopping the user/system service:
start
If you start the service without using the service flag, the service corresponding to your user credentials is started. A user with administrator privileges starts the system service, and a user with user privileges starts the user service.
$ netid.exe -service start
$ netid.exe -service start user
$ netid.exe -service start system
restart
If you restart the service without using the service flag, the service corresponding to your user credentials is restarted. A user with administrator privileges restarts the system service, and a user with user privileges restarts the user service.
$ netid.exe -service restart
$ netid.exe -service restart user
$ netid.exe -service restart system
stop
If you stop the service without using the service flag, the service corresponding to your user credentials is stopped. A user with administrator privileges stops the system service, and a user with user privileges stops the user service.
$ netid.exe -service stop
$ netid.exe -service stop user
$ netid.exe -service stop system