Starting NT Service on LocalSystem by ordinary user.

L

Lewap

NT Service working on LocalSystem. Can ordinary user start such service?

I've tried this:

scmHandle = OpenSCManager(NULL, NULL, SC_MANAGER_CONNECT);
[...]
scHandle = OpenService(scmHandle, "CapNetSrv", SERVICE_START);
[...]

OpenSCManager working but OpenService return error: "The handle does not
have access to the service."

There is any way to start such service? Should I do something by create
service to give ordinary user start service?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top