REMOVE A WINDOWS SERVICE

Source: Internet
Author: User

You can easily remove a Windows service from the Windows registry using a simple command prompt command called SC .

SC is the command line utility which interacts with the Windows Service Controller and can being used to manage serv ICES on either a remote or local Windows machine.

You'll need to find the name of the service would like to remove before you can issue the SC command to REM Ove it. You can either use the Windows service console or the sc query command to find the name of a Service.

Click the Start menu and type in Services and click the WindowsServices console in the list. Find your service by name and double click it to see the Properties window. The service name can be seen at the top of the form. The below example shows the Skype Updaterservice.

To use the sc query command to find your service name, open up a command prompt and type the below command.

sc query

Find the service_name attribute of your required SERVICE.

Once You has the service name, you'll need to stop the service before you can delete it. Issue the sc stop Command followed by the service name. The below example show how to stop the skypeupdate service.

sc stop skypeupdate

Finally, you can issue the sc delete command to remove the service.

SC Remove Skypeupdate

Original address: Http://www.jamescoyle.net/tag/windows

REMOVE A WINDOWS SERVICE

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.