Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to discover the user account in Windows Services

Status
Not open for further replies.

joazes

Programmer
Sep 18, 2003
13
BR
Hi all,
Is there a way to know what's the user account did start some service from command line?
Thanks in advance.
 
Eventviewer;
Source will be Service Control Manager and User will be the User. Event ID : 7035 or 7036


 
Your question is a little ambiguous. Are you trying to find:
1. What user used the command line to start a service

or

2. From the command line, can I tell what account is configured in a service?

If it's #1, then Elmurado's answer should suffice. If it's #2, then you could probably use sc.exe to query the service.

Pat Richard
Microsoft Exchange MVP
Contributing author Microsoft Exchange Server 2007: The Complete Reference
 
Hi 58sniper!!!
The second option is my problem. I already tried to use the sc.exe command, but it is not enough. Is there any new idea??
Tks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top