- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
09-24-2025 04:44 AM
Hello, we are encountering the error shown in the screenshot when trying to connect to a Windows Server. There are no issues when connecting through PVWA or directly via the PSM server using RDP. However, the problem occurs when we try to connect directly with the RDP connection string shown below. This issue only happens on a very small number of servers. Could you please advise what might be causing this?
09-24-2025 06:41 AM
hey @Rashid Afandiyev
Give this article a view:
https://community.cyberark.com/s/article/PSMRD001E-User-was-disconnected-from-remote-machine-Reason-reason-Code-error-code
It has the following suggestions for code: 516:
516: A standard RDP error. PSM failed to connect to target with code 516.
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.
Also, verify you can reach the target from the PSM. Do this by logging into the PSM as an administrator:
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.
hope it helps!
-Matt
09-24-2025 06:41 AM
hey @Rashid Afandiyev
Give this article a view:
https://community.cyberark.com/s/article/PSMRD001E-User-was-disconnected-from-remote-machine-Reason-reason-Code-error-code
It has the following suggestions for code: 516:
516: A standard RDP error. PSM failed to connect to target with code 516.
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.
Also, verify you can reach the target from the PSM. Do this by logging into the PSM as an administrator:
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.
hope it helps!
-Matt
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!

