加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

the specified service is marked as deletion,can not find the

发布时间:2020-12-14 05:37:37 所属栏目:Windows 来源:网络整理
导读:使用命令注册windows service sc create CCGSQueueService binpath= " D:DKX4003servicesxxx.xx.xxxxx.exe " 在服务资源管理器中找到CCGSQueueService服务,启动提示“can not find the file specified.”不能找到指定的文件。 原因: 路径中不要有特殊

使用命令注册windows service

sc create CCGSQueueService binpath= "D:DKX4003servicesxxx.xx.xxxxx.exe"

在服务资源管理器中找到CCGSQueueService服务,启动提示“can not find the file specified.”不能找到指定的文件。

原因:

路径中不要有特殊符号,比如"."。所以把路径改成“sc create CCGSQueueService binpath= "D:DKX4003servicesxxxxxxxxx.exe"”重新注册服务后启动,可以了。

?

同时用命令卸载windows?service时提示“the specified service is marked as deletion”。

执行:sc?delete CCGSQueueService

原因:服务资源管理器中正在操作CCGSQueueService服务,就会有这个提示。

解决办法:关闭服务资源管理器,在打开则CCGSQueueService服务不存在了,写在完成。或者命令行中执行:sc query CCGSQueueService 查看则服务不存在。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读