473,320 Members | 2,073 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,320 software developers and data experts.

Uninstalling a Windows Service on Win2003

I have developed a windows service utility using VB.NET and VS.NET on an XP platform.

On the XP platform, when I install a new version of this service it starts
by
removing first the previous version, which is what I expect. Everything is
OK.

On a Win2003 platform when I want to install a new version of the same
service:
1. It does not remove the previous version
2. However, it interrupts installation because the service is already
installed
3. The service is not listed in the add/remove applet so I cannot remove it
from there.
Jun 14 '07 #1
4 2664
epots9
1,351 Expert 1GB
Hi gsabirmalik, welcome to TSDN,

go into your registry (i don't know win2003 so i'll assume its like XP, start->run: regedit)

go to this location:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services

and delete the key of the service u want to delete.

**Be VERY VERY careful inside your registry!!

good luck
Jun 14 '07 #2
For Win2003 there does seem to be an entry for every service. One that I know is running and shows up in the Services mmc is not listed and One that shows up in the Services mmc that I want to remove is also not listed in the registry keys. I am still trying to remove this service. Any ideas on how this is done on Win2003?

Thank you.

Kevin
Jul 7 '07 #3
bartonc
6,596 Expert 4TB
For Win2003 there does seem to be an entry for every service. One that I know is running and shows up in the Services mmc is not listed and One that shows up in the Services mmc that I want to remove is also not listed in the registry keys. I am still trying to remove this service. Any ideas on how this is done on Win2003?

Thank you.

Kevin
It's probably not in the registry (and related problems) because you have not registered it with the system.
Why not just use the MMC to stop it? Then install the new version.

<not to self: Kevin Burton != gsabirmalik.>
Jul 8 '07 #4
bartonc
6,596 Expert 4TB
It's probably not in the registry (and related problems) because you have not registered it with the system.
You may want to check out Explanation of Regsvr32 Usage and Error Messages.
Jul 8 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: dan | last post by:
The service has been developed using VB.NET and VS.NET on an XP platform. On the XP platform, when I install a new version of this service it starts by removing first the previous version, which...
4
by: Wayne | last post by:
First if there is a better group to post this to please let me know. Installutil Service.exe /u will uninstall a service. However, if I try to reinstall the service without rebooting it error's...
1
by: Rhino | last post by:
Is there any way to install the IBM Distributed Debugger V9.2 on Windows XP without first uninstalling DB2? I installed the IBM Distributed Debugger V9.2 on my Windows XP box in the hopes of...
5
by: Dhilip Kumar | last post by:
Hi all, I have developed a windows service using the windows service project template in VS.NET. I have used three controls in the service, a timer, performance counter and a message queue...
7
by: Larry Bird | last post by:
I have a windows service that want to un-install. When I run "installutil /u serivcename" I get the error that the serivce is not installed on my machine. However, when view the serivce console I...
5
by: Andrew | last post by:
Hey all, Requesting help from the VB.Net gurus in here. I was given a task to write a Windows Service (VB.Net) that would run an external program, and if that program closed for any reason...
3
by: Bragadiru | last post by:
Hi, I can publish My Asp.NET 2.0 web service, through a WebSetup project, on a Windows XP Pro Sp2 and it works fine. When I'm trying to publish it on a Windows 2003 Server IIS 6 => when I can...
1
by: Daniel | last post by:
what permissions does a windows service need to execute another process? System.Diagnostics.Process process = System.Diagnostics.Process.Start(info); just local administrator? any specific...
7
by: torus | last post by:
Is the aspnet account called "aspnet" for all non-English versions of Windows and IIS?
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.