E1M1 Posted August 24, 2012 Share Posted August 24, 2012 Vista and newer windows don't really allow service to interact with user anymore. Iven if you specify type=interact then it just means that when service creates gui user receives notification which allows him/her to switch to session 0 as all services run in session 0.So if you if you run this code as system service all you see is following image:#include $l = WinList() _ArrayDisplay($l)My service needs to be able list User's windows, not only SYSTEM's windows. I found some solution at http://stackoverflow.com/questions/267838/how-can-a-windows-service-execute-a-gui-applicationBut I don't know how to properly use CreateProcessAsUser() in my services (would be perfect If I could see example). I would like to know if there are any alternatives to CreateProcessAsUser. edited Link to comment Share on other sites More sharing options...
E1M1 Posted August 24, 2012 Author Share Posted August 24, 2012 I figured that ultra vnc works when it's system and it's not even interact type edited Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now