We have been asked more than once for documentation on the RDP protocol, UDP transport, RD Gateway protocol, etc. So we have put a list together of this kind of documentation. RDP Protocol Specifications are at MSDN. Go to the MSDN Library > Open Specifications >. Then go to navigate to Protocols > Windows Protocols > Technical Documents>
The RDP specs are way down in that list under [MS-RDP…]
- [MS-RDPADRV]: Remote Desktop Protocol: Audio Level and Drive Letter Persistence Virtual Channel Extension
- [MS-RDPBCGR]: Remote Desktop Protocol: Basic Connectivity and Graphics Remoting
- [MS-RDPCR2]: Remote Desktop Protocol: Composited Remoting V2
- [MS-RDPEA]: Remote Desktop Protocol: Audio Output Virtual Channel Extension
- [MS-RDPEAI]: Remote Desktop Protocol: Audio Input Redirection Virtual Channel Extension
- [MS-RDPEAR]: Remote Desktop Protocol Authentication Redirection Virtual Channel
- [MS-RDPECLIP]: Remote Desktop Protocol: Clipboard Virtual Channel Extension
- [MS-RDPEDC]: Remote Desktop Protocol: Desktop Composition Virtual Channel Extension
- [MS-RDPEDISP]: Remote Desktop Protocol: Display Update Virtual Channel Extension
- [MS-RDPEDYC]: Remote Desktop Protocol: Dynamic Channel Virtual Channel Extension
- [MS-RDPEECO]: Remote Desktop Protocol: Virtual Channel Echo Extension
- [MS-RDPEFS]: Remote Desktop Protocol: File System Virtual Channel Extension
- [MS-RDPEGDI]: Remote Desktop Protocol: Graphics Device Interface (GDI) Acceleration Extensions
- [MS-RDPEGFX]: Remote Desktop Protocol: Graphics Pipeline Extension
- [MS-RDPEGT]: Remote Desktop Protocol: Geometry Tracking Virtual Channel Protocol Extension
- [MS-RDPEI]: Remote Desktop Protocol: Input Virtual Channel Extension
- [MS-RDPELE]: Remote Desktop Protocol: Licensing Extension
- [MS-RDPEMC]: Remote Desktop Protocol: Multiparty Virtual Channel Extension
- [MS-RDPEMT]: Remote Desktop Protocol: Multitransport Extension
- [MS-RDPEPC]: Remote Desktop Protocol: Print Virtual Channel Extension
- [MS-RDPEPNP]: Remote Desktop Protocol: Plug and Play Devices Virtual Channel Extension
- [MS-RDPEPS]: Remote Desktop Protocol: Session Selection Extension
- [MS-RDPERP]: Remote Desktop Protocol: Remote Programs Virtual Channel Extension
- [MS-RDPESC]: Remote Desktop Protocol: Smart Card Virtual Channel Extension
- [MS-RDPESP]: Remote Desktop Protocol: Serial and Parallel Port Virtual Channel Extension
- [MS-RDPET]: Remote Desktop Protocol: Telemetry Virtual Channel Extension
- [MS-RDPEUDP]: Remote Desktop Protocol: UDP Transport Extension
- [MS-RDPEUSB]: Remote Desktop Protocol: USB Devices Virtual Channel Extension
- [MS-RDPEV]: Remote Desktop Protocol: Video Redirection Virtual Channel Extension
- [MS-RDPEVOR]: Remote Desktop Protocol: Video Optimized Remoting Virtual Channel Extension
- [MS-RDPEXPS]: Remote Desktop Protocol: XML Paper Specification (XPS) Print Virtual Channel Extension
- [MS-RDPNSC]: Remote Desktop Protocol: NSCodec Extension
- [MS-RDPRFX]: Remote Desktop Protocol: RemoteFX Codec Extension
There are also some listed under [MS-TS….]
- [MS-TSGU]: Terminal Services Gateway Server Protocol
- [MS-TSTS]: Terminal Services Terminal Server Runtime Interface Protocol
- [MS-TSWP]: Terminal Services Workspace Provisioning Protocol
You can also download the Windows Protocols Documentation zip file, unzip the archive and pull out the PDFs for RDP and TS.
Other helpful links: