Mandy Chang
Mandy Chang

Reputation: 13

Name Services under started process in cmd

In windows 10 cmd, I started a process C:\Windows\system32\svchost.exe -k RPCSS -p successfully. How do I list the services it is currently managing?

I've looked at tasklist, however, that requires the image name, and I am unsure how to identify which svchost it is, in process explorer.

Upvotes: 1

Views: 229

Answers (1)

Hackoo
Hackoo

Reputation: 18837

You can try with in cmd to get the commandline of the process :


wmic process where "name like 'svchost.exe' And CommandLine!=Null" get commandline /Value

Upvotes: 1

Related Questions