Solved

Where in the Windows Registry are the installed NT services located?

Posted on 2008-10-25
3
825 Views
Last Modified: 2013-12-14
I've been creating an InstallShield 2009 Basic MSI package for a product that installs a few NT Services. When I uninstall the software every component is removed from the system except the service name entry displayed in the SCM ( Service Control Manager ). So the software components are removed but I can still see the NT Service in the Service Control manage. And of course when I try "Start" the service an error message is displayed saying the service executable can't be found... And I'd expect that.

So I want to clean up the registry so these uninstalled NT services don't appear in the SCM list of installed services.

Question:
Where in the registry is this information stored? I'd like to manually remove the SCM entry using regedit.
0
Comment
Question by:notronrj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
TechSinger earned 500 total points
ID: 22805293
If it is a user service for a specific user, it is stored at:
HKEY_CURRENT_USER\SYSTEM\CurrentControlSet\Services

But most services are Local Machine services, and they are stored at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

The name displayed in the SCM is probably not the same name as the subkey listed.  The name displayed in the SCM will be under the value name "DisplayName" of the subkey.

If you can't recognize which subkey is the service you're looking for, you can do a search with regedit for the Display Name and it should find the right subkey.  Removing the full subkey and its subkeys will remove it from the SCM
0
 

Author Comment

by:notronrj
ID: 22805404
Thank you for the response TechSinger.

My registry doesn't have appear to have the HKEY_CURRENT_USER\SYSTEM key.
I did multiple search on the entire registry for the exe name of the service and the service display name and found nothing, yet the SCM still lists the service.

Anybody have any other thoughts?

0
 

Author Comment

by:notronrj
ID: 22805544
As it turns out I had taken the steps suggested by TechSinger before asking the question here. However, it wasn't until I *rebooted* my machine that the service was no longer being displayed in the SCM.

Weird?

Thanks again TechSinger.
0

Featured Post

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An article on effective troubleshooting
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question