Hi Team,
I am Facing an issue while checking the RDP(Remote Desktop) connectivity with credentials.I have used the below script for making a rdp check connectivity.
Script : cmdkey /generic:"server01" /user:"test" /pass:"PW"
mstsc /v:server01 /f
But it is throwing an error like RDP cannot process the request with saved credentials and please do enter again.
Is there any other way to check the RDP connectivity with saved credentials using powershell?
Is this a PowerCLI/PowerShell question?
What error do you get?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
It is Powercli.
Error : The server's authentication policy doesnot allow connection requests using saved credentials . Please enter new crdentials.
I'm not sure where PowerCLI comes into play.
You are using a DOS command (cmdkey) to store credentials, and the mstsc command tells you it doesn't accept stored credentials.
Not sure what you expect here?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hi @LucD
I am using this process to know whether RDP connection is working with authentication using powercli.
If this is not the correct process that i am doing. Could you please suggest me any other way to achieve this.
Thanks in advance.
The fact that RDP does not accept stored credentials, is due to a setting that the AD administrator selected.
If you want to avoid that fact, you will have to talk to your AD admin.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference