Remotely
psexec –i –s CMD
hidden
cmd /c sc create &-- binPath= "cmd /c start calc" type= own & net start -- & sc delete & --
interact
cmd /c sc create -- binPath= "cmd /c start calc" type= own type= interact & net start -- & sc delete --
with full app path
cmd /c sc create -- binPath= "cmd /c start \"\" \"C:\windows\regedit.exe\" " type= own type= interact & net start -- & sc delete --
Notes
psexec.exe -i -s %SystemRoot%\system32\cmd.exe
psexec -i -s “%programfiles%\Internet Explorer\iexplore.exe”