473,394 Members | 1,709 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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 1740
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.googlegr oups.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*********************@o13g2000cwo.googlegro ups.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 programmatically
from the windows registry
(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servi ces).

Good luck

Nov 23 '05 #5

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

Similar topics

0
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,...
6
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...
0
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,...
0
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...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.