Skip to content

Requested security package not exist error is displayed after reconnecting MsRdpEx session #669

@roman-pr-v

Description

@roman-pr-v

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:

  1. Windows Server installed and configured (Active Directory, DNS server)
  2. 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)
  3. RDP Client installed and configured (modify hosts file, configure DNS settings)
  4. MsRdpEx is installed on the RDP Client
  5. 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:

  1. Make sure the environment variable is set: SSPI_KDC_URL
  2. Make sure the DNS is configured on the RDP client
  3. Open MsRdpEx
  4. Enter valid hostname to the "Computer" field, for example: TST-RDP-Server.negomod.test.lab
  5. Enter valid short username to the "User name" field, for example: joe-moon
  6. Click "Connect" button -> enter valid password and click "OK" button -> MsRdpEx session is successfully launched
  7. 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
Image
msrdpex.logs.txt
sspi-negomod.log

ER: The MsRdpEx session is successfully reconnected. No error has occurred.

Metadata

Metadata

Labels

priority: p2-MediumNormal-priority issue for regular planned worktype: bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions