winexe is tool that can execute commands on WIN machines from Linux servers
winexe syntax should be as the following:
winexe -U [Domain/]User%Password //host command
Because I have windows 7 that work as workgroup, I can defined in winexe syntax the domain name
question: is it possible to use the winexe without the domain name ? , or maybe there are some magic ideas that can help me with this case ?
Usage
winexe started without arguments shows list of options, using "--help" will show their descriptions. Most of the tasks can be done using syntax:
winexe -U [Domain/]User%Password //host command
Where 'host' can be given as ip number or DNS hostname and 'command' is a command which will be run on remote system.
Examples:
# winexe -U HOME/Administrator%Pass123 //192.168.0.10 "ipconfig /all"
# winexe -U HOME/Administrator%Pass123 //host 'cmd /C dir C:\'
domain name - HOME