Windows guest operating systems poll CD devices frequently. When multiple virtual machines try to access a single physical CD drive, it impacts the performance.
To improve the performance, you can disconnect the CD devices in virtual machines when they are not required.
To disconnect the CD-ROM drives using GUI:
- Right-click the virtual machine and click Edit settings.
- Click CD/DVD Drive.
- Deselect Connected and Connect at power on under Device Status on the right side.
- Click OK.
To disconnect the CD-ROM drives using CLI:
- Log in to your ESX host as root either by using an SSH session or directly from the server console
- Navigate to the /vmfs/volumes/Datastore_Name/VM_Name folder of the virtual machine
- Open the virtual machine configuration file using a text editor and search for the entry:
ideN:N.startConnected = "TRUE"
- Change the entry to:
ideN:N.startConnected = "FALSE"
- Save the changes.
Note: