1

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.

Compo
  • 36,585
  • 5
  • 27
  • 39

1 Answers1

1

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
Hackoo
  • 18,337
  • 3
  • 40
  • 70