jborean93 / pypsexec

Remote Windows execution like PsExec on Python
MIT License
113 stars 38 forks source link

PAExec transfer optimization #31

Open lensonpaul opened 3 years ago

lensonpaul commented 3 years ago

Hi Jordan, I'm wondering if you have considered creating a batch file specific to the service instance that uses PAExec.exe internally? Services would then call their respective service batch file instead. This would require that an instance of PAExec.exe be already on the host; however, the initial connection could check for this and during the service creation, it could be delivered if required ( as is done currently). This reduces considerably the bandwidth and also the size of orphaned instances on the C:\Windows folder. Just a thought for improvement.