|
Open up an MS-DOS command prompt. |
|
Type the following command: INSTSRV [service name]
SRVANY.EXE
where [service name] is the name of the service you are
setting up. The service name can be whatever you want, but
should be descriptive. |
|
Remove service example:
INSTSRV MyService REMOVE were "Myservice" is the
service name. |
|
Open up the Registry Editor (Click on the Start Button,
select Run, and type REGEDIT)
|
|
Locate the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\[service
name] |
|
From the Edit menu, select New, select Key, and name the new key
Parameters |
|
Highlight the Parameters key |
|
From the Edit menu, select New, select String Value, and name
the new value Application |
|
From the Edit menu, select Modify, and type in the full path
name and application name, including the drive letter and file
extension Example: D:\Program Files\Network Monitor\netmon.exe |
|
Close the Registry Editor.
|