How to fix this error : PSMRD001E User was disconnected from remote machine. Reason: [Error connecting to remote computer :]( code: 3)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to fix this error : PSMRD001E User was disconnected from remote machine. Reason: [Error connecting to remote computer :]( code: 3)

L0 Member

There is no detailed log for this error in PSM log

1 accepted solution

Accepted Solutions

L4 Transporter

CyberArk PSM RDP code 3 could happen when

  • target user has NOT been added in Local Policies > User Rights Assignment > "Allow log on through Remote Desktop Services" GPO or
  • target user is NOT in Remote Desktop Users Group.

 

Error message "Remote Desktop Connection: The connection was denied because the user account is not authorized for remote login" showed when connect to target device on PSM directly.

View solution in original post

14 REPLIES 14

L6 Presenter

Which means, the ID through which you are trying to connect, does not have permission to logon to target machine or ID is suspended or disabled.

L4 Transporter

Which means, the ID through which you are trying to connect, does not have permission to logon to target machine or ID is suspended or disabled.

Many Thanks

L4 Transporter

L6 Presenter

This error could be due to various reasons like account locked etc, try direct rdp and see it works if no then find out the reason

L4 Transporter

This error could be due to various reasons like account locked etc, try direct rdp and see it works if no then find out the reason

L4 Transporter

CyberArk PSM RDP code 3 could happen when

  • target user has NOT been added in Local Policies > User Rights Assignment > "Allow log on through Remote Desktop Services" GPO or
  • target user is NOT in Remote Desktop Users Group.

 

Error message "Remote Desktop Connection: The connection was denied because the user account is not authorized for remote login" showed when connect to target device on PSM directly.

Hello Ivan, the user has the rights for RDP and can RDP directly to the target server through the PSM server. I tried connecting via PVWA to the target server using a domain admin account, and it worked, but when I try using this user who is a local user on the target server, it keeps throwing the same error.

You may need to check the Event Viewer, then search for that target device username, and see if any hints

Thank You for the response.

L5 Sessionator

I would always check the following from PSM:

1) tnc -computername xxx.xxx.xxx.xx -p 139

2) tnc -computername xxx.xxx.xxx.xx -p 135

3) tnc -computername xx.xxx.xxx.xxx -p 445

4) tnc -computername xxx.xxx.xxx.xxx -p 3389

 

Also, I would verify the following:

5) If user account has been added to the proper access group

6) If user account has proper permission to access the particular machines.

 

 

Do you see this documented clearly by CyberArk anywhere you can link me? I'm trying to troubleshoot connectivity with a different domain and 139 is "filtered" to the other domain where PSM is not working. I'm wondering if this is the issue.

This is the network thing. They would not mention anywhere. For port 139 which is an netbios port. It can be applicable in your case or not either way. If its not applicable then there should be some security groups/firewall thing in your networking

L1 Bithead

If you are using a local account , check whether the account is added in RDP or Administrator group of that server.

If you are using a domain account to connect , check the Server has been added to the same AD groups as the domain account.

  • 1 accepted solution
  • 61724 Views
  • 14 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!