if you have the Reskit installed it should be in the path ... just type rcmd /? :

to install rcmd on a remote server just do somehting like this (It's one of my older ones , as you can see i was on Uppercase KiX )

code:

IF EXIST("\\$Server\admin$\system32\Oemnsvrc.inf") = 0
COPY "%0\..\tools\Oemnsvrc.inf" "\\$Server\admin$\system32\"
ENDIF
IF EXIST("\\$Server\admin$\system32\Rcmdsvc.exe") = 0
COPY "%0\..\tools\Rcmdsvc.exe" "\\$Server\admin$\system32\"
ENDIF
SHELL '%ComSpec% /C %0\..\tools\xnet list \\' + $Server + ' |find /C "RemoteCmd" >nul'
IF @error = 0
SHELL "%ComSpec% /C %0\..\tools\xnet stop \\" + $Server + "\RemoteCmd >nul"
SHELL "%ComSpec% /C %0\..\tools\xnet remove \\" + $Server + "\RemoteCmd /y >nul"
ENDIF
SHELL '%ComSpec% /C %0\..\tools\xnet install \\' + $Server
+ '\RemoteCmd /b:Rcmdsvc.exe /d:LanmanServer /n:"Remote Command Server" /u:LocalSystem /s:auto >nul'
SHELL "%ComSpec% /C %0\..\tools\xnet start \\" + $Server + "\RemoteCmd >nul"

_________________________