title: How to transfer and execute .exe(py2exe) file in remote windows machines in a network using python
body: <p>I have a set of python files which takes the information from windows registry,I have converted these files in to a .exe using py2exe.Now I need to scan the network and detect the active endpoints in it, after detecting the endpoint/machines in the network I need to send this .exe to to the machines and make it execute.How to do this in python.I have a code for transfer of files,My problem is how to execute the .exe file in remote windows machine (I have the credentials of the machine)&amp; get back the results to the server?</p>
  
  <p>I need to accomplish this task using python.</p>
  
  <p>Any help or suggestions please.</p>
  
  <p>Thanks in advance</p>