Configure the target server for PSEXEC

PSEXEC is a remote procedure execution tool written by Mark Russinovich at Microsoft and available for download at

To use PSEXEC you need to open ports 135 (TCP) and 445 (TCP) on the target computer. 

  • Enable the ports in the security group
  • Open the ports inbound in the server’s firewall

You also need to have the IPC$ and ADMIN$ shares enabled. To test the availability of the IPC$ and ADMIN$ shares

  • Open a command prompt on the target computer, and use its IP address in the test

You should get the message:

The command completed successfully.

Leave a comment

Your email address will not be published. Required fields are marked *