在远程系统中启动进程 [英] Starting a process in Remote system

查看:77
本文介绍了在远程系统中启动进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在通过局域网连接的远程系统中有一个XYZ.exe,其路径是这样的

\\ Emb-ban-026 \ Arbnet2.0-old \ DAQ_Debug.
请注意,这是exe所在位置的网络路径.

如何启动远程计算机的此应用程序并启动它?

我尝试使用Process类,但它不会在远程系统中启动进程.
我也尝试过WMI但没有运气.

有人可以给我更多有关如何使用这种网络路径在远程系统中运行exe的详细信息.

Hi,

I have an XYZ.exe in a remote sytem connected through LAN whose path is like this

\\Emb-ban-026\Arbnet2.0-old\DAQ_Debug.
Please note that this is network path to place where exe is residing.

How can i start this application of remote computer and start it?

I tried using Process class, but it will not start processes in remote system.
Also i tried WMI but no luck.

Can someone give me more details on how to run an exe in remote sytem with this kind of network path.

推荐答案

我将PsExec用于这种类型的事情

http://technet.microsoft.com/en-us/sysinternals/bb897553 [ ^ ]

它允许您指定远程计算机的用户名\密码来执行该过程.非常有用的工具!
I use PsExec for this type of thing

http://technet.microsoft.com/en-us/sysinternals/bb897553[^]

It allows you to specify user name \ password of the remote machine to execute the process. Very useful tool!


这篇关于在远程系统中启动进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆