service

Name

netid.exe -service – control the internal user and system 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

Example 1. Start the service.

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
Example 2. Start the user service.
$ netid.exe -service start user
Example 3. Start the system service.
$ netid.exe -service start system

restart

Example 4. Restart the service.

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
Example 5. Restart the user service.
$ netid.exe -service restart user
Example 6. Restart the system service.
$ netid.exe -service restart system

stop

Example 7. Stop the service.

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
Example 8. Stop the user service.
$ netid.exe -service stop user
Example 9. Stop the system service.
$ netid.exe -service stop system

refresh

Example 10. Refresh or update the status
$ netid.exe -service refresh

pause

Example 11. Pause the user service operation.
$ netid.exe -service pause

continue

Example 12. Continue a paused user service operation.
$ netid.exe -service continue