TechSpot
 
Go Back   TechSpot OpenBoards > OS & Software > Windows OS
Forgot?

Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.

How to locate the file of a particular service

Reply
 
Thread Tools Search this Thread
  #1  
Old 05-14-2008, 08:09 PM
adu123 adu123 is offline
TechSpot Member
 
Location: las vegas
Member since: Aug 2007, 213 posts
How to locate the file of a particular service

If there any way I can locate the file that launch its corresponding service? let's say I want to locate the file that launch the mrtRate service, how do I do that? any help would be appreciated
Reply With Quote
  #2  
Old 05-14-2008, 11:01 PM
jobeard's Avatar
jobeard jobeard is offline
TechSpot Evangelist
 
Location: Southern Calif.
Member since: Apr 2005, 5,937 posts
Services local to your machine are in your registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\*
it's a long list
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
  #3  
Old 05-15-2008, 09:46 AM
mscrx mscrx is offline
TechSpot Booster
 
Location: Germany
Member since: Aug 2006, 637 posts
System specs
start > run > (type in) services.msc

look for the service name and open its properties to see which executable it starts and the parameters it uses.

else, yes the registry is a good place to find out as well :-)
Reply With Quote
  #4  
Old 05-15-2008, 06:32 PM
adu123 adu123 is offline
TechSpot Member
 
Location: las vegas
Member since: Aug 2007, 213 posts
Thank you for the responds, I still have some questions wanted to ask:
1)if I install a certain software program, like firefox, nero, etc. will they install a service in the registry?
2)What is the purpose of service? what will happen if a certain service's stopped?
3)If I uninstall a program, will the service associated with that program get deleted as well(assume a program has one)?
I will be really grateful if someone can answer these questions for me, thanks.
Reply With Quote
  #5  
Old 05-15-2008, 07:58 PM
jobeard's Avatar
jobeard jobeard is offline
TechSpot Evangelist
 
Location: Southern Calif.
Member since: Apr 2005, 5,937 posts
Quote:
Originally Posted by adu123
  1. if I install a certain software program, like firefox, nero, etc. will they install a service in the registry?
  2. What is the purpose of service? what will happen if a certain service's stopped?
  3. If I uninstall a program, will the service associated with that program get deleted as well(assume a program has one)?
(3) may or may not uninstall -- depends on how the installer was configured.

(1) A Service is a program WITHOUT a user window attached; runs in background;
may process requests from multiple users or programs. Eg:
Antivirus product, firewall, (at one time TCP was a service). VERY few programs install
a service along with the user GUI.

(2) If you stop a service (or disable it from running) then anything that depends upon it will fail and complain.

Here's a good rule; "If it isn't broken, then don't fix it!"
Reply With Quote
  #6  
Old 05-15-2008, 08:48 PM
adu123 adu123 is offline
TechSpot Member
 
Location: las vegas
Member since: Aug 2007, 213 posts
Hi, jobeard, thank you for answering my questions. So that means if I stop the WindDefend service, the Window Defender wouldn't be able to run, or if I stop the iPod Service, the iTune wouldn't able to run either(no music! ), am I right? Just couple more questions, and I'm DONE
1)How do I know whether a service is launched by window or the svchost.exe?
2)When I go into Window Task Manager, there're bunch of processes running under the Process tab, my question is how are those .exe being loaded in the window? what's the difference between a process and service? I know the svchost process is used to manage one or more DLLservice, but what about the others.
I really appreaciate your help! thank you!
Reply With Quote
  #7  
Old 05-16-2008, 02:31 PM
Bobbye Bobbye is offline
TechSpot Maniac
 
Member since: Mar 2007, 1,496 posts
Some additional information:

IF a program installs a Service and you disable the Service, the program won't run.

Most of the Services you see in the Control Panel> Administrative Tools> Services are part of the operating of the system. Some MUST be on Automatic so they start at boot. Some CAN be on Manual to start only when needed and Some CAN be disabled as not needed, not used or a security risk.

The following site will help you understand Services:
http://www.ss64.com/ntsyntax/services.html

The following will help to determine what services are running under a SVCHOST.EXE process:
http://www.bleepingcomputer.com/tuto...torial129.html
Reply With Quote
  #8  
Old 05-17-2008, 03:27 AM
adu123 adu123 is offline
TechSpot Member
 
Location: las vegas
Member since: Aug 2007, 213 posts
Thank you for the respond, the links you gave me is really helpful, I appreciate it
Reply With Quote
  #9  
Old 05-17-2008, 02:27 PM
Bobbye Bobbye is offline
TechSpot Maniac
 
Member since: Mar 2007, 1,496 posts
You're welcome. Let us know if you need more help.

A caution when working with Services: when changing the start up mode for a Service, it is always advisable to check the Dependency tab first. Some Services may depend on that Service running and that Service may depend on other Services running.
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to locate utility file for Dell GX150 that changes Asset tag breadboard Misc. Software & Utilities 0 12-30-2007 03:55 AM
Locate Link Browser Peerob Windows OS 0 08-03-2007 11:37 AM
SOption.exe - Unable to locate dll golfer34 Windows OS 1 02-08-2006 02:08 PM
Problem extracting xp service pack 2: File corrupt? rich2k4 Windows OS 4 02-03-2005 11:57 PM
Denial of Service attacks to legally target P2P file sharing networks??? Phantasm66 News & Interesting links 7 07-02-2002 10:11 AM


All times are GMT -4. The time now is 08:41 AM.


  TechSpot  The PC Enthusiast Resource    |    News    |    Reviews    |    Guides    |    Downloads    |    Drivers    |    Forums    |    Pricewatch    |    News Archive    |    RSS Feeds
  Our Blog    |    Tech Deals    |   vb Sitemap    |    User Gallery    |    Startup Radar    |    Icons by Foood    |    Powered by StoryTeller    |    TechSpot in Spanish

  Copyright © 1998-2008 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.
Privacy policy.
Advertising | About TechSpot 
TechSpot Pricewatch TechSpot Hot Deals
Windows Startup Radar Tips & Tricks (blog) Guides & Tweaks Windows updates
News Archive TechSpot Blog TechSpot RSS Feeds User Picture Gallery Techspot's IRC# (Chat) TechSpot in Spanish