services' security RRS feed

  • Question

  • Why PsService.exe can not be called in a service? but sc.exe can.

    code in Delphi:
    ShellExecute(0, nil, 'c:\pcservice', 'start scardsvr', nil, SW_HIDE);

    The code is OK in the application, but it can not  work in a service application.
    If you change "c:\psservice" to "sc", it works.

    What difference between psservice.exe and sc.exe?


    Wednesday, November 5, 2014 5:21 PM