VMware Aria Automation Tools

 View Only

 Is it possible to copy/paste text from laptop to a Windows VM while using "Connect to Remote Console" ?

Jump to  Best Answer
antonioaraujo's profile image
antonioaraujo posted Jun 03, 2024 08:32 AM

Dear all,

I hope you are fine.

A Windows VM was deployed from a Service Broker catalog item. A user access the VM through "Connect to Remote Console" Day 2 action successfully and he wants to copy text from his laptop to the VM.

Is it possible to copy/paste text from laptop to a Windows VM while using "Connect to Remote Console" ?

Do we have to enable any specific option/configuration to support that?

Best regards

Antonio

tarek_nader's profile image
tarek_nader  Best Answer

No, you can't copy/paste while using 'Remote Console'; it's the same behavior if you are using vSphere remote console

Either use 'SSH' conenction if you're connecting to linux or use Windows RDP connection to be able to use copy/paste

paulc1's profile image
paulc1

https://knowledge.broadcom.com/external/article?legacyId=57122

It is possible with VMware Remote Console, I don't think it's possible with the basic webconsole.

This opens some security risk to your environment as well so you would want to revert as soon as the end user is finished.

There is a tool called ClickPaste available on GitHub that will paste as keystrokes. I have not used it so can't speak to it's effectiveness. And it requires Windows.

https://github.com/Collective-Software/ClickPaste

What I do for running scripts post deploy is setup a read only network share on some server for one folder with a local user that has no other permissions, it can't even login to Windows, so I can just map it through the customization run once and I don't care if the password is in plain text.

Good luck.

tarek_nader's profile image
tarek_nader

@paulc1
https://knowledge.broadcom.com/external/article?legacyId=57122 >> Is only for  vSphere HTML5 ; also it has no value; as you have to do advanced configuration for each VM

For vRA 8.x VMs, can't use VM console & apply this KB, it's not applicable & not deployable 

paulc1's profile image
paulc1

https://knowledge.broadcom.com/external/article?legacyId=57122 >> Is only for  vSphere HTML5 ; also it has no value; as you have to do advanced configuration for each VM

For vRA 8.x VMs, can't use VM console & apply this KB, it's not applicable & not deployable 

You can start VMRC with powershell and turn it into a new Day 2 action, and you can automate the VM custom properties, both adding and removing.

That's kinda the whole point of Aria Automation isn't it? Customize it for whatever your needs are? Maybe I'm wrong though, I'm still fairly new to Aria so lots to learn.