Requirement:
1. You must be a Server wide administrator
1. You must be a Server wide administrator
C:\>sc triggerinfo
DESCRIPTION:
Changes the trigger parameters of a service.
USAGE:
sc triggerinfo [service name] ...
OPTIONS:
start/device/UUID/HwId1/... Start the service on arrival of the specified
device interface class UUID string with one or
more hardware ID strings and/or compatible ID
strings.
start/custom/UUID/data0/.. Start the service on arrival of an event from
the specified custom ETW provider UUID string
with one or more binary data items in
hexadecimal string format such as ABCDABCD to
set 4 byte data.
stop/custom/UUID/data0/... Stop the service on arrival of an event from
the specified custom ETW provider UUID string
with one or more binary data items in
hexadecimal string format such as ABCDABCD to
set 4 byte data.
start/strcustom/UUID/data0/.. Start the service on arrival of an event from
the specified custom ETW provider UUID string
with one or more optional string data items.
stop/strcustom/UUID/data0/.. Stop the service on arrival of an event from
the specified custom ETW provider UUID string
with one or more optional string data items.
start/networkon Start the service on first IP address.
stop/networkoff Stop the service on zero IP addresses.
start/domainjoin Start the service on domain join.
stop/domainleave Stop the service on domain leave.
start/portopen/parameter Start the service on the opening of a network
port. The parameter is of the semi-colon
delimited form
portnumber;protocolname;imagepath;servicename.
stop/portclose/parameter Stop the service on the closing of a network
port. The parameter is of the semi-colon
delimited form
portnumber;protocolname;imagepath;servicename.
start/machinepolicy Start the service when machine group policy
changes or is present at boot.
start/userpolicy Start the service when user group policy
changes or is present at boot.
delete Delete the existing trigger parameters.