FAQsInfoChannel 3

How to make Network Manager a service?

By July 23, 2012 No Comments

1.Copy SRVANY.EXE and INSTSRV.EXE from the Windows Resource Kit to your WindowsSystem32 directory.

2.Select a name for your service, NetManager for instance, and install it as a new service by typing the following at an MS-DOS prompt:
INSTSRV NetManager C:windowssystem32SRVANY.EXE (Modify path as necessary)

If the new service is created successfully, the following should be received:

The service was successfully added! Make sure that you go into the Control Panel and use the Services applet to change the Account Name and Password that this newly installed service will use for its Security Context.

3. On the taskbar, click the Start button, point to Settings, click Control Panel, and Click Administrative Tools.

4. In the Administrative Tools, double-click the Services icon.

5. Select NetManager from the lists of services, then click Action-> Properties.

6. If you want your service to start every time you boot your machine, select Automatic for Startup Type in the Service dialog box. Otherwise, select Manual or Disabled. If you select Manual, you will need to go into the Services utility, select the service, and click the Start or Stop button every time you want to start or stop the service.

7. Click Close to close the Services control panel.

8. On the taskbar, click the Start button, and then click run.

9. In the Run dialog box, enter “Regedit” (without the quotes) and click OK.

10. Expand the following registry key: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesNetManager

11. Select the NetManager folder, and from the Edit menu, point to New, and click Key.

12. Set the name of the new key to “Parameters” (without the quotes).

13. Select the Parameters key and set the following:

a. From the Edit menu, point to New, and click the String Value. Set the name to “AppDirectory” (without the quotes). On the Edit menu, click Modify. Change the Value data to the path of where Network Manager or Network Manager Enterprise Edition is installed, and click Ok. For Network Manager example:
C:Program FilesScalaNetworkManager
or for Network Manager Enterprise example:
C:Program FilesScalaNetworkManagerEnterprise

b. From the Edit menu, point to New, and click the String Value. Set the name to “Application” (without the quotes). On the Edit menu, click Modify. Change the Value data to the path to MMOS.exe and click Ok. For Network Manager Standard example:
C:Program FilesScalaNetworkManagerMMOS.exe
or for Network Manager Enterprise example:
C:Program FilesScalaNetworkManagerEnterpriseMMOS.exe

c. From the Edit menu, point to New, and click the String Value. Set the name to “AppParameters” (without the quotes). On the Edit menu, click Modify. Change the Value data to “NetManager” (without quotes) for Network Manager. For Network Manager Enterprise Edition use “NetManagerEnterprise” (without quotes).

14. Navigate to the directory were Network Manager is installed. Create a new file called mmos.ini. Open this file in notepad. Add the follow text:

[Scala] SERVICE_NoTray = 1
;EOF

Save the file. Now the service can be started.