I want to use psexec for managing remote systems(install some software on the remote system).I see a requirement that file and printer sharing to be enabled in the remote system,,for psexec to be working. I would like to take remote session into Windows ,using rdesktop and using -s flag of rdesktop ,want to execute a batch file or command like 'netsh' to open ports in remote machine so that the requirements for psexec are fulfilled and I can use psexec to exercise any intended management controls |