远程管理Windows服务 [英] manage windows services remotely
本文介绍了远程管理Windows服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好!
我正在构建一个Web配置器控制台来管理其他计算机中的Windows服务,我需要做的是启动和停止服务以及修改该服务的app.config.
我需要wcf来做到这一点吗?
在此先感谢
Hello!
I am building a web configurator console to manage windows services in other machines, what i need to do is to start and stop services and also to modify the app.config of this services.
do i need wcf to do this??
thanks in advance
推荐答案
根据您的描述,您可以使用WCF与目标计算机的消息队列进行通信:
http://msdn.microsoft.com/en-us/library/ms789008.aspx [ ^ ]
http://code.msdn.microsoft.com/msmqpluswcf [
From your description, you could communicate with target machines Message Queues using WCF:
http://msdn.microsoft.com/en-us/library/ms789008.aspx[^]
http://code.msdn.microsoft.com/msmqpluswcf[^]
and react to the messages on the target machine with a service of your own, which can then start, stop, modify config etc.
这篇关于远程管理Windows服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文