<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article PSMRD001E User was disconnected from remote machine. Reason: [reason.] (Code: &amp;lt;error_code&amp;gt;) in PAM Self-Hosted Articles</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/psmrd001e-user-was-disconnected-from-remote-machine-reason/ta-p/1428993</link>
    <description>When using Privileged Session Management (PSM) and attempting to make a PSM-RDP connection, the user may encounter one of the following errors:&lt;BR /&gt;&lt;SPAN style="color: #e74c3c;"&gt;&lt;EM&gt;PSMRD001E User was disconnected from remote machine. Reason: [An internal error has occurred.] (Code: &amp;lt;error_code&amp;gt;).&lt;BR /&gt;Or: PSMRD001E User was disconnected from remote machine. Reason: [Error connecting to remote computer:] (Code &amp;lt;error_code&amp;gt;).&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;The secondary accompanied code is a Mircosoft error that indicates the reason for the occurrence. This Microsoft article explains the various types of error codes and the reason for the issue:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/archive/technet-wiki/37870.remote-desktop-client-troubleshooting-disconnect-codes-and-reasons" target="_blank"&gt;Remote Desktop Client Troubleshooting: Disconnect Codes and Reasons&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;*These errors can also be found within the PSM Trace logs / debug logs.&lt;/EM&gt;
&lt;H3&gt;Issue&lt;/H3&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;When attempting to make a PSM-RDP connection, the user will encounter one of the following errors:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;PSMRD001E User was disconnected from remote machine. Reason: [An internal error has occurred.] (Code: &amp;lt;error_code&amp;gt;).&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;Or:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;PSMRD001E User was disconnected from remote machine. Reason: [Error connecting to remote computer:] (Code &amp;lt;error_code&amp;gt;).&lt;/P&gt;
&lt;H3&gt;Environment&lt;/H3&gt;
PAS&lt;BR /&gt;PSM

&lt;H3&gt;Cause&lt;/H3&gt;
&lt;P class="MsoNormal"&gt;The internal error code is a Microsoft error code, it is not originated from the PSM or from the Idira side.&lt;/P&gt;
&lt;H3&gt;Resolution&lt;/H3&gt;
&lt;P class="MsoNormal"&gt;Below is a Microsoft article that explains the various types of error codes:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/archive/technet-wiki/37870.remote-desktop-client-troubleshooting-disconnect-codes-and-reasons" target="_blank"&gt;Remote Desktop Client Troubleshooting: Disconnect Codes and Reasons&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For example, code 3335 means:&lt;BR /&gt;As a security precaution, the user account has been locked because there were too many logon attempts or password change attempts. Wait a while before trying again or contact your system administrator or technical support.&lt;BR /&gt;&lt;BR /&gt;Code 3847 means:&lt;BR /&gt;This user account's password has expired. The password must change in order to logon. Please update the password or contact your system administrator or technical support.&lt;BR /&gt;&lt;BR /&gt;Please&amp;nbsp;follow the error codes and Microsoft's recommendation.&lt;BR /&gt;It is also suggested to make sure the connection is working manually, and that the target accepts the connection from the PSM while using the same credentials from the account.&lt;/P&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
&lt;DIV&gt;In the table below, we'll explore the most common occurrences of these Microsoft errors:&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;TABLE border="1"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH colspan="1" rowspan="1" style="text-align: center;"&gt;
&lt;DIV style="text-align: left;"&gt;&amp;nbsp;ErrorCode:&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;/TH&gt;&lt;TH colspan="1" rowspan="1"&gt;&amp;nbsp;Cause:&amp;nbsp; &amp;nbsp;&lt;/TH&gt;&lt;TH colspan="1" rowspan="1"&gt;Resolution:&amp;nbsp;&amp;nbsp;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;516&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;A standard RDP error. PSM failed to connect to target with code 516.&amp;nbsp;&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;DIV&gt;&lt;BR /&gt;On the PVWA account page, inspect the account in question, verify the address for the target. If this is a new account, good chance the target address is incorrectly entered here.&lt;BR /&gt;&lt;BR /&gt;Also, verify you can reach the target from the PSM. Do this by logging into the PSM as an administrator:&lt;/DIV&gt;
&lt;UL&gt;&lt;LI&gt;Run mstsc.exe&lt;/LI&gt;&lt;LI&gt;Enter the target address exactly as it is seen in the PVWA account details.&lt;/LI&gt;&lt;/UL&gt;
&lt;DIV&gt;
&lt;DIV&gt;If you can't reach the target with the above test, the problem will almost certainly be with the target Server itself. Review Microsoft's definition of error code 516 for potential causes with the target server.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;3335&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;The account you are connecting to is locked out.&lt;BR /&gt;SSL_ERR_ACCOUNT_LOCKED_OUT&amp;nbsp;&lt;BR /&gt;3335 (0xD07)&amp;nbsp;&lt;BR /&gt;The account is locked out.&amp;nbsp;&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;unlock the target account before initiating a PSM connection.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;2056&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;PSMConnect user lacks permissions on needed Microsoft Licensing keys in the PSM server's registry.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;DIV&gt;Grant the PSMConnect user Full Access to the following keys in PSM server's registry, typically server reboot is not necessary but may be needed if behavior is still the same:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;UL&gt;&lt;LI&gt;HKLM\SOFTWARE\Wow6432Node\Microsoft\MSLicensing&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;HKLM\SOFTWARE\Wow6432Node\Microsoft\MSLicensing\Store&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;4359&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;It is likely that there is a restriction to what remote machines this domain account can log into.&lt;BR /&gt;This can be set in one of two ways via the account's properties in Active Directory:&lt;BR /&gt;1. Attribute Editor tab &amp;gt; userWorkstations&lt;BR /&gt;2. Account tab &amp;gt; "Log On To..."&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;These values only accept the NetBIOS or DNS name of the remote computers.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;&lt;BR /&gt;You need to ensure that both the remote machine you want to log into with the domain account AS WELL AS the PSM server are specified in this attribute.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;263&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;RDP connections are not configured with SSL.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;In the System Configuration page, in the Web Access section, click Options, then select Connection Components; the connection component parameters that define target addresses are displayed in the properties list.&amp;nbsp;&lt;BR /&gt;Expand the PSM-RDP connection component, and then expand the Target Settings.&amp;nbsp;&lt;BR /&gt;Right-click Client Specific, then in the pop-up menu select Add Parameter; a new parameter is added to the list of client specific parameters.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In the parameter properties, specify the following:&amp;nbsp;&lt;BR /&gt;Name – The name of the client specific parameter. Specify AuthenticationLevel.&amp;nbsp;&lt;BR /&gt;Value – The authentication level that will be used for this connection. Specify any of the following values:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Value Description&amp;nbsp;&lt;BR /&gt;0 The PSM server is not required to authenticate the target machine before connecting to it.&amp;nbsp;&lt;BR /&gt;1 The PSM server will authenticate the target machine before connecting to it.&amp;nbsp;&lt;BR /&gt;2 The PSM server will authenticate the target machine before connecting to it. If the authentication fails, the user will be able to cancel the connection or to initiate a connection without authentication.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Set AuthenticationLevel = 2&lt;BR /&gt;&lt;BR /&gt;This will allow the RDP session to connect after getting the certificate error.&amp;nbsp;&lt;BR /&gt;Click Apply to apply the new Connection Component configurations&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;4871&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;A Group policy that is enabled on the target server is causing this problem.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;Under GPO &amp;gt; Local policies &amp;gt; User Rights Assignment &amp;gt;Deny access to this computer from the network&amp;nbsp;&lt;BR /&gt;This policy has been enabled. Check that the account used to connect to the target is not part of the groups configured.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;4&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;PSM and target server do not support the same cipher suites.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;Compare the list of enabled TLS cipher suites on both PSM and target server using either&amp;nbsp;&lt;BR /&gt;1) IISCrypto&amp;nbsp;&lt;BR /&gt;or&amp;nbsp;&lt;BR /&gt;2) PowerShell command&amp;nbsp;get-tlsciphersuite (only supported by Windows 2016 or above)&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy000009MBbkIAG__eid=ka3Vy000009MBbk&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003L4wm.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97203iA6DB0DC90DF73EC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy000009MBbkIAG__eid=ka3Vy000009MBbk&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003L4wm.png" alt="ka3Vy000009MBbkIAG__eid=ka3Vy000009MBbk&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003L4wm.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Make sure the same set of ciphers are enabled on both PSM and target server. Extra ciphers can be enabled by using&lt;BR /&gt;&lt;BR /&gt;1) IISCrypto&amp;nbsp;&lt;BR /&gt;or&lt;BR /&gt;2) PowerShell command&amp;nbsp;Enable-TlsCipherSuite (only supported by Windows 2016 or above).&lt;BR /&gt;For example&lt;BR /&gt;Enable-TlsCipherSuite -Name "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;3847&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;This user account's password has expired. The password must change in order to logon. Please update the password.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;&lt;U&gt;SYMPTOM:&lt;/U&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;When attempting to make a PSM-RDP connection, the user will encounter one of the following errors:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;PSMRD001E User was disconnected from remote machine. Reason: [An internal error has occurred.] (Code: &amp;lt;error_code&amp;gt;).&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;Or:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;PSMRD001E User was disconnected from remote machine. Reason: [Error connecting to remote computer:] (Code &amp;lt;error_code&amp;gt;).&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;U&gt;&lt;B&gt;PROBLEM:&lt;/B&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;The internal error code is a Microsoft error code, it is not originated by the PSM or from Idira side.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;&lt;U&gt;SOLUTION:&lt;/U&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;There is a Microsoft article here:&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;https://social.technet.microsoft.com/wiki/contents/articles/37870.rds-remote-desktop-client-disconnect-codes-and-reasons.aspx&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;This explain on the various types of error codes.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;For example code 3335 means:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;As a security precaution, the user account has been locked because there were too many logon attempts or password change attempts. Wait a while before trying again, or contact your system administrator or technical support.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;Follow the error codes and the Microsoft recommendation.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;It is also suggested to make sure the connection is working manually and the target accept the connection form the PSM while using the same credentials from the Account.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2026 19:55:00 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2026-11-05T19:55:00Z</dc:date>
    <item>
      <title>PSMRD001E User was disconnected from remote machine. Reason: [reason.] (Code: &lt;error_code&gt;)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/psmrd001e-user-was-disconnected-from-remote-machine-reason/ta-p/1428993</link>
      <description>When using Privileged Session Management (PSM) and attempting to make a PSM-RDP connection, the user may encounter one of the following errors:&lt;BR /&gt;&lt;SPAN style="color: #e74c3c;"&gt;&lt;EM&gt;PSMRD001E User was disconnected from remote machine. Reason: [An internal error has occurred.] (Code: &amp;lt;error_code&amp;gt;).&lt;BR /&gt;Or: PSMRD001E User was disconnected from remote machine. Reason: [Error connecting to remote computer:] (Code &amp;lt;error_code&amp;gt;).&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;The secondary accompanied code is a Mircosoft error that indicates the reason for the occurrence. This Microsoft article explains the various types of error codes and the reason for the issue:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/archive/technet-wiki/37870.remote-desktop-client-troubleshooting-disconnect-codes-and-reasons" target="_blank"&gt;Remote Desktop Client Troubleshooting: Disconnect Codes and Reasons&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;*These errors can also be found within the PSM Trace logs / debug logs.&lt;/EM&gt;
&lt;H3&gt;Issue&lt;/H3&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;When attempting to make a PSM-RDP connection, the user will encounter one of the following errors:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;PSMRD001E User was disconnected from remote machine. Reason: [An internal error has occurred.] (Code: &amp;lt;error_code&amp;gt;).&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;Or:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;PSMRD001E User was disconnected from remote machine. Reason: [Error connecting to remote computer:] (Code &amp;lt;error_code&amp;gt;).&lt;/P&gt;
&lt;H3&gt;Environment&lt;/H3&gt;
PAS&lt;BR /&gt;PSM

&lt;H3&gt;Cause&lt;/H3&gt;
&lt;P class="MsoNormal"&gt;The internal error code is a Microsoft error code, it is not originated from the PSM or from the Idira side.&lt;/P&gt;
&lt;H3&gt;Resolution&lt;/H3&gt;
&lt;P class="MsoNormal"&gt;Below is a Microsoft article that explains the various types of error codes:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/archive/technet-wiki/37870.remote-desktop-client-troubleshooting-disconnect-codes-and-reasons" target="_blank"&gt;Remote Desktop Client Troubleshooting: Disconnect Codes and Reasons&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For example, code 3335 means:&lt;BR /&gt;As a security precaution, the user account has been locked because there were too many logon attempts or password change attempts. Wait a while before trying again or contact your system administrator or technical support.&lt;BR /&gt;&lt;BR /&gt;Code 3847 means:&lt;BR /&gt;This user account's password has expired. The password must change in order to logon. Please update the password or contact your system administrator or technical support.&lt;BR /&gt;&lt;BR /&gt;Please&amp;nbsp;follow the error codes and Microsoft's recommendation.&lt;BR /&gt;It is also suggested to make sure the connection is working manually, and that the target accepts the connection from the PSM while using the same credentials from the account.&lt;/P&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
&lt;DIV&gt;In the table below, we'll explore the most common occurrences of these Microsoft errors:&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;TABLE border="1"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH colspan="1" rowspan="1" style="text-align: center;"&gt;
&lt;DIV style="text-align: left;"&gt;&amp;nbsp;ErrorCode:&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;/TH&gt;&lt;TH colspan="1" rowspan="1"&gt;&amp;nbsp;Cause:&amp;nbsp; &amp;nbsp;&lt;/TH&gt;&lt;TH colspan="1" rowspan="1"&gt;Resolution:&amp;nbsp;&amp;nbsp;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;516&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;A standard RDP error. PSM failed to connect to target with code 516.&amp;nbsp;&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;DIV&gt;&lt;BR /&gt;On the PVWA account page, inspect the account in question, verify the address for the target. If this is a new account, good chance the target address is incorrectly entered here.&lt;BR /&gt;&lt;BR /&gt;Also, verify you can reach the target from the PSM. Do this by logging into the PSM as an administrator:&lt;/DIV&gt;
&lt;UL&gt;&lt;LI&gt;Run mstsc.exe&lt;/LI&gt;&lt;LI&gt;Enter the target address exactly as it is seen in the PVWA account details.&lt;/LI&gt;&lt;/UL&gt;
&lt;DIV&gt;
&lt;DIV&gt;If you can't reach the target with the above test, the problem will almost certainly be with the target Server itself. Review Microsoft's definition of error code 516 for potential causes with the target server.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;3335&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;The account you are connecting to is locked out.&lt;BR /&gt;SSL_ERR_ACCOUNT_LOCKED_OUT&amp;nbsp;&lt;BR /&gt;3335 (0xD07)&amp;nbsp;&lt;BR /&gt;The account is locked out.&amp;nbsp;&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;unlock the target account before initiating a PSM connection.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;2056&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;PSMConnect user lacks permissions on needed Microsoft Licensing keys in the PSM server's registry.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;DIV&gt;Grant the PSMConnect user Full Access to the following keys in PSM server's registry, typically server reboot is not necessary but may be needed if behavior is still the same:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;UL&gt;&lt;LI&gt;HKLM\SOFTWARE\Wow6432Node\Microsoft\MSLicensing&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;HKLM\SOFTWARE\Wow6432Node\Microsoft\MSLicensing\Store&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;4359&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;It is likely that there is a restriction to what remote machines this domain account can log into.&lt;BR /&gt;This can be set in one of two ways via the account's properties in Active Directory:&lt;BR /&gt;1. Attribute Editor tab &amp;gt; userWorkstations&lt;BR /&gt;2. Account tab &amp;gt; "Log On To..."&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;These values only accept the NetBIOS or DNS name of the remote computers.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;&lt;BR /&gt;You need to ensure that both the remote machine you want to log into with the domain account AS WELL AS the PSM server are specified in this attribute.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;263&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;RDP connections are not configured with SSL.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;In the System Configuration page, in the Web Access section, click Options, then select Connection Components; the connection component parameters that define target addresses are displayed in the properties list.&amp;nbsp;&lt;BR /&gt;Expand the PSM-RDP connection component, and then expand the Target Settings.&amp;nbsp;&lt;BR /&gt;Right-click Client Specific, then in the pop-up menu select Add Parameter; a new parameter is added to the list of client specific parameters.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In the parameter properties, specify the following:&amp;nbsp;&lt;BR /&gt;Name – The name of the client specific parameter. Specify AuthenticationLevel.&amp;nbsp;&lt;BR /&gt;Value – The authentication level that will be used for this connection. Specify any of the following values:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Value Description&amp;nbsp;&lt;BR /&gt;0 The PSM server is not required to authenticate the target machine before connecting to it.&amp;nbsp;&lt;BR /&gt;1 The PSM server will authenticate the target machine before connecting to it.&amp;nbsp;&lt;BR /&gt;2 The PSM server will authenticate the target machine before connecting to it. If the authentication fails, the user will be able to cancel the connection or to initiate a connection without authentication.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Set AuthenticationLevel = 2&lt;BR /&gt;&lt;BR /&gt;This will allow the RDP session to connect after getting the certificate error.&amp;nbsp;&lt;BR /&gt;Click Apply to apply the new Connection Component configurations&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;4871&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;A Group policy that is enabled on the target server is causing this problem.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;Under GPO &amp;gt; Local policies &amp;gt; User Rights Assignment &amp;gt;Deny access to this computer from the network&amp;nbsp;&lt;BR /&gt;This policy has been enabled. Check that the account used to connect to the target is not part of the groups configured.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;4&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;PSM and target server do not support the same cipher suites.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;Compare the list of enabled TLS cipher suites on both PSM and target server using either&amp;nbsp;&lt;BR /&gt;1) IISCrypto&amp;nbsp;&lt;BR /&gt;or&amp;nbsp;&lt;BR /&gt;2) PowerShell command&amp;nbsp;get-tlsciphersuite (only supported by Windows 2016 or above)&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy000009MBbkIAG__eid=ka3Vy000009MBbk&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003L4wm.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97203iA6DB0DC90DF73EC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy000009MBbkIAG__eid=ka3Vy000009MBbk&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003L4wm.png" alt="ka3Vy000009MBbkIAG__eid=ka3Vy000009MBbk&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000003L4wm.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Make sure the same set of ciphers are enabled on both PSM and target server. Extra ciphers can be enabled by using&lt;BR /&gt;&lt;BR /&gt;1) IISCrypto&amp;nbsp;&lt;BR /&gt;or&lt;BR /&gt;2) PowerShell command&amp;nbsp;Enable-TlsCipherSuite (only supported by Windows 2016 or above).&lt;BR /&gt;For example&lt;BR /&gt;Enable-TlsCipherSuite -Name "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;3847&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;This user account's password has expired. The password must change in order to logon. Please update the password.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;&lt;U&gt;SYMPTOM:&lt;/U&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;When attempting to make a PSM-RDP connection, the user will encounter one of the following errors:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;PSMRD001E User was disconnected from remote machine. Reason: [An internal error has occurred.] (Code: &amp;lt;error_code&amp;gt;).&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;Or:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;PSMRD001E User was disconnected from remote machine. Reason: [Error connecting to remote computer:] (Code &amp;lt;error_code&amp;gt;).&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;U&gt;&lt;B&gt;PROBLEM:&lt;/B&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;The internal error code is a Microsoft error code, it is not originated by the PSM or from Idira side.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;&lt;U&gt;SOLUTION:&lt;/U&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;There is a Microsoft article here:&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;https://social.technet.microsoft.com/wiki/contents/articles/37870.rds-remote-desktop-client-disconnect-codes-and-reasons.aspx&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;This explain on the various types of error codes.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;For example code 3335 means:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;As a security precaution, the user account has been locked because there were too many logon attempts or password change attempts. Wait a while before trying again, or contact your system administrator or technical support.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;Follow the error codes and the Microsoft recommendation.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;It is also suggested to make sure the connection is working manually and the target accept the connection form the PSM while using the same credentials from the Account.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2026 19:55:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/psmrd001e-user-was-disconnected-from-remote-machine-reason/ta-p/1428993</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2026-11-05T19:55:00Z</dc:date>
    </item>
  </channel>
</rss>

