Answer the question
In order to leave comments, you need to log in
How to auto-connect via rdp to a 2012r2 server with one caveat?
The mstsc parameters do not transfer the login and password through the console. The Powershell cmdkey is not suitable due to the fact that the server has a policy that prohibits connection with saved passwords. I myself am the administrator of this server, and since the entire screw is encrypted with true crypt, I decided to save myself from unnecessary gestures, but have not yet found a solution to the issue. Cancel the policy is not an option =)
Only wild crutches in the form of autoit come to mind, but I hope that the experts will nevertheless suggest a simpler solution.
Answer the question
In order to leave comments, you need to log in
if ($user->save()) {
echo 'good';
}else{
var_dump($user->getFirstErrors();
die;
}
Validation fails in User. Read the documentation for the framework.
Most likely password is at least 6 characters.
Start using Remote Desktop Connection Manager 2.7 already
Try wFreeRDP. There you can set a password on the command line. Perhaps it will roll.
due to the fact that the server has a policy that prohibits connection with saved passwords.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question