[筆記] 解決 psexec 執行screen capture 的程式時,只會抓到一片黑的問題

一開始這樣指令這樣下

psexec \192.168.70.133 -s “\192.168.70.133\c$\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\test_free_image.exe”
結果發現雖然會執行,但是抓到的畫面只有一片黑

後來翻了一下google,發現跟什麼互動式登入有關,要多加個參數 -i

psexec \192.168.70.133 -s -i “\192.168.70.133\c$\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\test_free_image.exe”
這樣子就可以了!

 

 

You forgot to set the qrcode for Alipay. Please set it in _config.yml.
You forgot to set the qrcode for Wechat. Please set it in _config.yml.
You forgot to set the business and currency_code for Paypal. Please set it in _config.yml.
You forgot to set the url Patreon. Please set it in _config.yml.
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×