How to find out the short name of a windows service? The short name is handy to stop a service from the command line. One can always use the display name between quotes, but stopping a service like “Windows Firewall (WF) / Internet-verbinding delen (ICS)” isn’t fun like that. 😉
I didn’t find a way to find the short name through the service panel (if you know, please let me know!). So here is how I did it:
- Open regedit and go to HKLM\System\CurrentControlSet\Services
- Do a search on the friendly name
- The name of the parent key is the service’s short name!
UPDATE: An anonymous poster pointed out my post is actually useless =) See the comments for information on how ‘normal’ people look it up.
services.msc
Choose the service you want and doubleclick or select properties.
“Service Name” is the shortname of the service
From command line:
sc query state= all
“SERVICE_NAME:” is again the shortname of the service.
Or you can use servconf
http://logic.linux8.com/download.html
or pserv
http://p-nand-q.com/e/pserv.html
that have this information as a column
ROFL, I must have been looking cross-eyed (maybe just hungry? ;)), how could I miss that property! 🙂 Now I feel stupid, but I’ll leave the post as a pointer for people having similar eye problems 😉
thank you!!
Glad to help 🙂