vastta.blogg.se

Set up via ssh chrome remote desktop
Set up via ssh chrome remote desktop












set up via ssh chrome remote desktop
  1. Set up via ssh chrome remote desktop how to#
  2. Set up via ssh chrome remote desktop windows#

Lastly, drop a shortcut of the application which you want to run when the RDP session connects in the C:\Users\User1\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup folder. When you check Remember Me using the GUI, the next time you go to connect to the same machine via RDP using mstsc, you can press connect and it'll use the saved credential to login.

Set up via ssh chrome remote desktop windows#

The method above is really just the PowerShell equivalent to saving an RDP credential for usage with mstsc per the GUI option from the Windows Security credential pop-up of checking " Remember Me".

Set up via ssh chrome remote desktop how to#

# How to delete saved credential from command $MachineName = Read-Host "Enter machine name (or IP address)" Ĭmdkey /add:$MachineName /user:$User /pass:$Password $Password = ::new("",$psw.password).Password

set up via ssh chrome remote desktop

$psw = New-Object -ArgumentList $User,$P $P = Read-Host "Enter password" -AsSecureString This just means, run the part 1 once with human interaction, then setup automation to run part 2 specifying the machine to connect via RDP so it'll connection automatically.

set up via ssh chrome remote desktop

You'll need to execute this as the same user account/security context and from the same machine which you ran part 1 to embed the credential for subsequent RDP connection automation. The # Part 2 logic is the only part really used to automate the launching of the RDP session where human interaction is not needed if the machine name connecting to is the same as the one you specified when you part 2 was run. You will type in the username, password, and machine name on prompt. This solution uses # Part 1 logic which is run once from a session where you will be launching the RDP from to automate the connection part where no human interaction is needed to launch and sign onto the RDP session after this is saved. Hope that clarifies what I mean by opening a GUI app remotely, and no human intervention.Ĭheck the final reply to the accepted answer for my final solution. Though I am looking at running this script from a Linux machine. But other methods of remote authentication and sending commands are welcome. The solution doesn’t need to be ssh, I just assumed an authenticated ssh session would have been part of a solution. I.e after the script has run and a user sits down physically at the target windows machine, the calculator app is open on their desktop. The script itself does not need to interact with that calculator app, but just needs it to be opened for the desktop session of the target windows machine. I want a script I want run from a remote machine, which will turn on the computer (WoL current solution), then open a desktop application like the calculator app. using Windows Remote Desktop and having to log in that way. I also do not want to use something that requires human intervention, I.e.I will eventually want to start a gui application in that desktop, so running a process in the ssh session is not what I’m after.I don’t want to remove that login screen from boot up, because most of the time I still want the security of having a login process.Im specifically talking about logging in the machine from that session from the perspective of if someone was physically looking at the monitor output. The SSH session I have is authenticated and “logged in” with my user.I’d like to be able to next log in a desktop session on that machine (as it will be on the login screen on boot up). I have WoL (Wake on LAN), and a SSH Server configured so I’m able to remotely turn on the machine and remotely access it. I’m looking to be able to remotely power on my Windows machine and start a program.














Set up via ssh chrome remote desktop