Environment:
- sspi-rs: master - abb9ffe
- MsRdpEx v2026.01.12.0 - https://github.com/Devolutions/MsRdpEx/releases
- Windows Server: WS 2025, Edition: Windows Server 2025 Standard Evaluation, Version: 24H2, OS build: 26100.32690, Experience: Windows Feature Experience Pack 1000.26100.275.0
- RDP server: Windows 11, Edition: Windows 11 Pro, Version: 25H2, OS build: 26200.8246, Experience: Windows Feature Experience Pack 1000.26100.297.0
- RDP client: Windows 11, Edition: Windows 11 Pro, Version: 25H2, OS build: 26200.8246, Experience: Windows Feature Experience Pack 1000.26100.297.0
Preconditions:
- Windows Server installed and configured (Active Directory, DNS server)
- RDP Server installed and configured (join the RDP server to the Windows Server domain, enable Remote Desktop, grant users access via RDP and modify hosts file)
- RDP Client installed and configured (modify hosts file, configure DNS settings)
- MsRdpEx is installed on the RDP Client
- Environment variables are set on the RDP Client: SSPI_KDC_URL, SSPI_LOG_PATH, SSPI_LOG_LEVEL, MSRDPEX_CREDSSP_DLL, MSRDPEX_LOG_ENABLED, MSRDPEX_LOG_FILE_PATH, MSRDPEX_LOG_LEVEL
Steps:
- Make sure the environment variable is set: SSPI_KDC_URL
- Make sure the DNS is configured on the RDP client
- Open MsRdpEx
- Enter valid hostname to the "Computer" field, for example: TST-RDP-Server.negomod.test.lab
- Enter valid short username to the "User name" field, for example: joe-moon
- Click "Connect" button -> enter valid password and click "OK" button -> MsRdpEx session is successfully launched
- Cause network interference to call session reconnect
AR: Requested security package not exist error is displayed after reconnecting MsRdpEx session, see screen and logs in attach: MsrdpEx-reconnection-error-ntlm.png, msrdpex.logs.txt, sspi-negomod.log

msrdpex.logs.txt
sspi-negomod.log
ER: The MsRdpEx session is successfully reconnected. No error has occurred.
Environment:
Preconditions:
Steps:
AR: Requested security package not exist error is displayed after reconnecting MsRdpEx session, see screen and logs in attach: MsrdpEx-reconnection-error-ntlm.png, msrdpex.logs.txt, sspi-negomod.log

msrdpex.logs.txt
sspi-negomod.log
ER: The MsRdpEx session is successfully reconnected. No error has occurred.