date: “2016-12-01” draft: false title: “psservice”
Usage
psservice [\\computer [-u username] [-p password]] <command> <options>
| description | |
|---|---|
| query | Displays the status of a service. |
| config | Displays the configuration of a service. |
| setconfig | Sets the start type (disabled, auto, demand) of a service. |
| start | Starts a service. |
| stop | Stops a service. |
| restart | Stops and then restarts a service. |
| pause | Pauses a service |
| cont | Resumes a paused service. |
| depend | Lists the services dependent on the one specified. |
| security | Dumps the service’s security descriptor. |
| find | Searches the network for the specified service. |
| \computer | Targets the NT/Win2K system specified. |
Eamples
TODO: Table & Descriptions psservice query audiosrv psservice stop audiosrv psservice query audiosrv psservice start Umrdpservice psservice query Umrdpservice psservice setconfig spooler disabled psservice setconfig w32time auto psservice security appinfo