Launch Notepad.exe using PsExec sysinternal tool

心不动则不痛 提交于 2019-12-02 00:01:45

is serverB a terminal server ? if so you have to specify the user's session number, otherwise notepad will be opened in the console (session 0). you can use for example query session to get the active session on you server : query session /server:serverB user1

then pass the session number to -i parameter :

psexec \\serverB -u domain\user1 -i 2 notepad.exe 

where 2 is the session of user1

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