Is there a registry setting or something to limit the number of individual services that are run within a single svchost.exe process?
I'm aware of the WIN32_SHARE_PROCESS flag and the sc application's ability to make individual services run in their own process, but I don't want the overhead of a process for each of the dozens of services. Ideally I would like to see the 30 services from Automatic Updates through Workstation that are currently hosted by a single process be shared among three to five processes.
netsvcsgroup has server, workstation, etc., in it, and if you look at the service descriptors for those services inSystem\CurrentControlSet\Services, they referencenetsvcsin theirImagePathsetting. Is it safe to re-arrange the groups as long as I update theImagePathfor all the services that are moved? – Tim Sylvester Dec 07 '09 at 21:30