It seems the only command line option used by Windows for svchost.exe is -k, followed by the group name which svchost needs to start for a given service. Yet, use of a command line option indicates that it's likely there are other possible options. Yet I can't seem to find such things, and the general method for getting command line options (passing --help or /? on the command line) doesn't seem to work.

Are any other command switches for svchost available? What do they do?

link|improve this question

74% accept rate
1  
Why do you want this? While people have reverse engineered much of scvhost it remains part of the internals of Windows. A future Windows could replace it with something else. – Richard Feb 20 at 8:56
@Richard: I'm trying to write a tool to repair the HKLM\Software\Microsoft\Windows NT\CurrentVersion\Svchost key (after it gets clobbered by malware). That requires me to enumerate services and parse svchost.exe's command line in order to get the load group for a given service. – Billy ONeal Feb 20 at 18:00
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.