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?
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?
tasklist /SVC /FI "USERNAME ne NT AUTHORITY\SYSTEM"
You need to change the last part to, for example, a domain user.