Use sc command under CMD to delete the tomcat service and report openservice failed 1060 error
Reason: The status of the Tomcat service in the service is disabled. If the status is changed to automatic, sc DELETE Tomcat can be used
Note: Although the service name is Apache Tomcat, you do not need to add Apache when removing the Tomcat service
Conclusion:
There are two ways to delete Windows services:
Option 1: start — run — cmd.exe with the Windows command
, then type sc to see it. The method is simple:
sc delete “Service name” (if there is a space in the Service name, you need to put quotes around it)
as above: sc delete Service
open the registry editor and find the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services generally the service will display a key with the same name here, just delete the key directly.
Reason: The status of the Tomcat service in the service is disabled. If the status is changed to automatic, sc DELETE Tomcat can be used
Note: Although the service name is Apache Tomcat, you do not need to add Apache when removing the Tomcat service
Conclusion:
There are two ways to delete Windows services:
Option 1: start — run — cmd.exe with the Windows command
, then type sc to see it. The method is simple:
sc delete “Service name” (if there is a space in the Service name, you need to put quotes around it)
as above: sc delete Service
open the registry editor and find the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services generally the service will display a key with the same name here, just delete the key directly.
Read More:
- SC OpenService failed 5: Access denied
- FTP use get command 550 failed to open file, but use the put command to solve the problem
- Vue cli 4 CMD command creates an error: error command failed NPM install – loglevel error – solution
- Firewall CMD command in CentOS 7
- Computer CMD window net view command 6118 error resolution
- openservice ERROR_ACCESS_DENIED
- [wechat Payment] use OpenSSL command to generate apicclient_ key.pem Error report URL error 58
- Kill the specified port CMD command line taskkill in window
- Create Vue cli project and report error command failed: Yarn
- Create vue-cli4 project and report error command failed: yarn
- When installing mysql, an error occurs when executing the installation command with the CMD window. Install / Remove of the Service denied
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Python – [encoding] in Python os.system Solution to Chinese garbled code when calling CMD command
- iOS clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Xcode: error: linker command failed with exit code 1(use -v to see invocation) or libstdc++.6.0 is missing
- Xcode ffmpeg Error:/clang:1:1: linker command failed with exit code 1 (use -v to see invocation)
- When configuring ROS distributed / Error report solution and command requirements encountered in the process of master-slave computer
- Windows 7 system, start to run input CMD, the window flashed by, disappeared
- Use less.js to verify and report an error in the Vue file of vscode