Remote Desktop Connection - An internal error has occurred
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 underHKLM:\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 underHKLM:\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)
-
Open Registry Editor
- Press
Win + R, typeregedit, and pressEnter.
- Press
-
Navigate to the Key
- In Registry Editor, go to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
- In Registry Editor, go to:
-
Locate
MinEncryptionLevel- In the right pane, find
MinEncryptionLevel.
- In the right pane, find
-
Modify the Value
- Double-click
MinEncryptionLevel. - Change the Value data from
4to3. - Click OK to save the changes.
- Double-click
Method 2: Using PowerShell
- Open PowerShell as Administrator.
- 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
- Open PowerShell as Administrator.
- Navigate to the folder where the hardening script is located.
- Run:
.\PSMHardening.ps1
This method ensures all necessary security configurations, including MinEncryptionLevel, are properly applied.