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.