Discussion Locked

NT services names

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
In Win NT 4.0 Backoffice SBS, on control panel you can see the icon services. There you can find vary services which can be run on NT. I would like to know how to discover the service name so I can write a script file using net stop name_of_the_service_to_be_stopped

7 replies

by bsomogyi

One particularly brute-force method is to use "regedit" (not regedt32, as this only searches for Keys, not data/values) and do a "find..." on the service display name (what service is called in control panel) and make sure you have the "data" checkbox selected. When it finds the key located in HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services the next branch down the tree should be the service name. For instance, I just did a search on "System Event Notification" and found this key: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SENS -- "SENS" is the service name, and if you run "sc.exe query sens", it will give you the status of the System Event Notification service (sc.exe is the "service control" utility in the NT4.0 Resource Kit)Hope this helps (although I'm sure there is a more elegant method),
Blue Thunder Somogyi
bsomogyi@telcordia.com

by rlardinois

At a command prompt, do a "net start". This will show you a list of all the services that are running and the names by which NT recognizes them. For services with longer names, you will need quotes such as:

net stop "Computer Browser"

This discussion is closed to new replies.