Get Service "RunAs" Information

  • Thread starter Thread starter Victor Pereira
  • Start date Start date
V

Victor Pereira

Hi, i'm trying to retrive from my servers the information about "what
service is running with what credential". So i was studing the class
Win32_ApplicationService, but there is no properties with this
information.... I want to map what service is running with a local
administrator credential... Does anybody know how can i do it ?

Regards,

Victor
 
Hi, i'm trying to retrive from my servers the information about "what
service is running with what credential". So i was studing the class
Win32_ApplicationService, but there is no properties with this
information.... I want to map what service is running with a local
administrator credential... Does anybody know how can i do it ?

Regards,

Victor
It is in the objectName Value Name at the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceShortName> sub-key.

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
Hey Jerold,

Thanks for you reply!!!

Is it impossible to get this information by WMI ?

Regards,

Victor
 
No. You would have to use windows API for doing so.

Thanks,
Manbinder Pal Singh

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Ok, thanks!
Manbinder Pal Singh said:
No. You would have to use windows API for doing so.

Thanks,
Manbinder Pal Singh

This posting is provided "AS IS" with no warranties, and confers no
rights.
 
Back
Top