|
KiXtart Command-line Utilities - Services
DELSRV.EXE
DELSRV is a command-line utility that unregisters a service with the service control manager.
Syntax:
Delsrv <servicename>
Source: Windows NT Resource Kit
INSTSRV.EXE
Service Installer installs and removes Windows NT system services
Syntax:
INSTSRV <service name> (<exe location> | REMOVE)
[-a <Account Name>] [-p <Account Password>]
Source: Windows NT Resource Kit.
QUERY SERVICE
Runs on Windows NT, the Query Service is a command line utility that shows the status of a local or remote service.
Source: Included with the Microsoft SMS 2.0 Resource Guide and the Microsoft BackOffice Resource Kit 4.5.
SRVANY.EXE
Has the ability of installing any Windows NT executable to run as a Windows NT service.
Syntax:
INSTSRV MyService <driveletter>:\mypath\srvany.exe
Source: Windows NT Resource Kit.
SRVSTART.EXE
SRVSTART.EXE is a Win32 executable and DLL which allows you to run commands as if they were Windows NT services. It also has some features to enhance the running of ordinary console commands (prompting for parameters etc). The DLL can be used on its own to build a service without having to write any service management code.
SRVSTART.EXE operates in one of two modes.
It can be used to run an ordinary command (executable program batch file). In this command mode, SRVSTART.EXE can prompt the user for the values of command-line parameters such as passwords.
It can be used to run an executable program in the context of a Windows NT service (service mode). SRVSTART.EXE will itself handle all of the interactions with the NT Service Control Manager (SCM). It is not necessary for the program to include any service management code.
Source: Nick Rozanski's Free Software
SVCCONTROL.EXE
Svccontrol is a command line utility that controls NT services on local or remote machines.
This utility was designed to be used in batch processes that require return codes.
Syntax:
svccontrol.exe /HOST=<computername> /SVC=<service> <command>
Source: TekBabble
XNET
Win32 character-based/commandline utility enabling you to manage local and remote Windows NT services.
Syntax:
XNET <Start | Stop | Pause | Continue | List | Install |
Remove | Modify | Reboot | Shutdown | Help>
Click for More Information