Senstar
Safeguarding people, places and property
Contact       Xnet Login       English
Knowledge Base Article
Article Type: How To
Product: Symphony
Product Version:
Component:
Device Brands:
Created: 9-Sep-2011 4:59:36 PM
Last Updated:

How to manually create Windows service with sc command

Scenario

If a service is not registered in Windows, it is possible to manually register it as a service, where it will be visible in the Windows Services dialog.

To access the Windows Services dialog:

  1. From the command prompt, type:
  2.  "services.msc" 
    
  3. Press ENTER.

To manually add service:

  1. From the command prompt, type:
  2. sc create "AI Tracker 1" binpath= "C:Program Files\Aimetis\Symphony\_bin\trackerapp.exe Tracker1 C:\Program FilesAimetis\Symphony\_bin\1" start= demand
    
  3. Press ENTER.

Notes:

  • Ensure there is a space after "=", NOT before.
  • start= demand or auto
  • depend= comma separated list
  • displayname= the display name, if different from service name
  • binpath= can include arguments


Average rating:
Please log in to rate.
Rated by 0, Viewed by 3215