设置服务恢复bat命令

提问

设置服务恢复bat命令

回答

  • 以管理员身份运行
sc.exe failure "服务名称" reset=0 actions=restart/60000/restart/60000/run/1000

参考

https://www.cnblogs.com/stoneniqiu/p/4788449.html

https://www.itbaoku.cn/post/2025709.html

posted @ 2023-02-02 08:51  喜爱糖葫芦  阅读(35)  评论(0编辑  收藏  举报