473,785 Members | 2,374 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows service not getting uninstalled.

Hi all

I have removed windows service from add/remove program, still that
service is getting displayed in SCM.
Problem is at a time of stopping that service error occured and so
status of service getting displayed in scm is 'stopping'. and then i
tried to uninstall that service from add/remove program.

Service is uninstalled cmpletely but still its entrry is there in scm.
can someone tell me why this is happening.

any help will be appreciated

thanks in advance.

Nov 17 '05 #1
4 1753
Hi,

Did you tried to refresh the service list?
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

<tr************ **@yahoo.com> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Hi all

I have removed windows service from add/remove program, still that
service is getting displayed in SCM.
Problem is at a time of stopping that service error occured and so
status of service getting displayed in scm is 'stopping'. and then i
tried to uninstall that service from add/remove program.

Service is uninstalled cmpletely but still its entrry is there in scm.
can someone tell me why this is happening.

any help will be appreciated

thanks in advance.

Nov 17 '05 #2
hi
ya i tried a lot to refresh service. i closed scm and reopened scm
again.
but still same problem exist.
but when i restarted my pc then that entry gets removed from scm.
but every time restarting pc for uninstalling service is not flexible.
can u tell me why this is happening.
any help will be apprecaited.
thanks in advance.

Nov 17 '05 #3
Hi,

The only reason I can think of is cause the error you are getting when
sttoping ti?

can you get rid of it?
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

<tr************ **@yahoo.com> wrote in message
news:11******** *************@o 13g2000cwo.goog legroups.com...
hi
ya i tried a lot to refresh service. i closed scm and reopened scm
again.
but still same problem exist.
but when i restarted my pc then that entry gets removed from scm.
but every time restarting pc for uninstalling service is not flexible.
can u tell me why this is happening.
any help will be apprecaited.
thanks in advance.

Nov 17 '05 #4
I don't think it is recommended to remove windows services using
add/remove programs (unless they are part of some other application).

When it comes to adding and removing services I believe you are better
off using the .NET installer classes. If you don't want to use these
you might want to look at the functions in advapi32.dll such as
CreateService and DeleteService. As Ignacio is pointing out there are
of course problems if the service does not stop correctly. Make sure it
does.

Then again, the SCM does not remove a service until the process that
called for the removal of the service goes to end. I believe this is
not a bug but by design. If you really want to remove it without
restarting your computer, try removing the service programmaticall y
from the windows registry
(HKEY_LOCAL_MAC HINE\SYSTEM\Cur rentControlSet\ Services).

Good luck

Nov 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1221
by: CS Loh | last post by:
Hi, I install a filter driver through INF file to a 3rd party audio device (with driver). The filter driver works well on the 3rd party driver. However upon uninstallation of the filter driver, it will eventually cause the audio driver get uninstalled as well. Here are the steps to uninstall the filter driver: 1. Disable the target audio device. 2. Delete the filter name from "Upperfilters" key of the audio device in
6
1397
by: SusieQ | last post by:
Is it possible to have asp.net on a windows 2000 server and still retain compatibility with clients who don't want to use it? I installed Aspnet on my Windows 2000 server and it killed all my ODBC (MSAccess) connections. As soon as I uninstalled it I was able to connect again. Is there something I need to do in order to use Aspnet on W2K and not clobber the connections?
0
924
by: CS Loh | last post by:
Hi, I install a filter driver through INF file to a 3rd party audio device (with driver). The filter driver works well on the 3rd party driver. However upon uninstallation of the filter driver, it will eventually cause the audio driver get uninstalled as well. Here are the steps to uninstall the filter driver: 1. Disable the target audio device. 2. Delete the filter name from "Upperfilters" key of the audio device in
0
1231
by: =?Utf-8?B?c3VqaXRo?= | last post by:
i have a setup project setup1 which deploys two windows services windows service1,windows service2.i also added some custom installation actions into it using projectinstaller.cs.In windowsservice1 oninstall event,i attached a database ;(create database for attach command) . in windowsservice2 onuninstall event,i deletes the databse using "drop database"; the setup exe installs the windows services successfully.but when i uninstall them,...
0
9483
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10346
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10096
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9956
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8982
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5386
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5514
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.