如何手动删除服务?Windows手动删除服务列表中残留服务的方法
时间:2023-02-22 01:08:45
如何手动删除服务?无意中删除了正在使用的MongoDB服务,打开“services.msc”却发现,在操作界面中无法删除残留的服务名称,导致重新建立服务也无法成功。其实使用一个简单的命令行就可以解决这个问题,下面分享Windows手动删除服务列表中残留服务的方法
无意中删除了正在使用的MongoDB服务,打开“services.msc”却发现,在操作界面中无法删除残留的服务名称,导致重新建立服务也无法成功。其实使用一个简单的命令行就可以解决这个问题,操作方法如下:
1、在“运行”(Win+R)中输入“services.msc”,打开服务管理。无法启动MongoDB服务,错误提示“系统找不到指定的文件。”
2、使用sc命令来删除
在“运行”中输入“CMD”,打开命令行,运行:
sc delete MongoDB
竟然显示错误“[SC] OpenService 失败 5:”,并且拒绝访问。看样子是权限问题。
“以管理员身份运行”命令行,再次运行上面的命令,成功删除!
标签:Windows服务,删除服务
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
亚马逊购物如何取消会员自动续费?亚马逊购物取消会员自动续费的方法
2023-09-03 04:13:13
![](https://img.aspxhome.com/file/2023/7/a332752_0s.jpg)
wps怎样打开两个独立的word
2023-12-02 07:35:09
![](https://img.aspxhome.com/file/2023/0/19180_0s.jpg)
如何在wps中设置段落间距如何批量调整段落间距
2022-03-09 03:38:50
![](https://img.aspxhome.com/file/2023/8/a169578_0s.jpg)
Win10统一更新平台UUP升级文件转换完整ESD/ISO镜像方法详解
2023-10-13 03:53:20
![](https://img.aspxhome.com/file/2023/30/a263601_0s.png)
2003excel表格为什么打不开
2022-06-26 12:11:50
Win8.1系统桌面只有控制面板的解决方法
2022-07-26 17:06:31
![](https://img.aspxhome.com/file/2023/2/a290524_0s.jpg)
新星邮件速递专家如何启用代理服务器
2022-11-05 01:42:21
![](https://img.aspxhome.com/file/2023/9/a341128_0s.png)
Win10内部T恤暗藏神秘代码 破解大神在哪儿?
2023-06-05 23:34:15
![](https://img.aspxhome.com/file/2023/29/a253168_0s.jpg)
Excel中type函数的功能操作
2022-08-23 01:10:49
Excel中如何对字段进行合并?Excel进行字段合并的三种情况
2022-11-20 05:18:17
![](https://img.aspxhome.com/file/2023/5/40485_0s.png)
利用U盘重置开机密码的小方法
2022-01-27 10:09:10
![](https://img.aspxhome.com/file/2023/2/a285527_0s.png)
Win10屏幕刷新率如何调节?Win10屏幕刷新率调节方法介绍
2022-12-30 00:59:34
![](https://img.aspxhome.com/file/2023/6/a323240_0s.jpg)
Excel文件双击打不开怎么办
2022-03-05 13:07:43
![](https://img.aspxhome.com/file/2023/6/37356_0s.jpg)
PPT如何一键解决演讲忘词
2022-02-01 07:34:29
![](https://img.aspxhome.com/file/2023/10/a351631_0s.jpg)
谷歌浏览器adobe flash player不是最新版本该怎么办?
2023-09-23 03:12:38
![](https://img.aspxhome.com/file/2023/4/a303387_0s.png)
CPU使用率高的原因及解决方法
2023-11-24 09:21:27
![](https://img.aspxhome.com/file/2023/3/a296312_0s.png)
嗨格式录屏大师录制游戏视频卡怎么办?
2023-02-22 13:26:43
![](https://img.aspxhome.com/file/2023/7/a331168_0s.jpg)
电脑管家win10升级检测提示“帐号登录不符合要求”怎么办?
2022-07-05 20:26:39
![](https://img.aspxhome.com/file/2023/28/a247434_0s.png)
word2003文档有密码怎么破解?word2003破解密码方法
2023-03-26 15:52:08
![](https://img.aspxhome.com/file/2023/0/25360_0s.jpg)
Word文档段落首行缩进两种设置方法图解
2022-01-15 11:11:25
![](https://img.aspxhome.com/file/2023/1/28611_0s.jpg)