简体   繁体   中英

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?

-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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM