Installing and uninstalling Windows services using InstallUtil

Source: Internet
Author: User

For an article about installing and uninstalling Windows Services using InstallUtil in Visual Studio 2012, the http://msdn.microsoft.com/en-us/library/sd8zc8ha.aspx in MSDN is described in:

  1. Click on the Start button in the lower left corner and start with the following order -Visual Studio Tools-developer Command Prompt for VS2012", Hit Open a Command Window
  2. Runas/user:Administrator cmd
  3. Prompt to enter the password of the user name, as required (input password without any display)
  4. After the password is entered correctly, a new CMD window is opened, and the title is cmd (run as MyName)
  5. Input command: Installutil.exe Myservice.exe If the installation is successful, the command prompt is displayed directly, there is no information, and if the installation is unsuccessful, a message appears
  6. Admin-Service, can find service "MyService" click Start

2, InstallUtil.exe can be run alone,

To uninstall the Windows service, use the/u parameter. The command is:

Installutil/u Myservice.exe

Installing and uninstalling Windows services using InstallUtil

Related Article

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.