473,396 Members | 1,766 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,396 software developers and data experts.

How remove Windows service?

Sorry if not the right place for this, but I was wondering how to remove a
VB.NET Windows service when the .exe is no longer on my hard drive.

I run installutil.exe c:\wherever\myservice.exe /u but it can't find the
file.

Thanks,
Ron


May 26 '07 #1
1 4039
Wel normally you would have done this with proper deinstallation of the
program
i guess you could reinstall the service and then do a proper deinstallation
, this wil remove the service`s registry keys

however anny dependancy`s might stil give a wrong usage count ( if you used
a installer module ) , if it was a manual installation this would
completely solve your problem however if it was a installation routine that
you used and you have dependancy dll`s written to the system directory (
COM ) you could then perfom
( after making sure that no other progy`s use this dep ) perfom a unregister
command by hand and then delete the dll

hth

Michel Posseth

"Ronald S. Cook" <rc***@westinis.comschreef in bericht
news:eS***************@TK2MSFTNGP06.phx.gbl...
Sorry if not the right place for this, but I was wondering how to remove a
VB.NET Windows service when the .exe is no longer on my hard drive.

I run installutil.exe c:\wherever\myservice.exe /u but it can't find the
file.

Thanks,
Ron


May 26 '07 #2

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

Similar topics

1
by: ChrisH | last post by:
Does anyone know of a way to remove a Windows service on a remote machine using python? I found the following link on ASPN that tells you how to do just about everything but remove a service. ...
3
by: geek55 | last post by:
I am trying to reinstall MySQL on a Win XP pro box. After uninstalling MySQL 3.x, a 'MySQL' service is left in the list of services. I can't figure out how to delete it, and installation of MySQL...
1
by: charismatic_evangelist | last post by:
I am trying to write a Windows Service in C# .NET Version 1.1. I followed Microsoft's directions: ...
9
by: SP | last post by:
Hi All, I wrote a windows service which is supposed to stop after specified amount of time. I am calling OnStop() after specified time. OnStop() methods executed but I dont see the service...
5
by: Jacobus Terhorst | last post by:
I created a simple windows service. However when I built it again a couple of days later I could no longer install the service. The InstallUtil.exe cannot UNINSTALL the service because "The...
0
by: nagamohan_p | last post by:
I wish to remove Host Protected Area(HPA) of Hard Disk in Windows only through API calls... I found in Linux version ie, "setmax.c" which should be ported to windows... It shouldn't be written...
1
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. I'm having trouble getting the code that I've written to work, can anyone shed some light as to where I'm...
9
by: Charles Law | last post by:
I have a form on which user controls are placed at runtime. When a control is added to the form a handler is added for an event that a high-level object raises, which must be handled by the new...
4
by: tshad | last post by:
What would be a good way to check programmatically whether a service was running? We have a service that dies periodically and I need to check to see if this service is running. I know how to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...
0
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...
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
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...
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...
0
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,...

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.