Users and processes without root or Administrator privileges within virtual machines can connect or disconnect devices, such as network adapters and CD-ROM drives, and can modify device settings. To increase virtual machine security, remove these devices. If you do not want to remove a device, you can change guest operating system settings to prevent virtual machine users or processes from changing the device status.
Prerequisites
Turn off the virtual machine.
Procedure
- Log in to a vCenter Server system using the vSphere Web Client and find the virtual machine.
- In the Navigator, select VMs and Templates.
- Find the virtual machine in the hierarchy.
- Right-click the virtual machine and click Edit Settings.
- Select VM Options.
- Click Advanced and click Edit Configuration.
- Verify that the following values are in the Name and Value columns, or click Add Row to add them.
Name |
Value |
isolation.device.connectable.disable |
true |
isolation.device.edit.disable |
true |
These options override any settings made in the guest operating system's VMware Tools control panel.
- Click OK to close the Configuration Parameters dialog box, and click OK again.