How to delete or add services in windows!

Source: Internet
Author: User
Tags apache tomcat

Sometimes in actual applications, we may need to add some services to the Windows service process. But how can we add them? The following is an example:

Add Service (inetsvr. inf ):

[ Version ]  
Signature = " $ Windows NT $ "  
[ Defaultinstall. Services ]  
Addservice = Tomcatsvr ,, My_addservice_name
[ My_addservice_name ]  
Displayname = Apache Tomcat
Description = Start the Tomcat service.
Servicetype = 0x10
Starttype = 3  
Errorcontrol = 0  
Servicebinary = D:/tomcat- 4.1.31 /Bin/startup. bat

 

Sometimes, when you uninstall oracle in a Windows environment, you cannot Uninstall all services. You need to delete the services in Windows by manually deleting them:

Delete a service (uninstall_inetsvr.inf ):

[Version]
Signature = " $ Windows NT $ "  
[Defainstall install . Services]
Delservice = Oracleorahome81tnslistener

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.