Solved

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

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

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Question has a verified solution.

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

Suggested Solutions

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

910 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

25 Experts available now in Live!

Get 1:1 Help Now