SVCCTRL allows you to install or control local or remote services running on remote and local computers. (SVCCTRL was previously called INSTSRV. It has been renamed to avoid confusion with INSTSVC in the Microsoft Windows NT Resource Kit.)
After starting SVCCTRL, you are presented with a menu of choices; pick one:
0 | Quit | Quit the Service Manager utility. |
1 | Install | Install a service. Specify a service name (it need not match the executable name), a domain and user name, a target computer name, a local path that includes the executable name, and where you want the service to autostart (start when the computer is turned on). |
2 | Deinstall | Remove a service. |
3 | Start | Start a service that is already installed. |
4 | Start with args | Start a service with arguments. |
5 | Stop | Stop a service. |
6 | Pause | Pause a service. |
7 | Continue | Continue a service that is paused. |
8 | Query | Get the status of an installed service. |
9 | Send code | Send a control code to the service. These codes are the same as those used by Send Code. |
10 | Change account and password | Change the account and password information for a service. The account must have the Logon as a Service user right and belong to the Domain Admins group. |
11 | Install with dependencies | The service requires that another group or service is already running. |
Alpha, x86
SVCCTRL.EXE
svcctrl
To install and start the SMS_PROGRAM_COMMAND_MANAGER_NT service on a Windows NT server:
Create a domain user account that has the Log on as a Service right. Put the account in the Domain Admins group.
At a command prompt, change to a Windows NT directory containing SVCCTRL.EXE, and type svcctrl.
At the prompt, type 1, for Install.
Type the name of the service you wish to start:
Enter service name: SMS_PROGRAM_COMMAND_MANAGER_NT
Type that name of the account you created in Step 1:
Enter account name [domain\user]: RAYDOMAIN\RAYMCC
Type the account's password, which is case-sensitive:
Enter password: ItsaSecret
Type the name of the computer to install the service on:
Enter machine name [add \\]: \\RAYMACHINE
Type the path of the service on the local machine. Include the executable file:
Enter path: C:\LOGON.SRV\X86.BIN\PCMSVR32.EXE
Specify whether the service is to be started automatically when the computer is restarted:
Autostart service during bootup? (Y/N): N