cuiyi's blog(崔毅 crazycy)

记录点滴 鉴往事之得失 以资于发展
数据加载中……

windows service start/stop remotely by command

for local:
net start {service name}
net stop {service name}

for remote:
way 1: control panel -> credential manager -> to add remote server
          sc \\{remote server} start {service name}
          sc \\{remote server} start {service name}

way 2: service panel -> left side -> Connect to another server

way 3: psservice.exe from the Sysinternals PSTools would also be doing the job:
          psservice \\server restart service

posted on 2014-03-06 11:50 crazycy 阅读(276) 评论(0)  编辑  收藏 所属分类: 其它


只有注册用户登录后才能发表评论。


网站导航: