Run the CMD command to install, uninstall, start, and stop Windows service(installutil.exe)

Source: Internet
Author: User

Steps:

1. Run --> cmd: Open the CMD command box.

2. Locate installutil.exe in the command line

Installutil.exe is installed in C:/Windows/Microsoft by default. net/framework/v2.0.50727, so you need to locate this location through CD in cmd (cd c:/Windows/Microsoft. net/framework/v2.0.50727)

3. Operation Command:

1). Install the service command: Enter the following command in the command line:

Installutil.exe path/winservicename.exe

Where pathpattern servicename.exe is located. Press enter.

 

2). Start the service command

Net start servicename

Servicenameis the name of a real service(servicebase.servicename}, which may be the same or different from that of. EXE. If you do not know, go to the installed Service and find your service. Right-click the service name in the property to view the service name.

 

3). Stop the service command

Net stop servicename

 

4) uninstall the service command: Enter the following command in the command line:

Installutil.exe/u path/winservicename.exe

Where pathpattern servicename.exe is located. Press enter.

 

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.