7 SAFERROR_OUTOFMEMORY A memory allocation occurred. 8 SAFERROR_CONNECTIONTIMEDOUT A connection could not be established within the time-out period. 9 SAFERROR_SOCKETCONNECTFAILED Connection to the remote computer failed. 11 SAFERROR_HOSTNOTFOUND The remote computer is unreachable. 12 SAFERROR_WINSOCKSENDFAILED A socket failed. 14 SAFERROR_INVALIDIPADDR The IP address given is not valid. 15 SAFERROR_SOCKETRECVFAILED A socket read failed. 18 SAFERROR_INVALIDENCRYPTION An encryption occurred. 20 SAFERROR_GETHOSTBYNAMEFAILED Winsock name resolution failed. 21 SAFERROR_LICENSINGFAILED Remote Desktop Protocol: Basic Connectivity and Graphics Remoting licensing for the connection failed. 22 SAFERROR_ENCRYPTIONERROR Remote Desktop Protocol: Basic Connectivity and
Graphics Remoting encryption error occurred. 23 SAFERROR_DECRYPTIONERROR A Remote Desktop Protocol decryption error occurred. 24 SAFERROR_INVALIDPARAMETERSTRING An invalid Remote Assistance Connection String, as specified in section 2.2, was used. 25 SAFERROR_HELPSESSIONNOTFOUND A Remote Assistance Connection String, as specified in [MS-RAI], section 2.2, was not found. 26 SAFERROR_INVALIDPASSWORD An invalid password was used. This message is only used in version 1. 27 SAFERROR_HELPSESSIONEXPIRED The Remote Assistance Connection String, as specified in [MS-RAI] section 2.2, has expired. 28 SAFERROR_CANTOPENRESOLVER The remote computer could not resolve the session. 29 SAFERROR_UNKNOWNSESSMGRERROR An unknown error occurred in the remote session manager.
30 SAFERROR_CANTFORMLINKTOUSERSESSION The remote computer not establish a connection to the specified user session. SAFERROR_RCPROTOCOLERROR A remote control protocol error occurred. 33 SAFERROR_RCUNKNOWNERROR An unknown remote control error occurred. 34 SAFERROR_INTERNALERROR An internal error occurred. 35 SAFERROR_HELPEERESPONSEPENDING This code is not used. 36 SAFERROR_HELPEESAIDYES This code is not used. 37 SAFERROR_HELPEEALREADYBEINGHELPED The user is already under remote control. 38 SAFERROR_HELPEECONSIDERINGHELP This code is not used. 40 SAFERROR_HELPEENEVERRESPONDED The remote user did not accept the remote control request during the time-out period. 41 SAFERROR_HELPEESAIDNO The remote user denied the remote control request. 42 SAFERROR_HELPSESSIONACCESSDENIED The remote user does not have access to the specified connection
string, as specified in [MS-RAI], section 2.2. 43 SAFERROR_USERNOTFOUND The specified remote user was not found. 44 SAFERROR_SESSMGRERRORNOTINIT A remote error occurred with the session manager. 45 SAFERROR_SELFHELPNOTSUPPORTED Attempting to control your own session remotely is not supported. 47 SAFERROR_INCOMPATIBLEVERSION An incompatible version was given. This message is only used in version 1. 48 SAFERROR_SESSIONNOTCONNECTED This code is not used. 50 SAFERROR_SYSTEMSHUTDOWN The remote system is shutting down. 51 SAFERROR_STOPLISTENBYUSER The remote system has stopped listening for an incoming connection. 52 SAFERROR_WINSOCK_FAILED A Winsock call has failed. 53 SAFERROR_MISMATCHPARMS A parameter mismatch has occurred. 61 PASSWORDS_DONT_MATCH An invalid password was used. This message is
Protocol syntax refers to data elements (such as packets, structures, enumerations, and methods) as well as interfaces. Protocol revision refers to changes made to a protocol that affect the bits that are sent over the wire. The changes made to this document are listed in the following table. For more information, please contact . Section Tracking number (if applicable) and description Major change (Y or N) Change type Transport : Specified that a static virtual channel MUST be named remdesk. Y Content update. REMOTEDESKTOP_CTL_PACKETHEADER 72262 : Added remdesk to list of ChannelName values. Y Content update. Client Info PDU 72361 : Updated list to say that if the Remote Assistance invitation file is protected by a password, then the AlternateShell field MUST be initialized with the password string. Y Content update. Message Processing Events and Sequencing Rules Described validation sequence when the expert obtains the Remote Assistance Connection String 2, and encryption is selected for the RDP session. Y Content update.
3.5.5 Message Processing Events and Sequencing Updated content for Windows 10 and Windows Server 2016 Technical Preview. Y Content update. Appendix A: Product Behavior Added Windows 10 to applicability list. Y Content update. 6 Appendix A: Product Behavior Updated product behavior notes for Windows 10 and Windows Server 2016 Technical Preview. Y Product behavior note updated.
I 80 80 10 Initialization 62 61 58 55 Session Initialization Expert (Client) ( 37, 50) Session Initialization Novice (Server) ( 41, 53) 66 69 72 77 8 L Local events 62 61 60 57 Session Initialization Expert (Client) ( 39, 52) Session Initialization Novice (Server) ( 42, 54) 67 70 74 78 M Message processing 62 61 59 56 Session Initialization Expert (Client) ( 37, 51) Session Initialization Novice (Server) ( 41, 54) 66 69 73 77 Messages 30 26 27 27 26 22 13 13 13 13 30 N 9 O 10 P 80 11 11 81 Protocol Details 32 R 22 9 10 9 11 27 27 13 13 15 15 14 14 16 16 16 16 13 13 21 20 18 18 17 17 21 19 17 17 18 18 19 S Security 80 80 Sequencing rules
62 61 59 56 Session Initialization Expert (Client) ( 37, 51) Session Initialization Novice (Server) ( 41, 54) 66 69 73 77 26 10 22 10 Session Initialization Expert (Client) abstract data model ( 36, 50) higher-layer triggered events ( 37, 51) initialization ( 37, 50) events ( 39, 52) message processing ( 37, 51) overview ( 35, 49) sequencing ( 37, 51) timer events ( 39, 51) timers ( 37, 50) Session Initialization Expert for Versions 1 and 2 (Client) 42 13 13 Session Initialization Novice (Server) abstract data model ( 41, 53) higher-layer triggered events ( 41, 54) initialization ( 41, 53) events ( 42, 54) message processing ( 41, 54) overview ( 40, 52) sequencing rules ( 41, 54) timer events ( 42, 54) timers ( 41, 53) Share Control RA Expert (Client) 65 66 66 67 66 65 66 67 65 Share Control RA Novice (Server) 68 69 69 70 69 68 69 70 68 12 13 T Timer events 62 61 60 57 Session Initialization Expert (Client) ( 39, 51) Session Initialization Novice (Server) ( 42, 54) 67 70 74 78 Timers 61 61 58 55 Session Initialization Expert (Client) ( 37, 50) Session Initialization Novice (Server) ( 41, 53) 65 68 72 76 83 13 Triggered events - higher-layer 62 61 59 55 Session Initialization Expert (Client) ( 37, 51) Session Initialization Novice (Server) ( 41, 54) 66 69 73 77 V 12 12 Expert (Client) 72 73 72 74 73 70 73 74 72 Voice Novice (Server) 76 77 77 78 77 74 77 78 76 11 79