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.
You can prevent virtual machine users in the guest operating system, and processes running in the guest operating system, from making any changes to the devices by changing the virtual machine advanced settings.
Prerequisites
Turn off the virtual machine.