最佳答案
我尝试使用sc delete <service name>
删除Windows服务,并遇到以下错误:
[SC]删除服务失败1072:
指定的服务已被标记为删除。
我已经做了什么:
显然停止了服务。sc queryex "<service name>"
给出了以下结果:
SERVICE_NAME: Stub service
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 1067 (0x42b)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
PID : 0
FLAGS :
Ensured that Microsoft Management Console is closed (taskkill /F /IM mmc.exe
),
Due to this removal, services.msc
still shows the service (with a name, but no status or startup type), but the description is “<Failed to Read Description. Error Code: 2 >”. When attempting to view the properties, “The system cannot find the file specified.” is shown five times.
The problem persists.
What is the next step?