Is there anyway we can copy and paste inside RDP connection?
The problem i am automating is that I have to login to RDP then goto shared location check the file if it exists then move that file to some folder in C drive. I have to do all this in RDP.
RemoteException wrapping System.Management.Automation.CommandNotFoundException: The module 'Copy-Item -Path â could not be loaded. For more information, run 'Import-Module Copy-Item -Path '.
at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Sometimes when I try to copy a file from my local computer to a Remote Desktop session, the option to paste doesnât work. Here are some things that can work:
We can so changes from the Client Side:
Right-click on the RDP icon that you use to connect, then select âEditâ.
Select the âLocal Resourcesâ tab.
Check the âClipboardâ option. To allow file copying and pasting, select âMoreâŚâ and proceed to step 4. If you just need the ability to copy and paste text and not files, stop here and click âOKâ.
Select the âDrivesâ option. Click âOKâ, then âOKâ again.
Ensure âDo not allow Clipboard redirectionâ is set to âNot Configuredâ or âDisabledâ.
Above steps are for Windows 2016 which I have on my system. This should be all you need to enable copying and pasting of files between your computer and a Remote Desktop.