473,765 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

force uninstall .NET Windows Service

I have a server with a custom .NET Windows Service installed. The folder
containing the service's .exe and .dll files is long gone.

I need to uninstall the service.

InstallUtil.exe /u "<service name>"

does not work.

What are my other alternatives for uninstalling this service ?
Jul 21 '06 #1
1 4141
Services are stored at HKEY_LOCAL_MACH INE\SYSTEM\Curr entControlSet\S ervices
Worst case you can simply delete the key associated with the service. Make
sure you don't have the service manager open when you do this.

"John A Grandy" <johnagrandy-at-yahoo-dot-comwrote in message
news:OD******** ******@TK2MSFTN GP05.phx.gbl...
>I have a server with a custom .NET Windows Service installed. The folder
containing the service's .exe and .dll files is long gone.

I need to uninstall the service.

InstallUtil.exe /u "<service name>"

does not work.

What are my other alternatives for uninstalling this service ?

Jul 21 '06 #2

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

Similar topics

6
9061
by: tuuky | last post by:
I've created a Windows Service in C# and an installer project for it. I installed the service using the packaged installer project and the service was installed correctly and it runs fine. I've since made some changes to this service. I then proceded to uninstall it (Add/Remove Programs) to install the new one. However, the service still shows under Services, but the .exe is gone. I can't install the new version of the service,...
0
1089
by: david-tiger | last post by:
I created a .net windows service with c++, framework 1.1. It can only be installed with ServiceName.exe -install in console window. But I can not uninstall it. According to documentation, I tried installUtil /u SerivceName.exe. But it fails. Any one has any help? thanks! -- davidxyz
2
18593
by: David Hunt | last post by:
I'm developing a Windows Service and just added a standard try... catch exception handler to its OnStart() routine. I would like to know how to force the service to abort its startup when an exception is encountered. In my current version, the exception handler logs the exception, but then the service continues to run. I'd like it to NOT run after logging the exception. Thanks!
0
1264
by: Daniel Pratt | last post by:
(originally posted to microsoft.public.dotnet.framework) Hi All, I have a Windows Service project that contains an "Installer" class that is used to install and uninstall the service. The installer class (call it MyServiceInstaller) inherits from System.Configuration.Install.Installer, of course. The constructor for MyServiceInstaller configures and adds a ServiceProcessInstaller object and a ServiceInstaller object to the Installers...
3
2975
by: Henry Seymour | last post by:
I've developed a .Net Windows Form application and used the Click-Once Deployment. In that application I would like to allow the user a click-once method of uninstalling it. I do not find an uninstall folder for this application. How can I programmatically uninstall the application? Perferred language is Visual Basic.
1
1447
by: mwolf | last post by:
I have a setup project that installs a windows service. Including a custom action to write a config file. It installs just fine, but when i go to test the uninstall via the windows add/remove programs dialogue, it doesnt uninstall the service registration. Is there something Im missing with the set up project?
3
8208
by: DC | last post by:
Hi, I have developed a windows service in C# and I am using a Visual Studio 2003 installer to install it. When I am updating the service, I usually stop the service in control panel, close control panel (if I don't close, the service will often not properly uninstall), use software uninstallation to remove the service and install the new version via setup.exe.
0
1525
by: savajx1 | last post by:
I am loading signed assemblies from a network share. The assemblies are NOT INSTALLED in the GAC as they are part of an enterprise distributed application implemented as a windows service that loads its code (*.dlls/assemblies) from a network share. The assemblies are signed to allow loading given code access security. I am debugging the windows service but I cannot get it to release/replace a copy of an old version of the *.dll. I...
4
4001
by: UJ | last post by:
How could I have a program uninstall a service and then install a newer version of the same service? This assumes I've already got the files in the appropriate directory to be able to install the new version of the service. TIA - Jeff.
0
9398
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
10007
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9951
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
9832
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
8831
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
7378
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
5421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.