如何永久删除服务和文件夹?
How can I remove the service and folder permanently?
以AlibabaProtect服务为例
takeown /f "C:\Program Files (x86)\AlibabaProtect
sc delete AlibabaProtect
我运行了上述操作,并通过任务管理器杀死了“阿里巴巴PC安全服务”。然后我运行了以下内容:
I ran the above and killed “Alibaba PC Safe Service” via Task Manager. Then I ran the following:
rmdir /s /q "C:\Program Files (x86)\AlibabaProtect"
服务和文件夹均已成功删除。但是,在我重新启动PC后,两者都回来了。如何永久删除它们?
Both the service and folder were successfully removed. However, after I rebooted the PC, both came back. How can I remove them permanently?
如果遇到删除后重启又回来了,右键 此电脑->管理->服务和应用程序->服务
找到服务项:AlibabaProtect,停止并禁用
重启电脑
再执行
rmdir /s /q "C:\Program Files (x86)\AlibabaProtect"
OK,成功删除。