Remote Desktop Connection - An internal error has occurred

Remote Desktop Connection - An internal error has occurred

278
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:05 PM


Symptom


When attempting to connect via Privileged Session Manager (PSM), the user encounters the following error message:

"Remote Desktop Connection - An internal error has occurred."

  

 



Environment


12.2;12.4;12.3;12.5;12.6;12.7;13.0;13.2;13.1;14.0;13.3;14.2;14.3;14.4 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM);Privilege Cloud PSM

Cause


The issue occurs due to an incorrect MinEncryptionLevel value in the Windows Registry under
HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp.
If set to 4, it enforces FIPS-compliant encryption, leading to the "An internal error has occurred" message during RDP connection attempts.



Resolution


If the MinEncryptionLevel value under
HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
is set to 4, you can fix it using one of the following methods.


Method 1: Using Registry Editor (GUI)

  1. Open Registry Editor

    • Press Win + R, type regedit, and press Enter.
  2. Navigate to the Key

    • In Registry Editor, go to:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
      
  3. Locate MinEncryptionLevel

    • In the right pane, find MinEncryptionLevel.
  4. Modify the Value

    • Double-click MinEncryptionLevel.
    • Change the Value data from 4 to 3.
    • Click OK to save the changes.

Method 2: Using PowerShell

  1. Open PowerShell as Administrator.
  2. Run the following command:
    Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" -Name "MinEncryptionLevel" -Value 3
    

Method 3: Run PSM Hardening Script

  1. Open PowerShell as Administrator.
  2. Navigate to the folder where the hardening script is located.
  3. Run:
    .\PSMHardening.ps1
    

This method ensures all necessary security configurations, including MinEncryptionLevel, are properly applied.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001JOtCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail