I'm sticking this in the wild just in case it’s of use to someone.
In some instances using a Physical to Virtual server migration process causes a problem with RDP. tested on W2K3 (Windows 2003 Server Enterprise)
This fix works sometimes for ordinary servers with the dreaded "The remote computer has ended the connection"
If you are getting a "The remote computer has ended the connection" error while trying to remote to a migrated server do the following:
Download and install devcon.exe from Microsoft. It’s a command line device manager tool.
Run devcon.exe which will extract it.
Open a cmd prompt
Navigate to the i386 folder devcon made.
Type
devcon.exe -r install %windir%\inf\machine.inf root\rdpdr
Wait until it completes.
That’s it, all done
Yeah I will throw a link to it from the first article, good thinking.
Take a working server (similar O.S. version ofcourse) and copy out the HKLM\System\CurrentControlSet\Enum\Root\RDPDR key and import it in the system with the problems. This also works.
My only worry with that method is will the replacement key value always be correct?
The DEVCON method forces the server to start from scratch with a basic set of values that will work as dictated by %windir%\inf\machine.inf.
But either way, any port in a storm. :)
What’s the expression? “If it’s stupid and it works it’s not stupid”