【问题标题】:Winexe command gives returns irrelevant info and doesn't executeWinexe 命令返回无关信息并且不执行
【发布时间】:2021-01-15 19:59:25
【问题描述】:

嘿,伙计们,我正在尝试使用 winexe 并从我的 linux 机器到我的 windows 执行交互式 gui 程序,这种语法就像我写的一样给了我同样的东西

winexe --help

为什么会这样?我在这篇文章中读到:How to activate programs on windows from Linux machine

如果我在命令中使用 --system 和 --interactive=1,我将能够在我的目标机器上运行 gui 程序

winexe --system -U "work/user%pw043" --interactive=1 //server.company.co --system "C:\Utility\prog.exe"

那么,使这项工作的正确语法是什么?我用谷歌搜索了整个互联网,关于这个主题的资源真的很稀缺。

【问题讨论】:

    标签: user-interface remote-access windows-server psexec winexe


    【解决方案1】:

    我设法结合使用 winexe 和 psexec64 运行可执行文件

    winexe -U DOMAIN/user%password //SERVER.company.co "psexec64 -u DOMAIN\user -p password -accepteula -nobanner -h -i 2 C:\windows\notepad.exe
    

    【讨论】:

      猜你喜欢
      • 2015-01-27
      • 2020-04-07
      • 2011-12-11
      • 2016-04-12
      • 1970-01-01
      • 1970-01-01
      • 2014-04-27
      • 2016-08-03
      • 2018-09-17
      相关资源
      最近更新 更多