3.1.5.3 Processing Licensing Error Messages

Both the server and the client can send a Licensing Error Message (section 2.2.2.8) and indicate a state transition with the error code. Possible state transitions include the following:

  • ST_TOTAL_ABORT aborts the licensing protocol. The server and the client can both send this state transition. Aborting the licensing protocol MAY disconnect the RDP client connection, depending on the server licensing system.<16>

ST_NO_TRANSITION is used when the server is to indicate success. It MUST set the dwErrCode field to STATUS_VALID_CLIENT and state transition to ST_NO_TRANSITION (see [MS-RDPBCGR] section 2.2.1.12.1.3).

  • ST_RESET_PHASE_TO_START resets the licensing protocol and client goes back to "CLIENT LICENSING AWAIT" state and server goes back to "SERVER LICENSING BEGIN" state.

  • ST_RESEND_LAST_MESSAGE makes the client and server resend the previously sent message.

ST_RESET_PHASE_TO_START and ST_RESEND_LAST_MESSAGE are not shown in the Client State Transition diagram (section 3.1.5.3.1) and Server State Transition diagram (section 3.1.5.3.2), as they can cause confusion.<17>