Note that there are some explanatory texts on larger screens.

plurals
  1. POAutomating remote desktop connection
    text
    copied!<p>We use many remote desktops in our development environment and there are many servers deployed in multiple environments. It is tedious to remember their IPs, usernames and passwords. I want to write a small utility with buttons on it. When clicked, I want to start those remote desktops, automatically fetching usernames and passwords from some list.</p> <p>I know there is a command line equivalent for MS Remote Desktop: <code>mstsc</code>. <a href="https://stackoverflow.com/questions/11296819/run-mstsc-exe-with-specified-username-and-password">This</a> thread suggests to do this as follows:</p> <pre><code>cmdkey /generic:TERMSRV/"computername or IP" /user:"username" /pass:"password" mstsc /v:"computer name or IP" </code></pre> <p>I run first line and it says credential successfully added. Then when I run second line it simply runs Remote Desktop Connection for the specified IP and asks for username and password. I would like it to simply open the remotely connected desktop at specified IP by automatically applying the credential specified in <code>cmdkey</code>. </p> <ul> <li>What's wrong here? Is it possible using such Powershell script? </li> <li>Can I invoke this script through HTML page (since there are many other resources that I will be laying onto the webpage which will serve as a one spot links for we developers, so that we will not be wasting time and effort finding them each time we want them. Is it possible by <a href="http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx" rel="nofollow noreferrer">registering application to URI scheme</a> ?)</li> <li>Is there any other (standard) way?</li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload