PSExec

On the remote machine:

in firewall settings

Enable Port 445 inbound

Enable Port 137 inbound

add reg key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
LocalAccountTokenFilterPolicy=1