停止sygate服务的快捷方法

来源:百度知道 编辑:UC知道 时间:2024/06/15 19:39:10
每次要到服务里选择停止sygate服务;用命令smc -stop要输入密码没办法;有没有办法做个.bat执行命令,点一下就停止这个服务。
(默认还是要自动运行,只是手动停止)

在开始--运行中输入:

cmd /k sc config sygate start=demand 【此为手动】

cmd /k sc config sygate start=disabled 【此为禁用】

cmd /k sc config sygate start=auto 【此为自动】

在开始--运行中输入:

cmd /k sc config sygate start=demand 【此为手动】

cmd /k sc config sygate start=disabled 【此为禁用】

cmd /k sc config sygate start=auto 【此为自动】
在开始--运行中输入:

cmd /k sc config sygate start=demand 【此为手动】

cmd /k sc config sygate start=disabled 【此为禁用】

cmd /k sc config sygate start=auto 【此为自动】

net stop sygate服务

写在记事本中保存为.bat即可