Welcome to Jérôme DESMOULINS website
 
67 visitors online.

    WinEXE - Launch distant Windows programs, from Linux


    Introduction

      WinEXE is a command line utility, allowing you to run commands on a remote Windows server from a Linux box.

    Overview

      The tool is used from the command line, with the following syntax:
        winexe -U [WindowsDomain/]User%Password //Server Command
      Examples:
      • winexe -U HOME/Administrator%Pass123 //192.168.0.10 "ipconfig /all"
      • winexe -U HOME/Administrator%Pass123 //host 'cmd /C dir C:\'
      • winexe -U HOME/Administrator%Pass123 //host.com 'cmd /C net stop wuauserv && net start wuauserv && echo AutoUpdates service restarted'
      • cat | winexe -U HOME/Administrator%Pass123 //host cmd <<EOF
        net stop wuauserv
        net start wuauserv
        echo AutoUpdates service restarted
        exit
        EOF

    Screenshots

    Examples

    Author's website

     

    Go back

 
 

Menu Principal