VMware does not recommend this manipulation to avoid and limit Exposure of Sensitive Data Copied to the Clipboard section.
Using the GUI this procedure requires the VM(s) to be powered off. Who wants to do that? Not me...
Check the second part of this procedure using PowerCli, this can be applied without powering off the VM. However you'll need to do a stun/unstun operation (i.e. power on/off, suspend/resume, create/delete snapshot/storage VMotion) to achieve the same thing.
Using the Graphical User Interface (GUI)
Applying advanced settings to a VM can be a daunting task.
Doing this manipulation via the GUI is pretty heavy. When dealing with even a few VMs, this can be a very time consuming task time consuming...
The "Configuration Parameters" button is not available while the VM is Powered On.
1 - Power down your VM(s)
2 - Go into Edit Setting, under the Option tab, and select General under Advanced.
You'll see the Configuration Parameters button...
3 - Click on Add Row and enter the Name and Value for each of the following items:
- isolation.tool.copy.disable = FALSE
- isolation.tool.paste.disable = FALSE
4 - Power On your VM.
and you are done! :-)
Now how to do this with PowerShell ? ...
Using the PowerCli 5.1 (PowerShell with VMware Core PSSnapin)
Now that's the fun part!! I created two functions to ease the work against multiple VMs.
Same thing here, we will edit the two following Advance settings
- isolation.tool.copy.disable
- isolation.tool.paste.disable
Enable-VMCopyPaste
Download on Technet Repository
Disable-VMCopyPaste
Download on Technet Repository
Running Disable-VMCopyPaste against two VMs with the Verbose parameter |
Resources
You might want to check the following links
- Enabling Change Block Tracking (CBT) on a Virtual Machine (VMware vSphere 5.1)
- Clipboard Copy and Paste does not work in vSphere Client 4.1 and later (1026437)
- Enable Copy and Paste Operations Between the Guest Operating System and Remote Console
No comments:
Post a Comment