Create Service SC.EXE


  1. Posts : 6
    windows 10
       #1

    Create Service SC.EXE


    Hi, how are you?

    I need create a service with sc.exe o any program because i need start up a program when the computer is power on. (not a sesion)

    I try this with task Scheadul but... does´t work. The problem never startup.

    Any can help me ?
      My Computer

  2. topgundcp's Avatar
    Posts : 2,767
    Linux Mint 20.1 Win10Prox64
       #2

    From Admin Command:
    ==== Create a service ====
    sc create "MyService" binpath= "E:\MyService.exe"

    ==== Delete a sevice ====
    sc delete "MyService"

    NOTE: Put a space after binpath= as shown above.
      My Computer


  3. Posts : 6
    windows 10
    Thread Starter
       #3

    Get this error.


    Create Service SC.EXE-ts.jpg

    This is error i get when use this metod.

    my program is Teamspeak.exe i call TS1

    in english say: the services did not respond to the start or control request in timely fashion
      My Computer


  4. Posts : 1,212
    Windows 10 Pro
       #4

    sc.exe only works with programs that were specifically designed to run as a service. There are some specific requirements that must be met to qualify. The error you are getting is typical of applications that do not meet these requirements.

    The best option is to check if the application has a built in method to run as a service.

    Otherwise there is a program that claims to run any program as a service:
    http://www.howtogeek.com/50786/using...ndows-service/

    Note that I have not used this program and do not know if it will work for you.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:30.
Find Us




Windows 10 Forums