rdesktop to windows server 2012 from ubuntu

I have a client machine running ubuntu, and I have a windows server 2012 that I connect to using rdesktop.

I need to copy a file from my client machine to the server. I tried sharing a directory like this:

rdesktop -u username -p password -r disk:mydisk=/home/mydir server_IP

I have no idea how to access this shared directory. I have never used rdesktop or windows server before.

please help.


It seems that specifications for RDP (MS-RDPEFS) have changed. In specific Windows versions, you also have to forward audio in order to get disk forwarding to work.


Try adding -r sound:local to your command.

The final command should look like this:

rdesktop -u username -p password -r disk:mydisk=/home/mydir server_IP -r sound:local


Open up Explorer. It should show up in Computer with other drives.