General discussion

Locked

NT services names

By rhiegen ·
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

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

NT services names

by bsomogyi In reply to NT services names

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

Collapse -

NT services names

by rhiegen In reply to NT services names

The question was auto-closed by TechRepublic

Collapse -

NT services names

by rlardinois In reply to NT services names

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"

Collapse -

NT services names

by rhiegen In reply to NT services names

The question was auto-closed by TechRepublic

Collapse -

NT services names

by eric In reply to NT services names

you can also type... net start "service name"
where service name is the actual service name you are interested in. you will need quotes around the service name if there is a space in it.

Eric
_______________________________
http://networking.brainbuzz.com
http://developers.brainbuzz.com

Collapse -

NT services names

by rhiegen In reply to NT services names

The question was auto-closed by TechRepublic

Collapse -

NT services names

by rhiegen In reply to NT services names

This question was auto closed due to inactivity

Back to Windows Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums