Starting a service with standard (no admin) user rights
-
Hi, using Vista with a standard user (no admin), I cannot start a service using Win32 with OpenSCManager, OpenService etc. How can I modify the user rights temporary to admin rights, so the functions work properly? Regards, Stefan
-
Hi, using Vista with a standard user (no admin), I cannot start a service using Win32 with OpenSCManager, OpenService etc. How can I modify the user rights temporary to admin rights, so the functions work properly? Regards, Stefan
You can use the
CreateProcessAsUser
API to run a process admin and useOpenSCManager
from within that process.«_Superman_»
-
You can use the
CreateProcessAsUser
API to run a process admin and useOpenSCManager
from within that process.«_Superman_»
Could you provide me with a quick example? Sorry I'm not that into services and user access rights
-
Hi, using Vista with a standard user (no admin), I cannot start a service using Win32 with OpenSCManager, OpenService etc. How can I modify the user rights temporary to admin rights, so the functions work properly? Regards, Stefan
Running Process without Security Warning in Internet Explorer 7[^].
Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )