1.在管理机上下载和安装psexec https://docs.microsoft.com/en-us/sysinternals/downloads/psexec 2.在管理机上编写bat脚本,存放在管理机的(c:\inssm.bat); 客户端通过该脚本来安装软件包 @echo off net use x: \\10.97.xx.241\Share /user:username pwd x: REM “Replace your codes starts from here” Ec2Instal