Solved

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

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Several part series to implement Internet Explorer 11 Enterprise Mode
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now