删除 服务 注册表

batch

sc stop TestApp
sc delete TestApp

REG DELETE "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TestApp" /f
REG DELETE "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\TestApp" /f

 

posted @ 2021-11-24 16:24  papering  阅读(64)  评论(0编辑  收藏  举报