In this blog post, I will show you how to disable copy paste in Microsoft Virtual Desktop.
By default, users can copy-paste inside and outside the MVD environment.
In some cases, companies don’t like this to happen, and this post will show you how to disable it.
Microsoft Virtual Desktop is a hosted desktop as a service solution from Azure.
Install MVD PowerShell module
To install the MVD PowerShell module on a Windows 10 or Windows Server machine, open the PowerShell console and run the following cmdlet.
Install-Module -Name Microsoft.RDInfra.RDPowerShell
Connect to MVD using PowerShell
The following cmdlet will connect you toAzure MVD and ask you to authenticate.
Add-RdsAccount -DeploymentUrl "https://rdbroker.wvd.microsoft.com"
The command below will disable copy paste.
Note: Change TENANTNAME and Pool name with your details.
Set-RdsHostPool -TenantName TENANTNAME -HostPoolName POOL_NAME -CustomRdpProperty redirectclipboard:i:0