- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-14-2020 11:33 PM
02-19-2023 07:20 PM
CyberArk PSM RDP code 3 could happen when
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.
04-15-2020 12:05 AM
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.
04-15-2020 12:05 AM
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.
04-15-2020 01:06 AM
Hi, This article could be helpful. Have a look.
04-15-2020 08:34 AM
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
04-15-2020 08:34 AM
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
02-19-2023 07:20 PM
CyberArk PSM RDP code 3 could happen when
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.
07-21-2023 01:19 AM
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.
07-21-2023 01:51 AM
You may need to check the Event Viewer, then search for that target device username, and see if any hints
07-21-2023 02:11 AM
Thank You for the response.
10-19-2023 09:51 AM
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.
02-09-2024 02:26 PM
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.
06-11-2024 08:26 AM
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
11-14-2024 01:43 AM
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.
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!

