making a service for wordpad.exe with sc

Page 1 of 2 12 LastLast

  1. Posts : 22
    Windows 7 ultimate x64
       #1

    making a service for wordpad.exe with sc


    Is it possible to make a service for wordpad.exe?

    In cmd, I typ the following sentence:

    sc create servicewordpad binpath= "C:\Program Files\Windows NT\Accesoires\wordpad.exe"

    --> I get the message the service is created.
    In the registry en in computer management, I also see the service

    When I want to start the service,
    I get an error:

    error 1053: the service did not respond to start or control request in a timely fashion period



    Can somebody help me?

    Thanks in advance!!!!!!

      My Computer


  2. Posts : 5,642
    Windows 10 Pro (x64)
       #2

    No you cannot make wordpad a service. IT IS NOT A SERVICE.
    What is it you are trying to do?
      My Computer


  3. Posts : 22
    Windows 7 ultimate x64
    Thread Starter
       #3

    I wanted to start the program automatically...

    How do I now what is a service and what not..
    Isn't any executable file a possible service?

    Thank you very much for your quick reply!!
      My Computer


  4. Posts : 313
    Windows 7 Ultimate x64 SP1 clean install
       #4

    cvdh, no. A service is a service, it is an exe but it is compiled as a service.

    If you want to start wordpad at startup, make a link to StartUp folder in your Start Menu.
      My Computer


  5. Posts : 5,642
    Windows 10 Pro (x64)
       #5

    cvdh said:
    I wanted to start the program automatically...
    Uhh...the "Startup" folder in the start menu is for that.


    How do I now what is a service and what not..
    Isn't any executable file a possible service?
    Services are specifically written to be a service.
    Random executables are not written to be a service.
      My Computer


  6. Posts : 22
    Windows 7 ultimate x64
    Thread Starter
       #6

    Are the programs included in a service pack services that I can start with sc?
    Or do I need to create them with sc to add them to my registry?

    Or why do you need "sc create..." for??
    Last edited by cvdh; 15 Jul 2011 at 10:29. Reason: typ fault
      My Computer


  7. Posts : 22
    Windows 7 ultimate x64
    Thread Starter
       #7

    And where do I find services that I can apply?

    Thanks in advance!!!
    C.
      My Computer


  8. Posts : 313
    Windows 7 Ultimate x64 SP1 clean install
       #8

    cvdh, what kind of services do you need? for doing what?
      My Computer


  9. Posts : 22
    Windows 7 ultimate x64
    Thread Starter
       #9

    Nothing special..
    Just for examining the command sc.
      My Computer


  10. Posts : 313
    Windows 7 Ultimate x64 SP1 clean install
       #10

    Take a look here SC - Service Control
      My Computer


 
Page 1 of 2 12 LastLast

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

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