NirCmd Command Reference - service

service {\\Computer} [action] [service name]
Changes the status and the startup type of services and drivers.
The parameters:
  • {\\Computer}: Optional. Specifies the name of the remote computer. If you omit this parameter, the local computer is used.
  • [action]: The action you want to do. This parameter may contain one of the following values:
    • start: Starts the specified service or driver.
    • stop: Stops the specified service or driver.
    • pause: Pauses the specified service or driver.
    • continue: Continues the specified service or driver.
    • restart: Stops and then starts again the specified service or driver.
    • auto: Changes the startup type of the specified service or driver to Automatic.
    • manual: Changes the startup type of the specified service or driver to Manual.
    • disabled: Changes the startup type of the specified service or driver to Disabled.
    • boot: (Only for drivers) Changes the startup type of the specified driver to 'Boot'.
    • system: (Only for drivers) Changes the startup type of the specified driver to 'System'.
  • [service name]: The name of the service or driver.

Examples:
service start schedule
service \\remote stop schedule
service restart w3svc

Other commands:
abortshutdownbeepcdromchangeappvolumechangebrightness
changesysvolumechangesysvolume2clipboardclonefiletimecloseprocess
cmdshortcutcmdshortcutkeycmdwaitconsolewriteconvertimage
convertimagesdebugwritedlgdlganyelevate
elevatecmdemptybinexecexec2execmd
exitwinfilldeletegachibernateinetdial
infoboxinidelsecinidelvalinisetvalinitshutdown
killprocesslockwsloopmediaplaymemdump
monitormovecursormoverecyclebinmultiremotemuteappvolume
mutesubunitvolumemutesysvolumeparamsfileqboxqboxcom
qboxcomtopqboxtoprasdialrasdialdlgrashangup
regdelkeyregdelvalregeditregsetvalregsvr
remoterestartexplorerreturnvalrunasrunassystem
runinteractiveruninteractivecmdsavescreenshotsavescreenshotfullsavescreenshotwin
screensaverscreensavertimeoutscriptsendkeysendkeypress
sendmouseservicesetappvolumesetbrightnesssetconsolecolor
setconsolemodesetcursorsetcursorwinsetdefaultsounddevicesetdialuplogon
setdisplaysetfilefoldertimesetfiletimesetprimarydisplaysetprocessaffinity
setprocessprioritysetsubunitvolumedbsetsysvolumesetsysvolume2setvolume
shellcopyshellrefreshshexecshortcutshowsounddevices
speakstandbystdbeepsuspendprocesssuspendprocess
sysrefreshtrayballoonurlshortcutwaitwaitprocess
win

NirCmd Web Page

Download NirCmd

NirSoft Web Site