Hi,
I have a service which is started with a local system account. and through this service i am trying to access a shared path. It is naturally failing since service started with an admin account can only access the shared path. So workaround for this is to go to service properties and change Log On as Admin. But other than this is there any way to create a service with Admin properties by default? i read about null session shares but this too is not working. I also tried giving Admin username and password for CreateService API (last 2 parameters) but no use.
Any ideas?
Regards,
Xoinki
I have a service which is started with a local system account. and through this service i am trying to access a shared path. It is naturally failing since service started with an admin account can only access the shared path. So workaround for this is to go to service properties and change Log On as Admin. But other than this is there any way to create a service with Admin properties by default? i read about null session shares but this too is not working. I also tried giving Admin username and password for CreateService API (last 2 parameters) but no use.
Any ideas?
Regards,
Xoinki