On the https://msdn.microsoft.com/library/windows/desktop/ms683502 page (v=vs.85) of .aspx/ it is written as to make that the service worked in an interactive mode. There it is written that it is necessary to cause the CreateService function. I not absolutely understand where it needs to be done. I use C# Visual Studio 2013 for creation of service from the Windows Service template, but there didn't find anywhere to execute required in article Microsoft. I ask prompt. Very much it is necessary to create interactive service on C#. I will be glad to any help.
Asked
Active
Viewed 4,206 times
0
-
2What are you trying to accomplish? What sort of interaction are you looking for? – John Saunders May 26 '15 at 00:49
1 Answers
0
A similar question has already been asked although unfortunately it might not be the answer you like.
In summary interactive services are frowned upon due to security risks and is not supported since Windows Vista. Although there is a documented workaround presented here which applies to C++ code where service is created using the WinAPI call of CreateProcessAsUser.
Other than the above, if you elaborate your problem a bit more we could provide alternative solutions.