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

No members online now.

Forum statistics

Threads
474,438
Messages
2,571,699
Members
48,796
Latest member
Greg L.
Top