system权限运行cmd

创建服务

sc create runsys  binpath= "cmd /k start" type= own type= interact

启动服务

net start runsys

原文地址:https://www.cnblogs.com/ahuo/p/1777282.html