can't start notepad on remote machine using psexec

落花浮王杯 提交于 2019-12-08 02:29:14

问题


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?


回答1:


To start notepad on remote machine using psexec:

psexec \\RemoteserverHOSTNAMEorIPADDRESS -u domain\user -p password -d -i cmd /c notepad.exe

For more information.....PsExec



来源:https://stackoverflow.com/questions/20843526/cant-start-notepad-on-remote-machine-using-psexec

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!