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:ERROR:process_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. - nenastartovalo žádn ý proces na remote pc
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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. - již nastartovalo proces, který je vidětz ve správci úloh, ale GUI se na vzdáleném pc nespustí
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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
Vyzkoušel jsem tyto syntaxe, ale žádná nefunguje, proto se tady ptám, nevím jak to má přesně být