简体   繁体   中英

How to execute .exe file in a remote windows machine using python

I have a Executable file in remote windows machines.How can I execute .exe file remotely using python? or How can I get access to remote windows command line?.Please help.

I have credentials of remote windows machines?

PS: All remote windows machines are in a same network

use command line program psexec.

if you need to control remote computer through python I recommend you install on the remote computer rpyc. on the website of rpyc there is documentation on how to use it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM