Recently, I was trying to delete a windows service. Normally it should not be necessary to manually delete a service. Uninstalling an application should remove its associated service (if any).
However, I installed some beta products and a service created by one of the applications was not removed automatically. Its very easy to remove a service from registry if you know the right path. Here is how I did that:
1. Run Regedit or Regedt32
2. Find the registry entry "HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services"
3. Look for the service there and delete it. You can look at the keys to know what files the service was using and delete them as well (if necessary).
alternatively, you can also use command prompt and delete a service using following command:
sc delete < SERVICE name>
or to create, simply type
sc create <SERVICE name>
Update:
If you have space in the file path you need to use quotation marks ("). For example:
sc create "MySQL" binpath= "C:\Archivos de programa\MySQL\MySQL Server 5.1\bin\mysqld.exe"
Thanks to Maya.
NOTE: You may have to reboot the system to get the list updated in service manager.
ZT FROM
http://geekswithblogs.net/shahedul/archive/2006/10/13/93984.aspx
分享到:
相关推荐
A question we often see is "I have a lot of blank lines in my file and I don't want to go through and manually delete them. Is there an easier way to do this?" The answer is: yes! Configure FTP Set up...
wpchanger.zip This shows how to change Windows' Desktop Wallpaper<END><br>20 , discad.zip This shows how to disable control alt and delete by tricking the computer into thinking that the ...
Covers how to create, modify, link, copy, import, back up, restore, and delete GPOs using the Group Policy Management Console and scripting interface, including new Group Policy features that were ...
<END><br>44,Spooler.zip Spooler.ocx activeX control with sample project which demonstrates how to send a document to the Windows printer spooler. <END><br>45,PlayAVI.zip PlayAVI.ocx is an ...
You will learn how the INSERT, UPDATE, and DELETE statements interact with the relational database engine and transaction log to lock and modify data rows with guaranteed consistency. You will not ...
build version and service pack info, the windows directory, the PDC name if you are logged onto an NT server and the time <END><br>62 , ccheckduncount.zip If you want to check if there is a RAS/...
If you want to access a POP server with JavaMail 1.1.3, download and install a POP3 provider. Sun has one available separate from the JavaMail implementation. After downloading and unbundling pop31_...
This is helpful if you are using VCLZip as a service or on a webserver for instance. ******** Upgrading existing applications that use VCLZip 2.X ********** For the most part, existing applications...
This is believed to be a bug in the Windows clipboard and a work around hasn't been found yet. * Asynchronous targets appears to be broken in the current release. * When TDropFileTarget....
With Delphi XE2 and later, VCL 64-bit Windows targets are supported for Delphi only. Currently FireMonkey is partly supported for Delphi only (there are still a few non-ported components). ICS for Mac...
,if you want to restore your settings select Restore (under choose a free DNS Service) and Press apply button 8. Languages preinstalled 9. fastest DNS - a bit improved 10. More Dns (17 to 32) 15 new...
Press any key to continue . . . Sample: @echo off :begin copy a:*.* d:back echo Please put a new disk into driver A pause goto begin 在这个例子中,驱动器 A 中磁盘上的所有文件均复制到d:back中...
c++ wince sdk AI <br>smartphone版本 和windows版本 <br>目录 Table of content I. Introduction....................................................................................................
要深入了解所有这些功能,你可以参考`How-to-use-IDirectoryObject.pdf`文档,它应该提供了更详细的指导和示例代码。同时,`Use_IDirectoryObject_src.zip`可能包含了一些实用的源代码示例,供你参考和学习。