Solved

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

Posted on 2008-10-25
3
822 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
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). …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

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