无法使用 psexec 在远程机器上启动记事本 [英] can't start notepad on remote machine using psexec
本文介绍了无法使用 psexec 在远程机器上启动记事本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在远程计算机上执行一些脚本,我尝试启动记事本.我用的是psexec,这个命令
I need execute some script in remote computer, I try to start notepad. I use psexec, this command
psexec -e -i 1 \\localhost -u domain\user -p password cmd /c notepad.exe
在我的本地机器上成功打开记事本,但不在远程打开.我看不到任何错误,输出和我在本地机器上执行后看到的一样:
successfully opens notepad on my local machine, but doesn't do it on remote. I can't see any error, output is the same as I see after executing on local machine:
PsExec v2.0 - Execute processes remotely
Copyright (C) 2001-2013 Mark Russinovich
Sysinternals - www.sysinternals.com
我无法在远程机器上成功执行记事本的原因是什么?
What could be a reason I can't execute notepad successfully on remote machine?
推荐答案
使用 psexec 在远程机器上启动记事本:
To start notepad on remote machine using psexec:
psexec \\RemoteserverHOSTNAMEorIPADDRESS -u domain\user -p password -d -i cmd /c notepad.exe
欲了解更多信息.....PsExec
For more information.....PsExec
这篇关于无法使用 psexec 在远程机器上启动记事本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文