winexe
1
Samba
User Commands
&doc.version;
winexe
Winexe is a Remote Windows-command executor
winexe
--uninstall
--reinstall
--runas [DOMAIN/]USERNAME[%PASSWORD]
--runas-file FILE
--interactive [0|1]
--ostype [0|1]
-d|--debuglevel=DEBUGLEVEL
--debug-stdout
--configfile=CONFIGFILE
--option=name=value
-l|--log-basename=LOGFILEBASE
--leak-report
--leak-report-full
-R|--name-resolve=NAME-RESOLVE-ORDER
-O|--socket-options=SOCKETOPTIONS
-m|--max-protocol=MAXPROTOCOL
-n|--netbiosname=NETBIOSNAME
--netbios-scope=SCOPE
-W|--workgroup=WORKGROUP
--realm=REALM
-U|--user=[DOMAIN/]USERNAME%[PASSWORD]
-N|--no-pass
--password=STRING
--pw-nt-hash
-A|--authentication-file=FILE
-P|--machine-pass
--simple-bind-dn=DN
--use-kerberos=desired|required|off
--use-krb5-ccache=CCACHE
--use-winbind-ccache
--client-protection=sign|encrypt|off
-V|--version
-?|--help
--usage
DESCRIPTION
This tool is part of the samba
7 suite.
The winexe allows remote command execution on native
Windows operating systems.
OPTIONS
--uninstall
Uninstall winexe service after remote execution.
--reinstall
Reinstall winexe service before remote execution.
--runas [DOMAIN/]USERNAME[%PASSWORD]]
Run as the given user (BEWARE: this password is sent in cleartext over the network!)
--runas-file FILE
Run as user options defined in a file.
--interactive [0|1]
Desktop interaction.
There are two options:
0 - disallow
1 - allow. If allow, also use the --system switch (Windows requirement). Vista does not support this optoin.
--ostype [0|1|2]
Determines which version (32-bit or 64-bit) of service will be installed.
There are three options:
0 - 32-bit
1 - 64-bit
2 - winexe will decide
&cmdline.common.samba.client;
&cmdline.common.connection;
&cmdline.common.credentials;
&popt.autohelp;
EXIT STATUS
The winexe program returns 0 if the operation
succeeded, or 1 if the operation failed.
VERSION
This man page is part of version &doc.version; of
the Samba suite.
AUTHOR
The original Samba software and related utilities
were created by Andrew Tridgell. Samba is now developed
by the Samba Team as an Open Source project similar
to the way the Linux kernel is developed.
The winexe and it's native Windows counterpart were written by Andrzej Hajda.
The Samba client tool winexe was later rewritten by Volker Lendecke.
This manpage was written by Guenther Deschner.