?
Solved

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

Posted on 2008-10-25
3
Medium Priority
?
830 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 2000 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

Limited time offer using promo code EXPERTS30

Designed with a wealth of functionality and convenience, ATEN's new Thunderbolt™ 2 Sharing Switch takes your Thunderbolt setup to the next level. Now through September 15, 2017, Experts Exchange members get 30% off the US7220 on the ATEN USA eShop using promo code EXPERTS30.

Question has a verified solution.

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

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Suggested Courses

801 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