|
![]() |
|
| Author |
|
|||||||
|
Grimy
Posts: 80
Location: Brisbane, Queensland
|
Hey guys n gals, is there anyway to query all the services on a server but with the account used to run it?
Cheers |
|||||||
| #0 01:51pm 11/05/06 |
|
|||||||
|
system
|
--
|
|||||||
| #0 |
|
|||||||
|
Opec
Posts: 4108
Location: Brisbane, Queensland
|
You might want to have a look at http://www.sysinternals.com/ they've got heaps of free tools that you can use.
|
|||||||
| #1 01:55pm 11/05/06 |
|
|||||||
|
TicMan
Posts: 757
Location: Brisbane, Queensland
|
Start -> Run -> Services.msc
Sort by LOG ON AS column. |
|||||||
| #2 01:56pm 11/05/06 |
|
|||||||
|
Grimy
Posts: 81
Location: Brisbane, Queensland
|
thanks guys but, i can vdo it through services console but i need to do it across 50 servers, wonderred if there were commandline options for services.msc or anything else.
|
|||||||
| #3 01:59pm 11/05/06 |
|
|||||||
|
TicMan
Posts: 758
Location: Brisbane, Queensland
|
Write something in VBScript to query each PC remotely - could probably use some WMI/ADSI calls to do it.
The psservice utility from SysInternals will list the services but not the user it s running as. |
|||||||
| #4 02:03pm 11/05/06 |
|
|||||||
|
speedhax
Posts: 108
Location: Brisbane, Queensland
|
||||||||
| #5 02:03pm 11/05/06 |
|
|||||||
|
pARODY
Posts: 111
Location: Brisbane, Queensland
|
WMIC is your friend..
C:\> wmic /?:full > wmic_docs_that_stink.txt (cut&paste from isc.sans.org article) (only on xp / 2k3 unfortunately ) but for 2000 .... SC.exe is your friend.. http://www.ss64.com/ is command line goodness too |
|||||||
| #6 03:33pm 11/05/06 |
|
|||||||
|
system
|
--
|
|||||||
| #6 |
|
|||||||
|
| ||||||||