WMI打开远程客户端上的程序,只在进程中显示,界面不出来

PsExec.exe in PSTools

 

open remote program
c:\Users\jia.suhua\Desktop\Remote Start HST\PSTools>PsExec.exe \\10.86.24.175 -i -d -s "C:\Program Files\RealVNC\VNC Viewer\vncviewer.exe"
c:\Users\jia.suhua\Desktop\Remote Start HST\PSTools>PsExec.exe \\10.86.24.175 -i -d -s regedit.exe


net use \\10.86.9.130 irdeto /user:administrator
net use \\10.86.9.130 /delete

 

*********************************************************************************************************************************************
C:\Python27\Scripts>python psexec.py administrator:irdeto@10.86.9.130 cmd -path c:\\windows\\system32\\

 

taskkill /pid 1616 /F

*********************************************************************************************************************************************
1. In PYRATE, using PsExec.exe to restart hst need pay attention to following things:
remote machine can't be remoted by mstsc, not remoted or VNC both ok.
2. Must modify constants.py hst machine username, password