October 6, 2005 at 3:33 pm
Is there any system function or XP to find the Sql Server Service account and sql agent account in query analyser instead of going to Enterprise Manager ?
Thanks.
October 6, 2005 at 9:29 pm
Hi Ranga,
Use sp_who .This will give u the information. about the accounts.
from
Killer
October 6, 2005 at 10:59 pm
raj, unless you're running a different system to everyone else I'm sure you can't retrieve the service accounts via sp_who.
Ranga N, Your best bet would be to query the services via WMI in VBScript, or maybe using the sp_OA* procedures.
--------------------
Colt 45 - the original point and click interface
October 6, 2005 at 11:05 pm
Check this link for a script.
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=16068&p=2
--------------------
Colt 45 - the original point and click interface
October 7, 2005 at 8:26 pm
Thanx, Phill
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply