-2

Using the sc command, we can query, start, and stop windows services. For example:

sc query "windows service name"

Could someone tell me how we can find the windows services associated with particular user through the command line?

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
Suhail
  • 85
  • 6

2 Answers2

0

Try below variation of tasklist

tasklist /v
skvp
  • 1,940
  • 1
  • 20
  • 25
-1
tasklist /SVC /FI "USERNAME ne NT AUTHORITY\SYSTEM"

You need to change the last part to, for example, a domain user.

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
Michal
  • 229
  • 1
  • 3