Knightwish
Knightwish

Reputation: 63

What does the "-k" flag in "svchost -k" means?

I have seen the -K flag in almost every (if not actually all) svchost processes regardless of the service it loads.

It is always in the following format:

[path\]svchost.exe -k group 

Searching google didn't give the exact answer I was looking for, so trying my luck here.

What does the -K means?

Upvotes: 1

Views: 8519

Answers (1)

John Doe
John Doe

Reputation: 1869

-k is just used to specify the group name which svchost needs to start, as far as i know it's the only flag that you can set.

I suspect it's either a leftover from previous versions or a flag used to "future proof" development if more flags are going to be needed.

Upvotes: 3

Related Questions