Windows uninstall Tomcat service

The location of Tomcat is installed in C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0_Tomcat, the Tomcat service has been stopped in the service,
click to run uninstall.exe as an administrator to report an error: uninstall
Insert picture description here
using the command: run as an administrator powershell,
PS C:\Users\Administrator> cd C:
PS C:> cd "\Program Files (x86)\Apache Software Foundation\Tomcat 7.0_Tomcat"
PS C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0 _Tomcat>
PS C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0_Tomcat> .\Uninstall.exe -ServiceName=“Tomcat”
where Tomcat is the service name, this service name can be seen in the service properties.

Guess you like

Origin blog.csdn.net/MssGuo/article/details/115169693