Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I run the winexe tool in order to remote executes commands on WIN systems from Linux

Which protocol winexe tool used ?

Not clearly from winexe doc how winexe works ( ssh protocol or RDP …etc )

share|improve this question

winexe uses the admin$ and rpc (net service start) to install and start a remote service (winexesvc). This service initialize a Named Pipe that is used to transport commands from the client to the server and the output in the reverse way. When finish, the named pipe is closes and the winexesvc waits or more connections or is uninstalls (depending of the options given)

The access to the admin$ share and rpc uses the normal SMB protocol (SMB1 and SMB2 in more recent versions due windows 8.1 not supporting anymore SMB1)

This is also the way that psexec work (but it uses SMB2 with fallback to SMB1 for several years)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.