Srvany.exe: Applications as Services Utility Topics | Next

Installing Srvany


  1. Install Srvany as a Windows service. Use the command promptcommand-line syntax:

    instsrv MyService c:\path\srvany.exe

    Where:

    MyService
    is the name you want to assign to the service.
    c:\path\
    is the full path to srvany.exe.
  2.  

    note-icon

    Note

    In addition to Instsrv, you can also use the Service Installation Wizard (Srvinstw) to install a service.

Windows NT stepsWindows 2000 steps
  1. In Control Panel GUIControl Panel, double-click the Services icon to open the Services dialog.
  2. Select the service you added in step #1.
  3. Click the Startup button to open the Service dialog.
  4. Under Startup Type, choose either Manual or Automatic.
  1. In the Computer Management MMC Snap-inComputer Management console tree, click the Services and Applications node, then click the Services node.
  2. Select the service you added in step #1.
  3. Right-mouse click and select Properties.
  4. In the General tab, set the Startup Type as either Manual or Automatic.
  1. In the Log On tab, set the account the service will use when running. Choose either the System account or enter another valid account. The type of log on needed is determined by the application.
    note-icon

    Note

    If you need access to the screen and keyboard, you must choose System Account and check the "Allow Service to Interact with Desktop" box. Note that System Account is local and doesn't have network access. Otherwise, enter any valid account name and specify the correct logon password.

Installing Multiple Instances

You can install Srvany several times using different registry parameters and running different target applications. Use a distinct service name for each instance you install, for example, MyService1, MyService2, and so on.