If you see Error 3334 when trying to connect to a remote server using Remote Desktop Connection Manager (RDCMan) then here is a fix you can try. This fix has been tested on Windows 8.1 64 bit machine running RDCMan 2.2. In some posts i read that by setting the No Authentication Required to Transaction Manager Communication you can get it work. But i am not very convinced with anything that opens any security loop holes.
RDCMan is a 32-bit application so it has a limit of 2GB of address space. So as soon as it reaches that memory limit it starts throwing error 3334. To allow the RDCMan a larger address space we use the /LARGEADDRESSAWARE flag. The /LARGEADDRESSAWARE option tells the linker that the application can handle addresses larger than 2 gigabytes.
So what is this Large Address Aware?
Large Address Aware is an executable flag that tells Windows that a program can handle more than 2 GB of memory. Why this flag exists and it’s use is something that would take a lot of time to explain. But you can read all about LargeAddressAware at your pace.
The Solution: Here is how to apply the /LARGEADDRESSAWARE flag
1. You need Visual Studio installed to use the editbin command. You can download the free Visual Studio Express for Windows Desktop to get the editbin.exe binary.
2. Run the Visual Studio Native Tools Command Prompt as Administrator. Key here is to run as Administrator.
3. Execute this command editbin /LARGEADDRESSAWARE “C:\Program Files (x86)\Remote Desktop Connection Manager\RDCMan.exe”
Try running RDCMan and connecting to your servers. Let me know how it goes for you.
Few other references:
If you enjoyed this post, please consider sharing, leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.