(SC)删除服务失败1072 [英] (SC) DeleteService FAILED 1072
问题描述
最后一次创建WAS配置文件和WASService,然后尝试配置并运行许多脚本以学习如何配置WAS,最后它崩溃了,所以我使用wasprofile删除了此配置文件,而忘记了删除WASService.
Last time I create WAS profile and WASService then I try to config and run many script for learn how to config WAS, Finally it crash so i use wasprofile delete this profile and forgot delete WASService.
现在,我在services.msc列表中发现了IBM Webphere Application Server服务显示,因此我尝试使用WASService.exe
-remove命令和Windows SC
命令将其删除,但出现消息
Now I found IBM Webphere Application Server service display in services.msc list, so I tried to delete it with WASService.exe
-remove command and windows SC
command but I got message
C:\Program Files\IBM\WebSphere\AppServer\bin>sc delete "IBMWAS61Service - DEV"
[SC] DeleteService FAILED 1072:
The specified service has been marked for deletion.
推荐答案
确保服务已停止,服务控制面板已关闭,并且服务未打开任何打开的文件句柄.
make sure the service is stopped, the services control panel is closed, and no open file handles are open by the service.
还要确保ProcessExplorer没有运行.
Also make sure ProcessExplorer is not running.
这篇关于(SC)删除服务失败1072的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!