Hi,

can you please give me an advice about using PSEXEC on Windows 10? I would like to run/start program with GUI on remote computer, but its not working.

I Can run program with PID, which i can see in task manager, but no GUI is showing on monitor, unforutnately. Down I will copy some commands, which I have already tried. For example my idea is run chrome.exe on remote computer in LAN, with GUI on remote computer of course.

BTW: I have no problem to use psexec to the same computer with the syntax: psexec \\computer -u remote/admin -p xxx shutdown /r (or for example ipconfig)

But program is problem for me, here are some commands with errors on computer:

C:\Users\xx\Downloads>psexec \\xxxx -u remote\admin -p xxxx "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
PsExec v2.2 - Execute processes remotely
Copyright (C) 2001-2016 Mark Russinovich
Sysinternals - www.sysinternals.com
[3676:6068:1031/223133.523:ERRORrocess_singleton_win.cc(409)] Lock file can not be created! Error code: 32
[3676:6068:1031/223133.523:ERROR:chrome_browser_main.cc(1547)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe exited on student-08 with error code 21.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
C:\Users\xxx\Downloads>psexec \\xxxx -u remote\admin -p xxxx -i -d "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
PsExec v2.2 - Execute processes remotely
Copyright (C) 2001-2016 Mark Russinovich
Sysinternals - www.sysinternals.com
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe started on student-08 with process ID 8832. - DOESNT START ANY PROCESS ON REMOTE COMPUTER

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
C:Users\xxx\Downloads>psexec \\xxxx -u remote\admin -p xxx -d "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
PsExec v2.2 - Execute processes remotely
Copyright (C) 2001-2016 Mark Russinovich
Sysinternals - www.sysinternals.com
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe started on student-08 with process ID 1936. -PROCESS SUCESSFULL STARTED, I CAN SEE IN TASK MANAGER, BUT NO GUI

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
C:\Users\xxx\Downloads>psexec \\xxx -u remote\admin -p xxx "C:\program files\Internet Explorer\iexplore.exe" "http://www.yahoo.com/"
PsExec v2.2 - Execute processes remotely
Copyright (C) 2001-2016 Mark Russinovich
Sysinternals - www.sysinternals.com
^C
C:\program files\Internet Explorer\iexplore.exe exited on student-08 with error code 1.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
C:\Users\xxx\Downloads>psexec \\xxx -u remote\admin -p xxx -i "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
PsExec v2.2 - Execute processes remotely
Copyright (C) 2001-2016 Mark Russinovich
Sysinternals - www.sysinternals.com
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe exited on student-08 with error code -1073741502.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
C:\Users\xxx\Downloads>psexec \\xxxx calc.exe -u remote\admin -p xxx -i
PsExec v2.2 - Execute processes remotely
Copyright (C) 2001-2016 Mark Russinovich
Sysinternals - www.sysinternals.com
calc.exe exited on student-08 with error code 0.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
přitom, když dám psexec \\xxx -u remote\admin -p xxxx shutdown /r tak to funguje bez problému, to samé např. výpis ipconfig také bez problému

I have tried these syntaxions, but i wasnt succesfuull



Can you please help me?

Thank you very much